Mathematica Solve Equation for b in Mathematica | Step-by-Step Guide

  • Thread starter Thread starter mutogenic01
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around solving a complex equation for the variable b using Mathematica. The equation involves multiple parameters, including constants a, m, F, and n, and a function c defined in terms of x values obtained from a graph. The user encounters difficulties with the `Solve` command, receiving a warning that the expression cannot be expressed algebraically. Suggestions are made to use numerical methods instead, specifically recommending the `NSolve` function or similar alternatives like `Root` or `NRoot` for finding a numerical solution. The emphasis is on the need for a numerical approach due to the complexity of the equation.
mutogenic01
Messages
1
Reaction score
0
Hi everybody.
I have this equation

c=(m/b)(a-(F/b))exp(-btn/m)(1-exp(-bt/m))^2 where;

a=0.14
m=4.3
F=1.88
n=integer (1-5000)
t=0.1
c=2x[(n+1)t]-x[(n+2)t]-x[nt] --- the value for x at a particular n is obtained from a graph

I have to solve for b. I have tried to solve this equation using Mathematica using the `Solve` command but there was a warning about the expression non in algebraic way.

Is there anybody out there who have any idea what function I can use in Mathematica to solve this equation? It seems easy because the only unknown is b. But I am not familiar with Mathematica so I still can`t solve it.

Thanks in advance.
 
Physics news on Phys.org
Not entirely clear (I am not sure I understand your notation).

When Mathematica tells you that, it means that it can't find a way to express the answer in analytical form as a function of the variables you gave it. But you can always try for a numerical solution, using NSolve or similar (there's something like Root or NRoot, but I don't have mathematica handy right now).
 

Similar threads

Replies
2
Views
1K
Replies
19
Views
2K
Replies
1
Views
2K
Replies
1
Views
3K
Back
Top