how to solve an exponential equation with one unknown in matlab
Show older comments
I have an equation that need to be solved for rs, and I could'nt get the answer in matlab I have values for the other parameters and I need to get rs. But when computing it on MATLAB I dont get a correct answer This is the equation
exp((-pi*ra)/rs)+exp((-pi*rb)/rs)=1
ra=90.82*10^6 rb=90.23*10^6 so only rs in unknown
1 Comment
James Tursa
on 19 Jul 2018
Why didn't you continue with your other post?
Accepted Answer
More Answers (1)
madhan ravi
on 20 Jul 2018
Edited: madhan ravi
on 20 Jul 2018
0 votes
%Try this:
syms rs
ra=90.82*10.^6
rb=90.23*10.^6
rs=vpasolve(exp((-pi.*ra)./rs)+exp((-pi.*rb)./rs)-1,rs)
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!