diff options
Diffstat (limited to '1553/CH24/EX24.8/24Ex8.sce')
-rw-r--r-- | 1553/CH24/EX24.8/24Ex8.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1553/CH24/EX24.8/24Ex8.sce b/1553/CH24/EX24.8/24Ex8.sce new file mode 100644 index 000000000..186380d54 --- /dev/null +++ b/1553/CH24/EX24.8/24Ex8.sce @@ -0,0 +1,12 @@ +//chapter 24 Ex 8
+
+clc;
+clear;
+close;
+peri1=40; peri2=32;
+side1=peri1/4; //side=perimeter/number of sides
+side2=peri2/4;
+area3=side1^2-side2^2; //given
+side3=sqrt(area3);
+peri3=side3*4;
+mprintf("The perimeter of 3rd square is %d cm",peri3);
|