% Example 1_1:  Compute surface area of a sphere
% A: surface area of the sphere
% r: radius of the sphere

r= input('Enter the radius: ');
A= 4*3.14159*r*r;
fprintf('Surface area is %7.2f.\n', A);
