ln(16.1)=ln(16.1+P)(0.81+p)+ln(15.1+P)(0.144)+ln(14.1+P)(0.0064)+ln(8.1+P)(0.0032)+ln(2.1+P)(0.0004+p)
What I am trying to do is find P (capital) for a given value p (lower-case).
Is there any way to find a solution or approximate value (if it's unsolvable) for P in R?
The problem can be solved with
?uniroot.First define a function with the expression, then apply
unirootwith the values ofPyou want.