Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Observatorio-de-Matematica/5aeb21c1ccbefbfe418e233015e63e44 to your computer and use it in GitHub Desktop.
Save Observatorio-de-Matematica/5aeb21c1ccbefbfe418e233015e63e44 to your computer and use it in GitHub Desktop.
(%i1) eq1: a = b + c /d;
c
(%o1) a = - + b
d
(%i2) eq2: e = b - c*d;
(%o2) e = b - c d
(%i3) eliminate([eq1, eq2], [b]);
2
(%o3) [(- d (e - a)) - c d - c]
(%i4) expand(%);
2
(%o4) [(- d e) - c d + a d - c]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment