summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.25/25Ex25.sce
blob: f9c96f70956d56886c831f6ac1248b8e9065d811 (plain)
1
2
3
4
5
6
7
8
//Ch25_Ex25
clc;
clear;
close;
r=10.5;
vol=(4/3)*(22/7)*r^3;
surfaceArea=4*(22/7)*r^2;
mprintf("Volume= %.0f cubic cm\n Surface Area=%.0f square cm",vol,surfaceArea);