Question: MATLAB In this problem, in the calling script: Asks the user to enter an angle. ( could be in degree or radian ) And a
MATLAB In this problem, in the calling script: Asks the user to enter an angle. could be in degree or radian And a letter: r for radian, or d for degree, with radian as the default Then the script calls a function called mytrig with the above angle and the letter as input, calculates the sin cos and tan of the entered angle. The function also pays attention to whether the angle is in degree or radian by using the right function example: sin when the letter is r and sind when the letter is d The output must be in form of a sentence similar to the following example: You entered in degrees and the sine is the cos is and the tan is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
