0
|
5325 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
GROUPS:

# How to Solve[] for a negative exponent?

Posted 9 years ago
 How can I solve for 'x'? I tried the following, Solve[0.3^-x == 1, x]  NSolve[0.3^-x == 1, x]  The answer should be close to -2/11ths, 0.3^-2/11==1.0101  I'm interested in getting this specific form, of solving for a negative exponent, to work, rather than this example problem. Much thanks for help!
2 Replies
Sort By:
Posted 9 years ago
 The answer is 0 In:= 0.3^0 Out= 1. because the right hand side is 1. More general In:= Solve[1/0.3^x == 1/817, x, Reals] During evaluation of In:= Solve::ratnz: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result. >> Out= {{x -> -5.56959}} In:= NSolve[0.3^(-x) == 1/817, x, Reals] During evaluation of In:= Solve::ratnz: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result. >> Out= {{x -> -5.56959}} In:= Rationalize[0.3^(-x) /. %75[[1, 1]]] Out= 1/817 
Posted 9 years ago
 smart- thanks