[sage-support] Integration bug?

2017-10-26 Thread david.guichard
Running sage in cocalc: integral(sqrt(1+cos(x)^2),x,0,pi) 0 Zero is decidedly not correct. The problem is apparently here: integral(sqrt(1+cos(x)^2),x) -1/24*sin(3*x) + 1/8*sin(x) -- You received this message because you are subscribed to the Google Groups "sage-support" group

[sage-support] Weird behavior in sagecell

2018-11-30 Thread david.guichard
In this page, http://skink.whitman.edu/~guichard/sage/two_plots_clean.html I have two sagecells, each to do a 3d plot. If I evaluate the first one, it works as expected. If I then evaluate the second, it graphs correctly, but it also replaces the first plot with a copy of the second. Neither of

[sage-support] Re: Weird behavior in sagecell

2018-11-30 Thread david.guichard
Thanks! On Friday, November 30, 2018 at 5:02:27 PM UTC-8, slelievre wrote: > > > Fri 2018-11-30 23:43:00 UTC, David Guichard: >> >> In this page, >> >> http://skink.whitman.edu/~guichard/sage/two_plots_clean.html >> >> I have two sagecells, each to do a 3d plot. If I evaluate the first one, >> it

[sage-support] CORS problem using sagecell

2019-01-27 Thread david.guichard
In my calculus book I have a number of sagecells. One of them has started throwing an error involving CORS. Follow this link: https://www.whitman.edu/mathematics/calculus_online/section13.01.html and go to the exercise section, click evaluate on the sagecell. When I do this, I get Error conne

[sage-support] Re: CORS problem using sagecell

2019-01-27 Thread david.guichard
post: I'm sure that this cell was working just a few months ago. -- David On Sunday, January 27, 2019 at 5:37:00 PM UTC-8, david.guichard wrote: > > In my calculus book I have a number of sagecells. One of them has started > throwing an error involving CORS. Follow this link

[sage-support] Viewers in cocalc?

2019-02-25 Thread david.guichard
When I try to specify a viewer in a plot3d I get an error if I try anything other than "tachyon". Even viewer='threejs' throws an error, though I think the default viewer is threejs. What I'm really looking for is a viewer that lets me display an orthogonal projection instead of perspective. I k

Re: [sage-support] Viewers in cocalc?

2019-02-25 Thread david.guichard
od. On Monday, February 25, 2019 at 3:28:58 PM UTC-8, Dima Pasechnik wrote: > > On Mon, Feb 25, 2019 at 11:26 PM david.guichard > > wrote: > > > > When I try to specify a viewer in a plot3d I get an error if I try > anything other than "tachyon". Even vie

[sage-support] Sage cell server file input

2019-10-22 Thread david.guichard
I have a cocalc sage worksheet that reads data from a csv file. Is there any way to do this in the single cell server, that is, read data from an external file? I'm guessing not, but it would be handy. Thanks, David -- You received this message because you are subscribed to the Google Groups

[sage-support] Re: Sage cell server file input

2019-10-22 Thread david.guichard
7, Nils Bruin wrote: > > On Tuesday, October 22, 2019 at 8:52:44 AM UTC-7, david.guichard wrote: >> >> I have a cocalc sage worksheet that reads data from a csv file. Is there >> any way to do this in the single cell server, that is, read data from an >> external file? I&#x

[sage-support] Symbolic rational variable

2015-03-14 Thread david.guichard
I'm looking for a way to create a symbolic rational variable--it must be possible, right? I want to do something like this: R = PolynomialRing(QQ,'x');S.=R.quotient(x^3+x+1);S1. = S[]; (y^3+y+1)(y=a); var('b1 b2 b3') (b1+b2*a+b3*a^2)^2 and get (b2^2+2*b1*b3-b3^2)*a^2+(2*b1*b2-2*b2*b4*b3-b3^2)

[sage-support] rational variables?

2015-03-14 Thread david.guichard
I want to do something like this: R = PolynomialRing(QQ,'x');S.=R.quotient(x^3+x+1); T.=QQ[] b*a Namely, create expressions mixing rational variables and elements of a quotient field over the rationals. Doing something like this: (3/4)*a is fine, but the b*a, gives me TypeError: unsupported

Re: [sage-support] rational variables?

2015-03-14 Thread david.guichard
Thanks! -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups

[sage-support] typeset mode in single cell server

2016-03-02 Thread david.guichard
Is it possible to turn on typeset mode in the single cell server? -- David -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups

[sage-support] Re: typeset mode in single cell server

2016-03-08 Thread david.guichard
I have some sage cells in a couple of online textbooks, and mostly just wanted to unclutter the line for students. Using "show" is OK, I was just hoping that like sagenb and the cloud I could make it the default. -- David On Tuesday, March 8, 2016 at 7:06:47 AM UTC-8, kcrisman wrote: > > > > On

[sage-support] Integration error?

2016-10-20 Thread david.guichard
The computation in this worksheet appears to be incorrect: https://cloud.sagemath.com/projects/7e41f0e6-e297-41cf-b7a7-a7c11d3943c1/files/integration%20error.sagews Maple gives the value as : but even without that the Sage value is clearly wrong. -- David -- You received this message because

[sage-support] Fontsize in single cell output

2012-12-30 Thread david.guichard
Hi-- Just starting to play with the single cell server--very cool. Is it possible to adjust the fontsize in latex output? That is, if I'm saying "show(...)" to get typeset output, can I specify the fontsize? Thanks, David -- You received this message because you are subscribed to the Google G

[sage-support] Re: plots in 3d are not published?

2012-01-17 Thread david.guichard
It does seem that this should be happening more or less automatically. I do notice that sage uses jmol_applet, which doesn't appear to be part of jmol, so I assume it should be loaded from sagenb.org. My javascript console for a published page shows an error, that jmol_applet is not defined. The co

[sage-support] Re: plots in 3d are not published?

2012-01-17 Thread david.guichard
I just tried publishing a worksheet with jmol plots on our campus server, v4.6, and the published page includes the interactive jmol. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroup

[sage-support] Integration bug?

2012-03-27 Thread david.guichard
I've tried this on my 4.6 sage and on 5.0 beta; the main sagenb.org is not returning calculations for me. Both 4.6 and 5.0 have the same error. This double integral calculation is correct: var("r t") f=integral(sqrt(1-r^2*cos(t)^2)*r,r,0,1) g=integral(f,t) g; g(t=pi/4)-g(t=0) but this one i