summaryrefslogtreecommitdiff
path: root/1322/CH21/EX21.5/193ex1.sce
blob: b48505c8f8c65f68877da5a1bb2142fd2841168d (plain)
1
2
3
4
5
6
7
8
9
10
11
12

//A=b*h/2
clear;
clc;
close;
//A= the area of triangle.b=the length of base.h=the corresponding altitude
// A depends on both b &h 
mprintf("\n A=k*b*h \n ")
k=1/2