Assignment 1 - ML
Assignment 1 - ML
Assumptions:
Task:
You are required to read the contents of the attached file (input.txt) containing 3
numbers in each row (example below)
279
468
-1 5 9
32 56 90
………..
Now assuming that each row represents the values of the variables a, b and c
respectively of the quadratic equation.
You are required to compute the answer/roots of the equation for each line and then
print it in a new file named (output.txt) so that each row will now contain 5 values,
first three would be a, b and c and the fourth and fifth one would be the roots of your
equation.