I have the next equation:
I wrote it in mathematica and I obtained
f[h_] = 8 - 5 (-(2 - h) Sqrt[4 h - h^2] + 4 Sec[(2 - h)/2])
Now I have to solve it, finding the h
.
I know that h
is between 0<=h<=4
by the Sqrt equation but I don't know how to find the real root. I tried with NSolve or FindRoot but it didn't work.
cos^-1
usually denotes inverse cosine not 1/cos..(sec) $\endgroup$Sec
toArcCos
you should get a solution aroundh=.74
$\endgroup$