This worksheet demonstrates the use of Tolerances and Units in Maple. I wish I had this
available when I was taking University Physics, since it would have saved a crap load of
time during lab assignments.with( Tolerances ):
with( Units ):Indicate the default outputs for unit calculationsUseSystem( SI );Some measurements to play withmeas1 := 0.3145 &+- 0.0001 * Unit(m);
meas2 := 0.2231 &+- 0.0001 * Unit(m);
meas3 := 0.4122 &+- 0.0003 * Unit(um);meas1 + meas2 + meas3;sqrt( meas1^2 + meas2^2 + meas3^2 );meas1 * meas2;Let's see if we can simplify Joules per second to Watts.A := 100 * Unit(J);
B := 10 * Unit(sec);
C := A / B;