Author: Created by Mr Lafferty@mathsrevision.com
Date: 23 March 2013

Height

Length

Breadth

Volume=L×B×H

Total  Surface  Area

b = 4 (slider from 1 to 10, step 1)
a = 6 (slider from 1 to 10, step 1)
A = Intersect(xAxis, yAxis)
B: (a, 0)
D: (0, b)
Length = Segment(A, B)
c = 4.2 (slider from 0 to 10, step 0.01)
G: (c + 1 + a, 1)
E: (c + 1, 1 + b)
H: (c + 1 + a, 1 + b)
h = Segment(E, H)
i = Segment(H, G)
C: (a, b)
d = Segment(B, C)
e = Segment(C, D)
j = Segment(D, E)
k = Segment(C, H)
Breadth = Segment(B, G)
l: round(Breadth)
V: a * b * l
Height = Segment(D, A)
Volume2: "$ =" + (LaTeX[Length]) + "×" + (LaTeX[Breadth]) + "×" + (LaTeX[Height]) + " $"
Voume3: "$=" + (LaTeX[V]) + " cm^3$"
f: 2 * a * l
g: 2 * l * b
m: 2 * a * b
Surface3: "Front and Back = " + (LaTeX[a]) + "×" + (LaTeX[b]) + " = " + (LaTeX[m]) + " cm^3"
Surface4: "$ Top and Bottom = " + (LaTeX[a]) + "×" + (LaTeX[l]) + "= " + (LaTeX[g]) + " cm^3$"
n: m + g + f
Surface6: "$ Total = " + (LaTeX[n]) + " cm^3 $"
F = (12.078, -1.34)
I = (16.456, -1.318)
J = (18.612, -4.156)
K = (20.13, -4.156)
Surface5: "$ Left and Right  = " + (LaTeX[l]) + "×" + (LaTeX[b]) + " = " + (LaTeX[f]) + " cm^3 $"