diff options
Diffstat (limited to '1553/CH25/EX25.20/25Ex20.sce')
-rw-r--r-- | 1553/CH25/EX25.20/25Ex20.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH25/EX25.20/25Ex20.sce b/1553/CH25/EX25.20/25Ex20.sce new file mode 100644 index 000000000..8749ee297 --- /dev/null +++ b/1553/CH25/EX25.20/25Ex20.sce @@ -0,0 +1,10 @@ +//Ch25_Ex20
+clc;
+clear;
+close;
+r=21; h=28;
+slantH=sqrt(r^2+h^2); //slant height
+vol=(1/3)*(22/7)*r^2*h;
+curvedArea=(22/7)*r*slantH;
+totalArea=curvedArea+(22/7)*r^2;
+mprintf("Slant Height= %.0f cm\n Volume= %.0f cubic cm\n Curved Surface area= %.0f square cm\n Total surface area= %.0f square cm",slantH,vol,curvedArea,totalArea);
|