Complete the Test Case table Write Matlab statements to calc
Complete the Test Case table
Write Matlab statements to calculate the volume of the solid shell of a hollow sphere, where ri is the inner radius and ro is the outer radius. First complete row one of the test table and also add three more meaningful test cases.Solution
a= input(\'Enter the outter radius of a circle: \');
b = input(\'Enter the inner radius of a circle: \');
Volume=4.1888*(a*a*a-b*b*b)
Output
a=.5
b=.4
volume=0.25552
