//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