Solving an unknown with a ln
9 views (last 30 days)
Show older comments
Anass Banbouk
on 23 Sep 2016
Commented: Anass Banbouk
on 23 Sep 2016
Solve H if 5^H=15265 if ln(5^H)=H*ln(5) Getting a subscript error any help?
2 Comments
Thorsten
on 23 Sep 2016
Please post your complete minimal Matlab code that generates the error, and the exact error that is displayed.
James Tursa
on 23 Sep 2016
Note: The MATLAB function for the natural logarithm function ln is called log.
Accepted Answer
James Tursa
on 23 Sep 2016
Can't you just substitute your expression and then divide by the appropriate value?
3 Comments
James Tursa
on 23 Sep 2016
Edited: James Tursa
on 23 Sep 2016
So, you start with this:
5^H = 15265
and this
ln(5^H) = H*ln(5)
Can't you figure out how to apply some type of operation to the 1st equation to make it look like the 2nd equation? And then do an appropriate substitution based on the 2nd equation?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!