In a message dated 1/20/2009 9:05:58 P.M. Eastern Standard Time,  
wdjoy...@gmail.com writes:

sage: t  = var('t')
sage: x = function('x',t)
sage: DE = lambda y: diff(y,t,t) +  y
sage: f = eval(desolve_laplace(DE(x(t)), ["t","x"], [0,1,0]))
sage:  f(t)
cos(t)



OK, I saw this in the DiffEqu text, but I must say that the syntax is a bit  
confusing.
 
I suppose x = funxtion('x',t) means x=f(t)
and diff(y,t,t) means y'' but why?  
 
Can't we use diff(y,t,2)?  Where does the diff(y,t,t) syntax come  from?
 
 
TIA,
A.  Jorge Garcia
calcp...@aol.com
http://calcpage.tripod.com

Teacher  & Professor
Applied Mathematics, Physics & Computer  Science
Baldwin Senior High School & Nassau Community College



**************A Good Credit Score is 700 or Above. See yours in just 2 easy 
steps! 
(http://pr.atwola.com/promoclk/100000075x1215855013x1201028747/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=De
cemailfooterNO62)

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to