Question: Using MATLAB 1 a) On paper, or in a text file, in your group, write three new test cases for a new program which reads
Using MATLAB
1 a) On paper, or in a text file, in your group, write three new test cases for a new program which reads in the length and width of a rectangle and calculates the total length (perimeter) of the four sides of that rectangle. For reference, the perimeter of a rectangle is is 2 times the length plus two times the width of the rectangle. As before, your test should be written as a table with two columns for input variables and one column for output values.
1 b) Now, modify the code so that it calculates the perimeter of the rectangle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
