MATLAB: Trigonometri Problems at atand and acosd

mathematics

Hi.. can you help me pls.. I have a problem :
54.8=acosd(20/(100-z))-atand(40/(500-z))
how to evaluate z at matlab? thanks..

Best Answer

This is perfect for the FZERO function....
fzero(@(z) 54.8-acosd(20./(100-z))+atand(40./(500-z)),30)