//it finds the total area of a rectangle pyramid
//argument0 = pyramid's base width
//argument1 = pyramid's base height
//argument2 = pyramid apothem
var total base area;
base = argument0*argument1;
area = (2*argument0)+(2*argument1)*argument2/2;
total = base+area;
return total
Enjoy the site? Donations are helpful - even just $1