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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!