![]() |
||||||
|
| Script S1_2_5.m | |||
|
|||
|
%==============================================
%A reflecting plate %============================================== % %=========================================== %we are looking for the range between 0-1 %where arcsin is greater than arccos %=========================================== %values of sine and cosine between 0 and 1 arg=eps:0.025:1 %corresponding angles in degree %of the functions arcsin and arccos angle_sin=(asin(arg))*180/pi angle_cos=(acos(arg))*180/pi %plot of arcsin and arccos in the range 0-1 plot(arg,angle_sin,'ro-',arg,angle_cos,'bd-'),grid on, title('red line the arcsin and blue the arccos function') %======================================================== % |
|||
| Top | |||