Question: 1. Write a MATLAB script file that prompts the user for the dimensions (width and height) of a rectangular concrete beam, in units of inches.

1. Write a MATLAB script file that prompts the user for the dimensions (width and height) of a rectangular concrete beam, in units of inches. Also prompt the program user for the length of the beam, in units of feet. Be sure to include the units in the prompt. Theprogram should calculate the cross-sectional area of the beam and the volume of concrete needed to construct the beam. For output, the program should display the exact message "The cross-sectional area is XX.XX square feet and the volume is XX.XX cubic feet", where XX.XX is the calculated value displayed to two decimal places. Copy your script file into a Microsoft Word file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
