I've created a Manipulate expression with many variables. I would like each of these variables to have associated units as in the standard Quantity[Value,"Unit"] so that I can easily enter the values I want and get the answer in correct units. Unfortunately, Manipulate doesn't seem to tolerate this regardless of where I try to insert this feature. I'd also like to add UnitConvert to the answer so that I can see it in "mL/min".
Manipulate[
(Pi*(d/2)^2*c*e^3*Rb^2)*((3*(1 - e)*0.0728*Cos[t])/(e*L*Rb)+9800*Sin[p]))/((1 - e)^2*0.00089),
{{L, 0.07, "wick length"}, 0.01, 0.1},
{{d, 0.0068, "wick diameter"},0.001, 0.008},
{c, 1/60, 1/30},
{{e, 0.5, "porosity"}, 0.3, 0.9},
{{Rb, 0.0001, "fiber radius"}, 0.00001, 0.0002},
{{t, 70*(Pi/180), "contact angle"},0, Pi/2},
{{p, Pi/2, "wick orientation"}, 0, Pi/2}]
I've already tried replacing the bounds on each variable with quantities. And I've tried defining the symbols as quantities before entering the manipulate expression. I've also tried adding Quantity[] to each variable within the math expression. None of these works. Please help, there must be a way to do this, right?!
Quantity
insideManipulate
works, for exampleManipulate[Pi Quantity[r, "Meters"]^2, {{r, 1., "radius"}, 1, 10}]
$\endgroup$