#We have to take the equations from echelon form and change them into standard form. The equations should be: 8x + 4y = 5 and 4x + 2y = 5 The hint to the exercise has different numbers: 8x + 4y = 5 and 2x + y = 2 # My Code: x = np.linspace(0, 20, 1000) y1 = 8*x - (5/4) y2 = 4*x - (5/2) plt.plot(x, y1, color="blue") plt.plot(x, y2, color="blue") plt.show() #The Solution Code: x = np.linspace(0, 20, 1000) y1 = -2*x + (5/4) y2 = -2*x + (5/2) plt.plot(x, y1, c='blue') plt.plot(x, y2, c='blue')
What I expected to happen:
I have the right solution, based on the numbers of the exercise, but the exercise is checking the wrong answers.
What actually happened:
My graphs look very different from the solution graphs. There are issues with the hint and the solution is using the wrong coefficients for x.