Question: USE MATLAB please Create a script file that will compute for the hypotenuse and angle of a right triangle. Ask the user to enter base
USE MATLAB please
Create a script file that will compute for the hypotenuse and angle of a right triangle.
Ask the user to enter base a and vertical height b in cm.
Show the inputs with proper units.
Calculate the hypotenuse and angle of a right triangle with base a and vertical height b.
Let the units be in cm. Display the hypotenuse in 3 decimal places and with correct unit.
The angle (in degrees) is expressed in 1 decimal place.
Document and make the script easy to read, understand and the output be a user-friendly.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
