Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Second degree linear? diff equation with the first derivative squared

Status
Not open for further replies.

blckwtr

Mechanical
Oct 30, 2006
204
I get an error message telling me I have too many equations in the solve block. I tried to use the Odesolve function. Is there another solution for my problem?

example:

Given

m*x''(t)+c*(x'(t))^2+k*x(t)=0

x(0)=0 x(0)=5

x:=Odesolve(t,2)
 
Replies continue below

Recommended for you

I have Mathcad 2001 and it works. Be sure you are typing x'(0)=5 and not dx(0)/dt=5.
 
Thanks, if this works I would be very happy. How do you type the nth derivative operators, by the way? I think I have tried all the combinations...:)
 
But the dot, not the d/d. You said I must type '', not d/d...
 
Just hit the "prime" key on the keyboard twice. This key is probably on the upper left corner of your keyboard. It is OK to use d/d in the differential equation, but use the "prime" for the initial condition of the first derivative.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor