[sage-support] Re: LaTeX problem

2008-12-08 Thread pong
This may work for you html(r'\tan^{-1} x') or simply html(r'$\tan^ {-1} x$') the r before ' stands for "raw string". On Dec 8, 9:55 pm, acardh <[EMAIL PROTECTED]> wrote: > I am working in the Sage Notebook, I can reproduce the Taylor Series > example as is. The LaTeX works fine there. > > I t

[sage-support] LaTeX problem

2008-12-08 Thread acardh
I am working in the Sage Notebook, I can reproduce the Taylor Series example as is. The LaTeX works fine there. I took the next line from the Sage reference book, from the Latex printing support section: \tan^{-1} x The problem is that when I put it in the Notebook cell I get an error: SyntaxE

[sage-support] Re: question about visualization/animation of surfaces

2008-12-08 Thread Marshall Hampton
The nicest looking solution I have found is to make frames with tachyon and then animate the results with ffmpeg. I have meant to create some how-to documentation for the things I have done so far but I do not have the time right now, hopefully I will soon. The options for ffmpeg are somewhat c

[sage-support] question about visualization/animation of surfaces

2008-12-08 Thread ggrafendorfer
Hi, I have a list of surfaces (btw: volatility surfaces), each of which represented by a list of 3-Tuples (numbers), I would like to visualize them in an animation showing a surface evolving in time. Any suggestions which tools I could use for this? Thank you, Georg --~--~-~--~~-

[sage-support] Re: Change of variable in Differential Equation

2008-12-08 Thread David Joyner
Personally I don't see how As a guess, for a substitution like you want to work, the following much simpler computation sage: t = var('t') sage: x = function('x', t) sage: y = function('y', x) sage: diff(y,t) diff(y(x(t)), t, 1) should yield not diff(y(x(t)), t, 1) but perhaps something like d

[sage-support] Change of variable in Differential Equation

2008-12-08 Thread bsdz
Hi I was wondering if it is possible in Sage (perhaps even Maxima) to change the variable in an ODE or PDE algebraically. I have set up a simple PDE with the following: - x, t, k_1, k_2 = var("x t k_1 k_2") y = function('y', x, t) PDE = lambda f : k_1 * x^2 * diff(f,x,2) + diff(f,t) + k_2*(x*dif

[sage-support] Re: How to replace variables in function?

2008-12-08 Thread bsdz
(Sorry if this reply appears twice - 1st one disappeared?) This worked for me: - H, p, Pole1, Pole2, Pole3, Ts, z, f = var("H p Pole1 Pole2 Pole3 Ts z f") p = (2/Ts)*(z-1)/(z+1) z = exp(I*2*pi*Ts*f) H = (p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3)) show(H) The only difference is that I have declared th

[sage-support] How to replace variables in function?

2008-12-08 Thread Sand Wraith
Hi all! Please help me to replace variables: I have this function: H(p)=(p^3)/((p-Pole1)*(p-Pole2)*(p-Pole3)) where Pole1,Pole2,Pole3 - complex: r=2*2*pi Pole1=r*exp(I*2*pi/3) Pole2=-r Pole3=r*exp(-I*2*pi/3) Ts=0.1 And I need to make a few replaces: need to replace "p" with "(2/Ts)*(z-1)/(z+

[sage-support] Re: warning in time installation

2008-12-08 Thread mabshoff
On Dec 8, 8:23 am, a1antonov antonov <[EMAIL PROTECTED]> wrote: Hi, > PC Pentium4, Dual threading, Memory 2*256MB, > OS-Windows2000+Service Pack4 > > In time install SAGE I receive message: > > WARNING! This SAGE install was built on a machine that supports instruction > are not available on

[sage-support] warning in time installation

2008-12-08 Thread a1antonov antonov
PC Pentium4, Dual threading, Memory 2*256MB, OS-Windows2000+Service Pack4 In time install SAGE I receive message: WARNING! This SAGE install was built on a machine that supports instruction are not available on this computer. SAGE will likely fail with ILLEGAL INSTRUCTION errors! The following

[sage-support] Re: numerical evaluation of integral?

2008-12-08 Thread Stan Schymanski
Dear all, Thanks a lot for your help. It looks like there is yet another useful function going to be implemented in sage. Just to give an example where quad is faster than GSL (sorry for the length): sage: def insol1(epsilon,ecc,varpi,phi,lambd): ... S0=1368 ... phirad=phi*pi/180. ..