I am using forallpeople Python library within handcalcs Python library. After performing square root calculation, the unit is not showing up at the calculation result:
<code>import handcalcs.render
from math import sqrt, pi
import forallpeople as si
si.environment('structural', top_level=True)
</code>
<code>import handcalcs.render
from math import sqrt, pi
import forallpeople as si
si.environment('structural', top_level=True)
</code>
import handcalcs.render
from math import sqrt, pi
import forallpeople as si
si.environment('structural', top_level=True)
And here is the calculation:
<code>%%render 1 short
A = (78.3*MPa)
B = (56.6*MPa)
C = (80.4*MPa)
D = sqrt(A**2 + B**2 + C**2)
</code>
<code>%%render 1 short
A = (78.3*MPa)
B = (56.6*MPa)
C = (80.4*MPa)
D = sqrt(A**2 + B**2 + C**2)
</code>
%%render 1 short
A = (78.3*MPa)
B = (56.6*MPa)
C = (80.4*MPa)
D = sqrt(A**2 + B**2 + C**2)
And here is the output:
I wonder whether there is a way of making the unit show up, i.e. D = ... = 125.7 MPa