ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 26 Dec 2020 13:05:00 +0100Sagemath 9.1 tutorial doesn't work interactivelyhttps://ask.sagemath.org/question/54922/sagemath-91-tutorial-doesnt-work-interactively/I run the tutorial from the notebook on Firefox. I see the activate button on the page.
When I click it some changes occur on the page but I cannot run the examples interactively.NurhanSat, 26 Dec 2020 13:05:00 +0100https://ask.sagemath.org/question/54922/Sagemath 9.1 Forhttps://ask.sagemath.org/question/53520/sagemath-91-for/How do I get started? I am stuck at the 3 cmd windows. Where do I go from here? Is there a tutorial for absolute beginners? How do I get to GUI interfaces?old_math_guySun, 20 Sep 2020 22:24:21 +0200https://ask.sagemath.org/question/53520/Problem on advanced plottinghttps://ask.sagemath.org/question/52380/problem-on-advanced-plotting/How can I resolvve this:
> Create a plot for the following problem. Find the area that is inside the circle r=2, but outside the cardioid 2+2cos(θ).
My code:
`var('a')`
`polar_plot([2,2+2*cos(a)],(a,0,2*pi))`
When I add the parameter fill=RealNumber, the area is filled, but I can't control what the area; what means this parameter?gabrielromao5Wed, 08 Jul 2020 21:16:04 +0200https://ask.sagemath.org/question/52380/Win 10 install issueshttps://ask.sagemath.org/question/47369/win-10-install-issues/ Followed installation instructions and came up with three icons on desktop. One labeled SageMath8.8, 2nd labeled SageMath8.8 Shell, and 3rd labeled SageMath8.8 Notebook. Actually there is a 4th that just links to these three. Each of the three icons links to a site that looks like a big blank blackboard. One has some text with about exiting. What is the difference?
How do I use them to use the **TUTORIAL**? The tutorial says to click **help**, but none of them have a help button.
I think you need better introductory material for the newby trying to get into Sage without a guide. You have a lot of stuff but it is all over the place and very confusing. I've been working on this for about three hours a day for almost a week and I haven't gotten very far.Stephen MeskinSun, 04 Aug 2019 07:03:48 +0200https://ask.sagemath.org/question/47369/interactive tutorial?https://ask.sagemath.org/question/45858/interactive-tutorial/Hi,
I've just installed SageMath 8.6 on my Debian pc with the apt-get command.
Everything has run smoothly so far.
I just can't find the promised interactive tutorial from the Help menu in the Jupyter notebook.
If I click on Help > Sage Tutorial it opens a new window with a non-interactive tutorial...
Maybe I'm missing somethingalex77Thu, 21 Mar 2019 16:36:36 +0100https://ask.sagemath.org/question/45858/jupyter tutorialhttps://ask.sagemath.org/question/45346/jupyter-tutorial/ My university department is updating the instance of sagemath that we use to 8.6. This will use the new Jupyter interface. I have two questions about the upgrade:
1) The old instance of sage we are running has many users each with their own notebooks. How do we migrate the multi-user environment to sagemath with Jupyter?
2) All of our sagemath users will need to migrate to using Jupyter. Is there a good tutorial for using sagemath in Jupyter? The [http://www.sagemath.org/help.html](http://www.sagemath.org/help.html) documentation and tutorials in sagemath's website still are referencing the old notebooks.
thanks
brettbrettpimWed, 06 Feb 2019 22:39:13 +0100https://ask.sagemath.org/question/45346/Good(new 2017+) Book/Tutorialhttps://ask.sagemath.org/question/40502/goodnew-2017-booktutorial/Is there a good and new Book or Tutorial for Sagemath? thethaSat, 06 Jan 2018 16:49:56 +0100https://ask.sagemath.org/question/40502/Is there an easy video tutorial (or textual) to easily learn using Sage LaTex in order to write a mathematical text?https://ask.sagemath.org/question/39889/is-there-an-easy-video-tutorial-or-textual-to-easily-learn-using-sage-latex-in-order-to-write-a-mathematical-text/ I have found a vriten tutorial here http://doc.sagemath.org/html/en/tutorial/latex.html but I don't understand a lot of it. I would need some basic course. Thank you for helplogomathFri, 01 Dec 2017 14:59:30 +0100https://ask.sagemath.org/question/39889/Can't escape tutorialhttps://ask.sagemath.org/question/37469/cant-escape-tutorial/Supposedly, I can click in Help > Tutorial in Sage to get an Interactive tutorial. Instead I get a web page I can't exit from without shutting down Sage, and it's not interactive anyway. I'm using Sage in Virtualbox on Windows. Is that the problem?cybervigilanteSun, 30 Apr 2017 06:50:41 +0200https://ask.sagemath.org/question/37469/A proper combinatorics tutorial?https://ask.sagemath.org/question/8629/a-proper-combinatorics-tutorial/I've been looking around to see if there are any good combinatorics tutorials done up as sage worksheets.
I see a couple of things, for example: [http://sagenb.org/home/pub/3115/](http://sagenb.org/home/pub/3115/) and [http://userpages.umbc.edu/~rcampbel/Computers/SAGE/combin.html](http://userpages.umbc.edu/~rcampbel/Computers/SAGE/combin.html)
But something more comprehensive would be nice. If you know of one that exists, or if you have suggestions on style, so I can start building one myself, I'd appreciate it. Is there a good one for another area of mathematics?alejandroericksonSat, 14 Jan 2012 17:10:56 +0100https://ask.sagemath.org/question/8629/Live tutorial - either local copy or SageMathCloudhttps://ask.sagemath.org/question/23812/live-tutorial-either-local-copy-or-sagemathcloud/ I'd really love to go through the **live tutorial**, but I am not able.
Using **SageMathCloud** I do not find an option/link to go through the live tutorial. What am I missing?
Using a **local installation**, everything else seems to work fine (Sage 6.3, virtualbox on Windows), e.g., clicking help brings up the help screen with link to live tutorial. But when I click this link (actually any link involving a live version), I just get an empty browser screen (show source also just gives an empty "file").
Any help would be highly appreciated. I was so much looking forward going through a live tutorial.
Thanks!uni quelySun, 17 Aug 2014 22:18:20 +0200https://ask.sagemath.org/question/23812/how to contribute tutorial/notebook guide?https://ask.sagemath.org/question/23225/how-to-contribute-tutorialnotebook-guide/ I'm nearly done writing a notebook that gives an overview of the Sage polytope commands for people who want to compute a la Gr\"unbuam / Brondsted.
Is there a standard way to make this available to the community? Of course I can just post it on my webpage, but people are less likely to find it there than if it's somehow in some repository somewhere. (True?)smbelcasSat, 05 Jul 2014 15:57:29 +0200https://ask.sagemath.org/question/23225/Using live tutorial from local copy of Sagehttps://ask.sagemath.org/question/11066/using-live-tutorial-from-local-copy-of-sage/I'm trying to view the live (interactive) tutorial from my downloaded copy of Sage, but when I go to the help section and view the tutorial, the website isn't found. The address for this site is `http://localhost:8000/doc/live/tutorial/index.html`. When I replace `live` with `static`, however, I can view the non-interactive tutorial. Any ideas on how to view the interactive tutorial on a local copy of Sage? Thanks.bittenfigThu, 20 Feb 2014 22:30:27 +0100https://ask.sagemath.org/question/11066/Sage for physicistshttps://ask.sagemath.org/question/10093/sage-for-physicists/I am a physics undergrad and thinking of learning a CAS. Though, mathematica is a standard choice, I would prefer a free open source software, because of a fetish, and the fact that I can't use mathematica outside my university. Is Python Sage used by physicists? Does it have the same functionality as mathematica.
Could you recommend me an online guide/manual or a book which teaches Sage with an emphasis for physics applications i.e. an equvalent to the [A Physicist's guide to Mathematica](http://www.amazon.com/dp/0126831920/?tag=stackoverfl08-20) book?dickfeynmanMon, 06 May 2013 19:10:40 +0200https://ask.sagemath.org/question/10093/What are the different real numbers in Sage ?https://ask.sagemath.org/question/9950/what-are-the-different-real-numbers-in-sage/No computer can grasp the genuine real numbers, so I am trying to understand
how sage handles them (and going to write a small tutorial about this).
Here is a list of approaching objects i found:
#### Exact subfields of the reals: ####
- QQ = RationalField() The genuine
[rationals](http://www.sagemath.org/doc/reference/rings_standard/sage/rings/rational_field.html).
Denominators can be arbitrary big, the computations are exact, so the rounding
error is only made when approaching a real by a rational, not during furher computations. Notice that the size of the denominators may grow along the computations, which can therefore become very slow.
- NumberField? [number fields](http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/number_field.html) described by an irreducible polynomial.
- AA = AlgebraicField() The genuine [algebraic numbers](http://www.sagemath.org/doc/reference/number_fields/sage/rings/qqbar.html). Computations are exact.
- SR = sage.symbolic.ring.SymbolicRing() This is the field made of expressions
like sqrt(2+pi). It handles a lot of real numbers but seems very slow.
Computations are not necessarily exact, since this field contains floating points
real numbers. Is there a way to express any algebraic number in SR ?
- CFF = ContinuedFractionField() reals are represented as a finite list of convergents. Claims it is exact but it actually approaches real numbers by rationals since the list of convergents are finite. However, we could imagine a future version using iterators instead of lists.
> sage: CFF(sqrt(2))^2
> [1, 1, 1491038293021224]
#### Floating point numbers: ####
- RDF = RealDoubleField() Those are the of [double precision floating numbers](http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_double.html) the processor. Definitely the fastest, but a rounding is done at each computation.
- RR = RealField() Floating number with arbitrary (still fixed) many bits of
precision. [http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_mpfr.html](http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_mpfr.html)
Slower than RDF (in particular, atlas won't be used with them). Notice that
changing precision back and forth is a bad idea. Notice that NaN and Infinity belong to RDF and RR.
- RLF = RealLazyField() like RealField() but can wait that the user fixes the precision to get one. [http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_lazy.html](http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_lazy.html)
> sage: a = RLF(pi)
> sage: RealField(100)(a+2)
> 5.1415926535897932384626433833
- RIF = RealIntervalField() A real number is represented as an interval
containing it, and whose extremities are RealFields elements [http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_mpfi.html](http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_mpfi.html)
- RLF.interval_field() mixture of the two previous ones.
- sage.rings.real_lazy.LazyAlgebraic
#### Relations between those fields ####
- Two fields approaching the real numbers K and L can be compared using the
function composite_field(K,L), that finds the "best" field containing both K
and L.
> sage: composite_field(RDF,QQbar)
> Complex Double Field
- [Some](http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/number_field_morphisms.html)
[maps](http://www.sagemath.org/doc/reference/number_fields/sage/rings/number_field/maps.html)
are also defined to embed an abstract number field into the real line.
- The method [algebraic_dependency()](http://www.sagemath.org/doc/reference/rings_numerical/sage/rings/real_double.html) that allows to guess whether a floating number corresponds to some algebraic number of a given degree.
Is this list complete or am i missing other real representations ? Im i wrong
in the previous descriptions ? Could you order them by speed, by number of
methods available (without coercion) ? Do you have any remark that could help
the beginner to understand the subtilities in the use of those fields in Sage ?
Given an algebraic number, is it faster to work on AA or on a number field (of
smaller dimension) containing it ? Notice that one can find such an associated
number field with the method [as_number_field_element()](http://www.sagemath.org/doc/reference/number_fields/sage/rings/qqbar.html#sage.rings.qqbar.AlgebraicNumber_base.as_number_field_element)
Do you have any hint, striking example, recommandations of use in special cases
that one should like to learn in a tutorial about real numbers ?
tmonteilThu, 28 Mar 2013 12:36:28 +0100https://ask.sagemath.org/question/9950/Two quick questions about the tutorialhttps://ask.sagemath.org/question/9633/two-quick-questions-about-the-tutorial/I'm using the Interactive Shell.
First question: How do I get back to the working session after I'm done consulting the documentation? For example, if I look up for tan? I get all the information I need and after that a highlighted END. I just don't know how to get back to where I was before.
Second question: The last example in the section Functions, Indentation, and Counting of the Guided Tour doesn't seem to work. It's the example Class Evens(list) .... I've tried typing exactly as it is several times and I keep getting a syntax error message.
Any help would be appreciated. Thank you very much.jdiosesSat, 15 Dec 2012 18:54:56 +0100https://ask.sagemath.org/question/9633/where is basic tutorial for sagehttps://ask.sagemath.org/question/8660/where-is-basic-tutorial-for-sage/Where is basic tutorial for sage showing basics like how to define set, variable, map, binary operations and such.run88Sun, 22 Jan 2012 20:28:18 +0100https://ask.sagemath.org/question/8660/