Question: (MATLAB QUESTION) function [ volume , area ] = cylinderInfo( height , radius ) % % end function [ volume ] = calcVolume( height ,

 (MATLAB QUESTION) function [ volume , area ] = cylinderInfo( height

(MATLAB QUESTION)

function [ volume , area ] = cylinderInfo( height , radius ) %

% end

function [ volume ] = calcVolume( height , radius ) %

%

function [ area ] = calcSurfArea( height , radius ) %

% end

4.3 Subfunctions D Modify cylinderInfo.m, so that the function returns the volume and area of a cylinder, given the height and radius of the base. Volume x radius2 x height Surface Area 2 x radius2 +height x 2 x Tx radius Calculate the Volume in the subfunction calcVolume Calculate the Surface Area in the subfunction calcSurfArea

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!