Displaying 1 result from an estimated 1 matches for "tp2103698p2108544".
2010 May 01
1
Solving equation
Hello,
I want to solve: x*(3^x)*log(4)-x*log(4/3)-(3^x)+1=0 for x. I used the following code,
uniroot(function(x) x*(3^x)*log(4)-x*log(4/3)-(3^x)+1, lower = -2, upper = 2, tol = 0.001 )
While using this I am getting the following error. Can anyone please help me out.
Error in uniroot(function(x) x * (3^x) * log(4) - x * log(4/3) - (3^x) + : f() values at end points not of opposite sign.