blob: aca0478d604c073391a30f069abfccef71709333 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//chapter 24 Ex 17
clc;
clear;
close;
rate=24.68; costfield=333.18;
Area=(costfield/rate)*10000;
altitude=sqrt(Area/((1/2)*3));
base=3*altitude;
mprintf("The altitude and base are %d meter and %d meter",altitude,base);
|