In a message dated 1/20/2009 9:05:58 P.M. Eastern Standard Time,
[email protected] 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
[email protected]
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---