summaryrefslogtreecommitdiff
path: root/1553/CH25/EX25.7
diff options
context:
space:
mode:
Diffstat (limited to '1553/CH25/EX25.7')
-rw-r--r--1553/CH25/EX25.7/25Ex7.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1553/CH25/EX25.7/25Ex7.sce b/1553/CH25/EX25.7/25Ex7.sce
new file mode 100644
index 000000000..e75d26196
--- /dev/null
+++ b/1553/CH25/EX25.7/25Ex7.sce
@@ -0,0 +1,8 @@
+//Chapter 25 Ex 7
+clc;
+clear;
+close;
+a=(6*sqrt(3))/sqrt(3);...//since diagonal of a cube=sqrt(3)*side;
+Volume=a^3;
+Sur_area=6*a^2;
+printf("The volume of cube is %d cubic meter \n Surface area is %d centimeter square.",Volume,Sur_area);