Answer:
Matlab capacity to ascertain the surface territory of an inflatable
work surfaceArea = surfaceBalloon(Volume,M)
Step-by-step explanation:
% Matlab capacity to ascertain the surface territory of an inflatable
work surfaceArea = surfaceBalloon(Volume,M)
% compute R
cubeOfR = 3 * Volume * ones(1,length(M));
cubeOfR = cubeOfR ./(pi * (M+2));
R = power(cubeOfR,1/3);
% compute surface zone
power1 = power(M,2);
power1 = 1+ power1;
power1 = power(power1,1/2);
power1 = 2 + power1;
surfaceArea = pi .* power(R,2) .* power1;
end
% End of capacity
% Matlab content to utilize work surfaceBalloon to locate the surface zone of
% expand
clc;
V = 14000;
M = (0:10);
surfaceArea = surfaceBalloon(V,M);
plot(M,surfaceArea);
xlabel('M');
ylabel('Surface Area m^2');
ylim([2900 5000]);
title('M v/s Surface Area of an inflatable');
saveas(gcf,'surfaceAreaPlot','png'); % spare the chart
% end of primary content