[sage-support] Re: Error plotting 3D

2017-07-03 Thread Ralf Stephan
The reason is the typo **299792458 You really want such a big power? -- 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.

[sage-support] Re: Error in graphic

2017-07-03 Thread Ralf Stephan
There is no way around you getting a recent Sage (or using the cloud) and posting a full session log. -- 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-suppor

[sage-support] Re: Error plotting 3D

2017-07-03 Thread Ralf Stephan
Well you are dealing with numerically exctreme values here. Let's look at the factor of (x**2+y**2) inside the lambda: sage: (exp(I*2000*(1.60217662*10**(-19))/(299792458*6.6260700*10**(-34)))-(sqrt( : I*(1.60217662*10**(-19))/(4*6.62607004*10**(-34)*299792458*2000))-1.60 : 217662*1

Re: [sage-support] Re: Error plotting 3D

2017-07-03 Thread William Stein
Hi, If you want useful help, give the complete log of a minimal session reproducing the problem, from start to finish. – William > On Jul 3, 2017, at 6:14 AM, Fjordforsk A/S wrote: > > Changed to: > > sage: plot3d(lambda > x,y:(exp(I*2000*(1.60217662*10**(-19))/((299792458*6.6260700 > :

[sage-support] Re: How to write 10exp(-5) in SAGEMATH

2017-07-03 Thread HG
I would to the first or the second n(10^(-8)) n(10**(-8)) the third I think it's not right but I am an expert Le lundi 3 juillet 2017 16:39:54 UTC+2, Fjordforsk A/S a écrit : > > Hi, how does one write 10^(-8) ? > > Is it as the conventional way 10**(-8) or is it 10exp(-8) ? > -- You received t

[sage-support] Re: Still unable to plot long function

2017-07-03 Thread HG
What are you expecting to get ? I see inside few times the speed of light ... What 's the meaning of the equation ? Le lundi 3 juillet 2017 15:46:37 UTC+2, Fjordforsk A/S a écrit : > > Hi, I tried many re-edits, and found a few errors along the way, however, > there seems not to be any errors le

[sage-support] Re: Still unable to plot long function

2017-07-03 Thread HG
Graphics3d Object I don't know why it doesn't display inline %matplotlib inline var("y") a=plot3d(lambda x,y:(exp(I*2000*(1.60217662*10**(-19))\ /(299792458*6.6260700*10**(-34)))-(sqrt(I*(1.60217662*10**(-19))\

[sage-support] Re: (sagetex vs pythontex)+foreach

2017-07-03 Thread HG
I used circuitikz with sage and it's fine ? Can you detailed what you mean with tikz ? I can't use sagetex, so I will try pythontex Le lundi 3 juillet 2017 11:00:38 UTC+2, Oguz Kurt a écrit : > > Hi: > > I typed a single page of basic math randomly. While doing so, I used > sagetex for randomiza

[sage-support] Re: How to write 10exp(-5) in SAGEMATH

2017-07-03 Thread Simon King
Hi! On 2017-07-03, Fjordforsk A/S wrote: > Hi, how does one write 10^(-8) ? > > Is it as the conventional way 10**(-8) or is it 10exp(-8) ? Sage is based on Python, thus, 10**(-8) definitely works. In addition, Sage uses a preparser to make the user interface still a bit nicer than Python. Ther

[sage-support] How to write 10exp(-5) in SAGEMATH

2017-07-03 Thread Fjordforsk A/S
Hi, how does one write 10^(-8) ? Is it as the conventional way 10**(-8) or is it 10exp(-8) ? -- 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+unsubs

[sage-support] Still unable to plot long function

2017-07-03 Thread Fjordforsk A/S
Hi, I tried many re-edits, and found a few errors along the way, however, there seems not to be any errors left, still nothing happens when issuing the plot3d command: plot3d(lambda x,y:(exp(I*2000*(1.60217662*10**(-19))/(299792458*6.6260700* : 10**(-34)))-(sqrt(I*(1.60217662*10**(-19))/(4*

[sage-support] Re: Error plotting 3D

2017-07-03 Thread Fjordforsk A/S
Changed to: sage: plot3d(lambda x,y:(exp(I*2000*(1.60217662*10**(-19))/((299792458*6.6260700 : *10**(-34)))-sqrt(I*(1.60217662*10**(-19))/(4*6.62607004*10**(-34)*2997924 : 58*2000-(((1.60217662*10**(-19))^2*2000**2)/(((6.62607004*10**(-34))**2)** : 299792458**2)))(x**2+y**2)).real_

[sage-support] Error plotting 3D

2017-07-03 Thread Fjordforsk A/S
Hi, I get this error: */home/sem/SageMath/src/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression.__call__ (/home/sem/SageMath/src/build/cythonized/sage/symbolic/expression.cpp:30500)() 5058 z^2 + x^y 5059 """-> 5060 return

[sage-support] Solving PDEs analytically

2017-07-03 Thread Fjordforsk A/S
Hi, I was wondering if SAGE can be used to solve a PDE in the form: u(x,y)''+u(x,y)' + const = 0 ? 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 s

[sage-support] (sagetex vs pythontex)+foreach

2017-07-03 Thread Oguz Kurt
Hi: I typed a single page of basic math randomly. While doing so, I used sagetex for randomization mostly. However, I realized a few things: 1. sagetex does not interact well with many environments including TIKZ. 2. It does not really nicely plug-into other environments in general (newcomman