Message Boards Message Boards

Plotting an expression where one of the parameters is satisfying a different equation

POSTED BY: Debojyoti Mondal
7 Replies

Give a bounded interval for NSolve:

NSolve[f[r, P] == 0 && 10 > r > 0, r]
POSTED BY: Gianluca Gorni
POSTED BY: Gianluca Gorni
Posted 5 months ago
POSTED BY: Denis Ivanov

First of all I Thank you very much. Yes, r is the radius and it is the largest positive root. So, I have used Last instead of First in the definition of fPlot in your code. I don't know why but Last command gives the largest positive root in my notebook and it worked nicely. Now to test this code, I have applied the same for published Article. You don't need to go through the full article but fig 3(a) is the desired result. I am getting almost similar graphs but slightly different. Am I still missing something? If you look at the last graph of fig 3(a) the range should be upto near 0.4 in y axis. But, i am getting upto 0.2.

POSTED BY: Debojyoti Mondal

Once again Thank you very much. I understood that they have used slightly different approach that is why the results are different. I got the exact graph.

POSTED BY: Debojyoti Mondal
Posted 5 months ago

Ok, glad to hear it!

POSTED BY: Denis Ivanov

I am following the same procedure for a different function here. But mathematica is not giving any result and shows some error. Is there something I am doing wrong here?

POSTED BY: Debojyoti Mondal
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract