Solving an unknown with a ln

6 Ansichten (letzte 30 Tage)
Anass Banbouk
Anass Banbouk am 23 Sep. 2016
Kommentiert: Anass Banbouk am 23 Sep. 2016
Solve H if 5^H=15265 if ln(5^H)=H*ln(5) Getting a subscript error any help?
  2 Kommentare
Thorsten
Thorsten am 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 am 23 Sep. 2016
Note: The MATLAB function for the natural logarithm function ln is called log.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

James Tursa
James Tursa am 23 Sep. 2016
Can't you just substitute your expression and then divide by the appropriate value?
  3 Kommentare
James Tursa
James Tursa am 23 Sep. 2016
Bearbeitet: James Tursa am 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 am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Physics finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by