Skip to content

Instantly share code, notes, and snippets.

@tonyarkles
Created December 6, 2018 04:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tonyarkles/1a6c5c5617b5129dc4d40570e0f900fe to your computer and use it in GitHub Desktop.
Save tonyarkles/1a6c5c5617b5129dc4d40570e0f900fe to your computer and use it in GitHub Desktop.
Maxima units problem?
kill(all);
load("ezunits");
x : c1*t^2 + c2*t + c3$
dx : diff(x,t)$
eqns : [ev(x,t=0`s) = 0`m,
ev(x,t=5`s) = 5`m,
ev(dx,t=0`s) = 1`(m/s)]$
/*
[c3 + 0 ` s + 0 ` s = 0 ` m,
c3 + 5 c2 ` s + 25 c1 ` s = 5 ` m,
m
c2 + 0 ` s = 1 ` -]
s
In the first equation, c2 and c1 are missing, so their units don't end
up contributing, and the resulting system is unsolvable. I think?
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment