Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to solve for P in this equation:

Integrate[1/((P/(M*V)) - r*g - c*A*(V^2)*p/(2 M)), {V, 0, 26.82}] = s

, where all constants are given except P.

I've tried:

FindRoot [Integrate[1/((P/(M*V)) - r*g - c*A*(V^2)*p/(2 M)), {V, 0, 26.82}] == s, {P, 0}]

but I get this error:

FindRoot::nlnum: "The function value {Undefined} is not a list of numbers with dimensions {1} at {P} = {0.`}."

Any ideas on what I should try? I appreciate the help!

share|improve this question
Please post "all constants", The equation must be solved numerically – Dr. belisarius Mar 5 '14 at 7:17
Don't use P=0 as your starting value, since your function blows up there. – Tom Dickens Mar 6 '14 at 9:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.