This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.function Solution(r)
fprintf('For r=%4.2f, the value of c is %4.2f\n',r,c);
V=1/3*pi*h.*(3*r^2-h.^2); %the dot allows you to multiply two vector
%of the same size in matlab component by component...