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

clc;
clear;
close;
l=15; Diag=17;
b=sqrt(Diag^2-l^2);
area=l*b;
printf("The area of the field is %d square meter",area);