2018-02-05 01:53:48 +0100 received badge ● Famous Question (source) 2018-02-05 01:53:48 +0100 received badge ● Notable Question (source) 2018-02-05 01:53:48 +0100 received badge ● Popular Question (source) 2017-10-25 12:00:12 +0100 received badge ● Notable Question (source) 2017-10-25 12:00:12 +0100 received badge ● Popular Question (source) 2017-08-14 22:47:08 +0100 received badge ● Famous Question (source) 2017-04-21 18:02:01 +0100 received badge ● Notable Question (source) 2017-02-06 23:39:25 +0100 received badge ● Popular Question (source) 2016-11-15 15:33:22 +0100 received badge ● Famous Question (source) 2016-07-27 19:44:39 +0100 received badge ● Famous Question (source) 2016-03-12 12:41:02 +0100 received badge ● Popular Question (source) 2016-03-12 12:41:02 +0100 received badge ● Notable Question (source) 2016-02-18 03:19:31 +0100 received badge ● Notable Question (source) 2016-01-06 16:51:13 +0100 received badge ● Supporter (source) 2016-01-06 14:50:53 +0100 asked a question Calculate cosine in degrees I'd like to calculate the value of the cosine of 52 degrees. The following fails: lam = 52 * sage.units.degree cos(lam)  How should I do it correctly? 2015-12-29 14:37:23 +0100 received badge ● Popular Question (source) 2015-12-28 09:19:01 +0100 received badge ● Nice Question (source) 2015-12-23 20:20:47 +0100 commented answer Automatic typesetting in Jupyter I have this line in /usr/lib/sagemath/local/etc/jupyter_notebook_config.py but I still need to use %display typeset 2015-12-23 20:19:24 +0100 commented answer Jupyter doesn't use the built-in MathJax Ok, I noticed a weird thing. I have my .ipynb notebook in a directory ~/proj/sage. If I launch sage from within this directory, MathJax is detected properly. But if I launch sage from my home directory and then navigate to the notebook file and select it, Jupyter can't find MathJax. Any ideas? 2015-12-20 13:26:04 +0100 asked a question Change the default number of points in plotting By default the plot function has only 200 points:  sage.plot.plot.plot(funcs, exclude=None, fillalpha=0.5, fillcolor='automatic', detect_poles=False, plot_points=200, thickness=1, adaptive_tolerance=0.01, rgbcolor=(0, 0, 1), adaptive_recursion=5, aspect_ratio='automatic', alpha=1, legend_label=None, fill=False, *args, **kwds)  But this look awful when plotting for example $f(x) = \frac{\sin x }{x}$. Since my machine is quite fast, I'd like to set the default to 50000 points. Is this possible? 2015-12-20 13:18:13 +0100 asked a question Automatic typesetting in Jupyter When using the Jupyter notebook I always have to type %display typeset  as my first line so as to enable typesetting. Is there any way to avoid it and have the answers typeset automatically? I'm using sagemath-upstream-binary from the PPA and Linux Mint 17.3 Cinnamon. 2015-12-20 13:15:46 +0100 commented answer Jupyter doesn't use the built-in MathJax Before your answer I was playing around a while, so I reinstalled Sage once again (the fourth time) magically, Jupyter works now... 2015-12-13 09:18:10 +0100 asked a question Jupyter doesn't use the built-in MathJax I have two copies of MathJax. One in /usr/lib/sagemath/local/share/mathjax, another in /usr/share/javascript/mathjax. I open up the jupyter notebook: sage -n jupyter. I open a notebook and what I get is Math/LaTeX rendering will be disabled. If you have administrative access to the notebook server and a working internet connection, you can install a local copy of MathJax for offline use with the following command on the server at a Python or Jupyter prompt: from Jupyter.external import mathjax; mathjax.install_mathjax() But I don't want a third (sic!) copy of MathJax on my computer! How can I make Jupyter use the existing ones? I'm using Linux Mint 17.2, used the sagemath-upstream-binary package from the PPA. 2015-12-13 09:08:10 +0100 answered a question MathJax stopped working I found the root of the problem. While browsing the net I switched the MathJax renderer to SVG. But only my global MathJax installation has the SVG renderer, the shipped version lacks it. After changing the renderer to HTML/CSS, the problem disappeared. I'll file a bug in trac. And for the Jupyter problem, I'll open a new question 2015-12-12 19:38:08 +0100 commented answer MathJax stopped working No success here. Sage 6.9 was my first install 2015-12-12 19:31:11 +0100 commented answer MathJax stopped working And the output is http://paste.ubuntu.com/13974887/ 2015-12-12 19:29:48 +0100 commented answer MathJax stopped working It initially worked with the Sage notebook. Suddenly the notebook ceased to work. I tried the Jupyter notebook afterwards. When I open the jupyter notebook, nothing is printed at all. Even if I remove the %display typeset line 2015-12-08 15:07:35 +0100 received badge ● Editor (source) 2015-12-08 09:16:18 +0100 received badge ● Student (source) 2015-12-08 09:09:09 +0100 asked a question MathJax stopped working I created a couple of commands and realized they produce no output. If typesetting is turned to false, then the output is produced. When I go to the print tab, I get the following error: File failed to load: localhost:8080/javascript/mathjax/jax/output/SVG/config.js  Why did it suddenly stop working? I'm using Linux Mint 17.2, used the sagemath-upstream-binary package from the PPA. I'm using the Sage notebook. My commands are x = var('x') w = x^4 - (1+3*i)*x^3 - (2-4*i)*x^2 + (6-2*i)*x - 4 - 4*i p = x^4 + (1-3*i)*x^3 - (4+3*i)*x^2 - (4-2*i)*x + 2*i solve(w,x)  I tried using Jupyter but I get the following error while creating a notebook in Jupyter:  Failed to retrieve MathJax from '../nbextensions/mathjax/MathJax.js'  although I have MathJax installed locally in /usr/share/javascript/mathjax and in /usr/lib/sagemath/local/share/mathjax 2015-12-08 08:55:16 +0100 received badge ● Scholar (source) 2015-12-07 20:01:12 +0100 asked a question roots doesn't find all roots of a polynomial Let's consider the following example: w = x^4 - (1+3*i)*x^3 - (2-4*i)*x^2 + (6-2*i)*x - 4 - 4*i p = x^4 + (1-3*i)*x^3 - (4-3*i)*x^2 - (4-2*i)*x + 2*i solve(w, x) w.roots()  When using solve, all complex roots are found. When using roots, only two of them. Why?