Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to solve numerically an equation when NSolve is not appropriate?

Posted 10 years ago
POSTED BY: Marcel Pelletier
2 Replies

Hi, Thank you for your help! Marcel

POSTED BY: Marcel Pelletier

FindRoot works with polynomials and related symbolic expressions.

In[7]:= f[x_] = x^2;
g[a_?NumberQ, b_?NumberQ] := NIntegrate[f[x], {x, a, b}]

In[9]:= FindRoot[g[1, b] == 3, {b, 1}]

Out[9]= {b -> 2.15443}
POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard