Linear algebra solver
Algebra is like marmite, you either love it or hate it! However, algebra is very important to computer scientists as we are very used to given variables numbers!
Linear equations are equations which are in the form –
y =ax + c
For example –
y = 2x + 1
y = 4x + 7
y = 3x – 12
You are to write a program which will allow the user to enter a linear equation and output the solution. You could allow them to enter the whole function, or just the coefficients (the numbers!). You do not have to show the working out, but kudos on you if you can!
Example
y = 2x + 1
0 = 2x + 1
-1 = 2x
x = -0.5

You need to log in or create an account to submit code!











