Question: complete using matlab and show steps Write a script that will calculate the perimeter, area and diagonal of five squares. The script should prompt the

complete using matlab and show steps
Write a script that will calculate the perimeter, area and diagonal of five squares. The script should prompt the user for five values (each the length of the side of the square) and display the results in 4 columns with the following headings: Side, Diagonal, Perimeter, and Area. All of the data in the table should have 2 digits to the right of the decimal. Test your script with the following lengths as input 1, 2, 3, 4, and 5 crm l = length of side Perimeter-4 Area= 12 Diagonal = 1212
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
