Demo

20 Reputation

One Badge

6 years, 61 days

MaplePrimes Activity


These are questions asked by Demo

Hi there

I'm an old user of Maple, but I've never been able to plot functions with unit. You can see my latest attempt down below

b := 120*Unit('mm');
h := 200*Unit('mm');
V := 8*Unit('kN');

I__x := (1/12)*b*h^3

Q(x):=(1/2)*((1/4)*h^2-(100*Unit('mm')-x)^2)*b 
tau(x):=V*Q(x)/(I__x*b)

plot(Q(x(Unit('mm')), units), x = 0*Unit('mm') .. 100*Unit('mm'))

Plot_function_with_units.mw

If anyone is able to help me with this problem, I would greatly appreciate it.

Page 1 of 1