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);