Eau versée en ml

Hauteur
d'eau
en cm

d = 20 (slider from 0 to 40)
hVase = 30 (slider from 0 to 40)
A: (0, 0, 0)
C: (0, 0, hVase)
B: (0, d / 2, hVase)
a, c, b = Cone(C, A, d / 2)
hEau = 20.5 (slider from 0.1 to hVase)
O: (0, 0, hEau)
f = Segment(B, A)
d_1 = Plane(O, xOyPlane)
D = Intersect(f, d_1)
g = Segment(O, D)
e, h, i = Cone(O, A, g)
M: (d / 4, 0, hVase / 2)
N: (((-d)) / 4, 0, hVase / 2)
Q: (0, d / 4, hVase / 2)
R: (0, ((-d)) / 4, hVase / 2)
U: (0, d / 2.2, 0)
S: (((-d)) / 2.2, 0, 0)
V: (0, ((-d)) / 2.2, 0)
T: (d / 2.2, 0, 0)
j = Segment(N, S)
k = Segment(Q, U)
l = Segment(M, T)
m = Segment(R, V)
Om: (0, 0, hVase / 2)
p = Circle(Om, d / 4, zAxis)
P: (e, hEau)
texte1: "Eau versée : " + e + " ml    -     Hauteur d'eau : " + hEau + " cm"
texte2: "Diamètre maximal : " + d + " cm"
texte3: "Hauteur du vase : " + hVase + " cm"
Base: a / hVase
PPP: P