Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

solving numerically nonlinear equation

Status
Not open for further replies.

nicklelinea

Mechanical
Feb 12, 2007
1
i need some help here..

P=int(((s-h)^0.5)*exp(-0.5s^2)) and integral is from h to inf.
how could i use matlab to get the value of h. i know that i can solve numerically the nonlinear equation k-P(h)=0 to get h where k is constant. but how to put it into matlab command. thanks.
 
Replies continue below

Recommended for you

I think you need to create your own code for that. You can use the simple Rectangular Method for numerical integration. If it doesn't work very well, try the Gauss-Quadrature method.

--------------------------------
Emmanuel A. Gonzalez, E.C.E.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor