summaryrefslogtreecommitdiff
path: root/1553/CH24/EX24.19/24Ex19.sce
blob: 5d2d20a149eef26b6c2d78a46920cd6dcc755e42 (plain)
1
2
3
4
5
6
7
8
9
10
//chapter 24 Ex 19

clc;
clear;
close;
l=3*sqrt(3);
area=((sqrt(3))/4)*l^2;
height=area/((1/2)*l);
mprintf("The height of %.1f cm",height);