summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.8/25Ex8.sce
blob: ed01d0bc612fff42f6e77c9336dcf2548044684a (plain)
1
2
3
4
5
6
7
8
9
//chapter 25 ex 8
clc;
clear;
close;

a=sqrt(1734/6);      //given surface area=1734 and by formula surface area=6*a^2

volume=a^3;
printf("The volume of cube is %d cubic cm",volume);