function [P, A] = rect(L, W) P= 2 (L+ W); A =L*W; end Above function is defined to find perimeter and area of a rectangle. If a rectangle has length 10 mm and width 7 mm then the correct way to get...


function [P, A] = rect(L, W)<br>P= 2 (L+ W);<br>A =L*W;<br>end<br>Above function is defined to find perimeter and area of a rectangle. If a rectangle has length 10 mm and width 7 mm<br>then the correct way to get perimeter and area of a given rectangle by executing this function is<br>Select one:<br>a. [A, B] = rect(10, 7)<br>b. rect(7, 10)<br>c. [A, B] = rect(7, 10)<br>d. rect(10, 7)<br>

Extracted text: function [P, A] = rect(L, W) P= 2 (L+ W); A =L*W; end Above function is defined to find perimeter and area of a rectangle. If a rectangle has length 10 mm and width 7 mm then the correct way to get perimeter and area of a given rectangle by executing this function is Select one: a. [A, B] = rect(10, 7) b. rect(7, 10) c. [A, B] = rect(7, 10) d. rect(10, 7)

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here