Solve Error in Mathematica: Get Solution Here!

  • Context: Mathematica 
  • Thread starter Thread starter mmmn
  • Start date Start date
  • Tags Tags
    Error Mathematica
Click For Summary

Discussion Overview

The discussion revolves around solving a specific equation in Mathematica that involves parameters and variables related to a mathematical model. Participants explore the challenges of obtaining a solution and consider plotting the relationship between variables.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant shares their code and the error message received when attempting to solve an equation in Mathematica.
  • Another participant suggests that the presence of an undetermined parameter may prevent Mathematica from finding an analytic solution, proposing that a numerical solution could be feasible if the value of r is known.
  • A participant requests guidance on plotting the relationship between x and r in Mathematica, specifying that x should be between 0 and 1 and r should be a positive number.
  • In response, another participant recommends using the Plot3D command for visualizing the relationship.

Areas of Agreement / Disagreement

Participants generally agree that the undetermined parameter complicates finding an analytic solution, and there is a shared interest in exploring numerical solutions and plotting techniques. However, no consensus is reached on the specifics of the solution or plotting methods.

Contextual Notes

The discussion highlights the limitations of Mathematica's Solve function in the presence of undetermined parameters and the need for specific values to facilitate numerical solutions. The scope of the discussion is limited to the context of the provided code and parameters.

Who May Find This Useful

Users of Mathematica who are dealing with complex equations involving undetermined parameters and those interested in visualizing mathematical relationships through plotting.

mmmn
Messages
2
Reaction score
0
Here is my code
Code:
Nl = 10^(49) ;
Nh = 100 ;
b = 4*10^(-13) ;
Rs = N[((3 Nl)/(4 Pi b Nh^2))^(1/3)];
a = 6*10^(-18) ;

Solve[x/(4 Pi r^2)  E^(-Nh a x) a Nl == (1 - x)^2 b Nh, 
x]
When I run it, it shows the error:
"Solve::nsmet: This system cannot be solved with the methods available to Solve. >>"

How can I solve this equation? Thanks.
 
Last edited:
Physics news on Phys.org
Since you have an undetermined parameter, Mathematica tries to find an analytic solution, which I don't think will work in this case. If you know the value of r, then a numerical solution is possible (assuming x is a real number).
 
Hypersphere said:
Since you have an undetermined parameter, Mathematica tries to find an analytic solution, which I don't think will work in this case. If you know the value of r, then a numerical solution is possible (assuming x is a real number).

Thanks for your reply. Do you know any way to plot this (x vs. r) in mathematica? x should be some value between 0 and 1, and r is a positive number.
 
mmmn said:
Thanks for your reply. Do you know any way to plot this (x vs. r) in mathematica? x should be some value between 0 and 1, and r is a positive number.

The Plot3D command should be useful.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K