Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Solving a Nonlinear DE with MathCad?

Status
Not open for further replies.

Bebokkos

Chemical
Nov 9, 2010
9
GR
Hi! I'm currently struggling to solve the following nonlinear 2nd order DE with MC:

y'' - (1/y)(y')^2 - y(dy/dx + 1) = 0 with ic: y(0)=0.235 and bc: dy/dx=(2x)^-0.5 at x=50.

I've tried odesolve and rkadapt with no success. In fact, everywhere I looked I got solutions for ODE only. Can't find any help for NONLINEAR DEs. This is how I implemented Odesolve:

Given
y''(x)- (1/y(x))*(y'(x)^2)-y(x)*(y'(x)+1)=0
y(0)=0.235 y'(50)=(2*x)^-0.5
y=Odesolve(x,50)

Any ideas?
 
Replies continue below

Recommended for you

I've discovered that Odesolve can solve this kind of DE, however it won't converge to a solution, unless the boundary becomes dy/dx=(2x)^-0.5 at x=2. If x>2 no solution is possible.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top