gistlib
main.mfunction area = computeSurfaceArea(r) area = 4 * pi * r^2; end radius = 5; surface_area = computeSurfaceArea(radius); disp(surface_area); 143 chars8 lines
function area = computeSurfaceArea(r) area = 4 * pi * r^2; end radius = 5; surface_area = computeSurfaceArea(radius); disp(surface_area);
gistlibby LogSnag