ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Sep 2018 09:08:16 +0200Plotting systems of linear equations with 3 variableshttps://ask.sagemath.org/question/43586/plotting-systems-of-linear-equations-with-3-variables/ Hello,
Is there a way to plot these 3 equations in 3d space that would show them intersecting?
2x + 3y - z = 15,
x - 3y + 3z = -4,
4x - 3y - z = 19,
I can get the numerical answers, but I'd love to be able to show a graphical representation to students and myself.
Thank you,
Steve.
Here is the code for the numerical answers:
# 2*x + 3*y - z == 1
# x - 3y + 3z == - 4
# 4*x -3*y- z == 19
var('x,y,z')
words = solve([2*x + 3*y - z == 15, x - 3*y + 3*z == - 4,4*x -3*y- z == 19],x,y,z)
words
SteveFWed, 05 Sep 2018 09:08:16 +0200https://ask.sagemath.org/question/43586/