[sage-support] Creating a callable matrix with functions.

2011-11-22 Thread Jaasiel Ornelas
Hi! I'm trying to get a matrix over SR to be callable, much like vectors are. My code consists of the following: " (theta,beta,gamma)=var('theta,beta,gamma') R_theta=matrix(SR,[[cos(theta),sin(theta),0],[-sin(theta),cos(theta), 0],[0,0,1]]) R_beta=matrix(SR,3,3,[cos(beta),0,-sin(beta),0,1,0,sin(b

[sage-support] Octave interface OS X

2011-10-20 Thread Jaasiel Ornelas
Hi! I'm trying to access Octave thru the worksheet, but I get the error: RuntimeError: Unable to start octave I already made a symlink linking /opt/local/bin/octave to / Applications/sage/local/bin/octave, but that didn't work. Am I using the wrong PATH? Also, I set up octave using macports, so

[sage-support] Re: jsMath typeset long eq

2011-10-19 Thread Jaasiel Ornelas
Thanks a lot! It worked. Would be nice not having to go through that, though :) On Oct 18, 11:14 pm, John H Palmieri wrote: > Instead of using jsMath, you could type "latex(a)" to get the LaTeX code for > the object a.  Then you can paste it into a LaTeX document and edit it as > you please for v

[sage-support] Bessel Function Zeroes

2010-07-01 Thread Jaasiel Ornelas
Hi! I'm working on modeling drums with bessel functions. However, I need to calculate the zeroes of the bessel functions. Is there any way to do that? Thank you very much. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-s

[sage-support] Animation

2010-06-16 Thread Jaasiel Ornelas
Hi! I'm trying to animate a fourier series in terms of time. I use the animate command, but it won't take a free variable (in my case x). Here is my code: q(n,x,t,v,L) = (4/pi)* cos((2*n+1)*pi/8)*sin((2*n+1)*pi*x/L)*cos((2*n +1)*v*t/L)/(2*n+1) Qxt(x,t)=q(0,x,t,1,1)+q(1,x,t,1,1)+q(2,x,t,1,1)+q(3,

[sage-support] representations of sums and functions of sums

2010-05-27 Thread Jaasiel Ornelas
Hi! Is there a way to have sage give a certain number of terms in a sum? And, is there a way to define a function in terms of that sum? Thanks Very Mucho. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr..

[sage-support] Sagetex wont plot

2010-05-04 Thread Jaasiel Ornelas
Hi! I'm having trouble with sagetex on snow leopard. I keep on getting this error when I'm making my document in texshop: Package sagetex Warning: There were undefined Sage formulas and/or plots. Run Sage on boaspg69p11.sage, and then run LaTeX on boaspg69p11.tex again. I checked my sage code,

[sage-support] Re: Tex fonts in JSMATH OS X

2009-11-13 Thread Jaasiel Ornelas
Wow... On Nov 13, 4:22 pm, John H Palmieri wrote: > On Nov 13, 4:04 pm, Jaasiel Ornelas wrote: > > > I'm not quite sure I understand the jsmath Part of sage. Am I supposed > > to be able to see nice mathematical symbols and not just code? > > > i.e. not sqrt(

[sage-support] Tex fonts in JSMATH OS X

2009-11-13 Thread Jaasiel Ornelas
I'm not quite sure I understand the jsmath Part of sage. Am I supposed to be able to see nice mathematical symbols and not just code? i.e. not sqrt(x) but the actual symbol for the square root. Because if I am... I'm not. I was going through the jsmath menu, and I couldn't find anything. It says

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
You sir... Are... a genius. On Nov 11, 12:13 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 3:10 PM, Jaasiel Ornelas wrote: > > > I'm using: > > > Sage Version 4.1.1, Release Date: 2009-08-14 > > Okay. The above was done with Sage 4.2, so may or

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
Ok. I'm downloading 4.2 to see what happens, otherwise, I'll just do it by hand. On Nov 11, 12:13 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 3:10 PM, Jaasiel Ornelas wrote: > > > I'm using: > > > Sage Version 4.1.1, Release Date: 2009-08-14 > >

[sage-support] Re: Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
I'm using: Sage Version 4.1.1, Release Date: 2009-08-14 We just started laplace in my class, so I did not know that laplace transforms don't solve non linear ode's. Sorry :p On Nov 11, 12:01 pm, David Joyner wrote: > On Wed, Nov 11, 2009 at 1:19 PM, Jaasiel Ornelas wrote:

[sage-support] Laplace solve:

2009-11-11 Thread Jaasiel Ornelas
I can't get desolve_laplace to give me a good output. I had already tried the regular solve (desolve) and it gave to told me that it cannot solve that equation. This is my code: sage: (g,t) = var('g,t') sage: y=function('y',t) sage: DEiii = pi * (39/100*y + 1/2)^2* diff(y,t) + a * sqrt(2*g*y)

[sage-support] Re: regression and regresion lines:

2009-10-06 Thread Jaasiel Ornelas
Hey, thanks a lot. I was able to do it, though for my project the R^2 value constantly came out to . On Oct 6, 12:39 pm, Jason Grout wrote: > Jaasiel Ornelas wrote: > > Is there any way to calculate regression lines and regression (R^2) > > for a set of points in sa

[sage-support] regression and regresion lines:

2009-10-06 Thread Jaasiel Ornelas
Is there any way to calculate regression lines and regression (R^2) for a set of points in sage? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegr

[sage-support] Re: Sagetex

2009-09-29 Thread Jaasiel Ornelas
HAHA!!! you are the man!!! On Sep 29, 9:51 pm, Dan Drake wrote: > On Tue, 29 Sep 2009 at 08:21PM -0700, Jaasiel Ornelas wrote: > > Then, when I run sage in the file, I get this error: > > > """""" > > sanponpon:~ jaasiel$ /Applications/sa

[sage-support] Re: Sagetex

2009-09-29 Thread Jaasiel Ornelas
tributeError: 'module' object has no attribute 'openout' """""" On Sep 29, 4:29 pm, Dan Drake wrote: > On Tue, 29 Sep 2009 at 11:58AM -0700, Jaasiel Ornelas wrote: > > ! Undefined control sequence. > > l.5 ...t, for a total of $26^3 \c

[sage-support] Sagetex

2009-09-29 Thread Jaasiel Ornelas
Hi, I installed sagetex, and am trying to use it trhough texshop. I followed the instructions for copying the file sage.engine into the folder ~/Library/TeXShop/Engines/. I'm trying to run the basic code given in the sagetex.pdf and I get the following errors: ! Undefined control sequence. l.5

[sage-support] Re: Help with euler's equation.

2009-09-24 Thread Jaasiel Ornelas
y00]) >     if method!="table": >         return soln > > and then > > x,y = var("x,y") > dy_dxB(x,y) = cos(x) - sin(x) - y > eulers_method2(dy_dxB,0,2,0.1,3) > > Hope this helps. > > 2009/9/24 Jaasiel Ornelas : > > > Hi! &

[sage-support] Help with euler's equation.

2009-09-24 Thread Jaasiel Ornelas
Hi! I'm using sage for differential equation problems. My college uses maple, but I'd rather use sage. I'm having trouble with eulers method for the diff. eqn. dy/dx = cos (x) - sin(x) - y. This is my code up till now: sage: x,y = PolynomialRing(RR,2,"xy").gens() sage: dy_dxB = cos(x) - sin(x