Dichte

Masse

Volumen

ρ(m)

ρ(V)

V = 8 (slider from 0 to 10, step 0.1)
ρ_1(m) = m / V
m = 6 (slider from 0 to 10, step 0.1)
ρ_2(V) = m / V
ρ_m(m) = If[0 ≤ m ≤ Infinity, ρ_1(m)]
ρ_V(V) = If[0 ≤ V ≤ Infinity, ρ_2(V)]
a = true
b = false