Codegen
Jan 29th, 2006, 09:47 AM
Area of a trapezoid is:
b+B
---- * H
2
Or,
(b+B) / 2 x H
Correct?
b = Small Base
B = Big Base
H = Height
Reason I ask is that I'm trying to write a vB app out of boredom and it keeps spewing out crap.
Edit: I just noticed that when adding the 2 numbers, it just put them together.
Ex. 10 + 15 = 1015
\
nvm, figured it out.
b+B
---- * H
2
Or,
(b+B) / 2 x H
Correct?
b = Small Base
B = Big Base
H = Height
Reason I ask is that I'm trying to write a vB app out of boredom and it keeps spewing out crap.
Edit: I just noticed that when adding the 2 numbers, it just put them together.
Ex. 10 + 15 = 1015
\
nvm, figured it out.