diff options
Diffstat (limited to '1553/CH24/EX24.22/24Ex22.sce')
-rw-r--r-- | 1553/CH24/EX24.22/24Ex22.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1553/CH24/EX24.22/24Ex22.sce b/1553/CH24/EX24.22/24Ex22.sce new file mode 100644 index 000000000..99b91e155 --- /dev/null +++ b/1553/CH24/EX24.22/24Ex22.sce @@ -0,0 +1,10 @@ +//chapter 24 Ex 22
+
+clc;
+clear;
+close;
+side=20; diagonal1=24;
+x=sqrt(side^2-(diagonal1/2)^2);
+diagonal2=2*x;
+area=(1/2)*(diagonal1*diagonal2);
+mprintf("The area of rhombus is %d square cm",area);
|