Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: NSolve Question
Replies: 1   Last Post: May 23, 2013 3:16 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Hagwood, Charles R.

Posts: 12
Registered: 12/31/09
NSolve Question
Posted: May 21, 2013 12:03 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I have a known function f[x,y] and I want to solve the differential
equation (1) for v[t], using NSolve

partial [f(v[t],v'[t])/partial x +(d/dt)[partial f(v[t],v'[t])/partial y =0 (1)

where v'[t] = derivative of v[t] with respect to t.

I did a test to set up (1). I let

f[x_,y_]:=x^2+y^3

v[t]:=Sin[t]

g1[x_,y_]:=partial f(x,y)/partial x

g2[x_,y_]:=partial f(x,y)/partial y

g3[t_]:=g1[v[t],v'[t]]+D[g2[v[t],v'[t]],t]

and asked Mathematica to evaluate

g3[t]

but, Mathematica gives an error. Thanks for the help

Charles






Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.