I need to solve tan^3(w)=tan(s) for w where s= 1.5 radians or 16.845 degrees. I need to write a line of MATLAB code for this operation but do not know an equivalent form of the equation.
solve('tan(x)^3==tan(1.5)','x')
Answer:
1.1783511187702876557436189917532
- 1.3391755593851438278718094958766 + 0.35610550401885024116569451380696*i
- 1.3391755593851438278718094958766 - 0.35610550401885024116569451380696*i
One real solution, and two complex solutions.
(This was tested in Matlab R2012a)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With