Solving an unknown with a ln

9 views (last 30 days)
Anass Banbouk
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
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
James Tursa on 23 Sep 2016
Note: The MATLAB function for the natural logarithm function ln is called log.

Sign in to comment.

Accepted Answer

James Tursa
James Tursa on 23 Sep 2016
Can't you just substitute your expression and then divide by the appropriate value?
  3 Comments
James Tursa
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?
Anass Banbouk
Anass Banbouk on 23 Sep 2016
I've had too many coffees and I was drawing a blank on an obvious solution thank you for pointing it out.

Sign in to comment.

More Answers (0)

Categories

Find more on Physics 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!