Jun-14-2020, 05:09 PM
I will look into the
I think it is like a binomial distribution. y can be + or -, mx can be + or -, and b can be +or -. The user should be able to write the equation any way they want.
If I can take the user input in any way it is presented then convert it to the slope intercept, y=mx+b form that would be helpful.
May be I can store all the possible combinations in a list. Walk through the list and if the input matches one of the combinations then the standard form can be output.
eval()
. I am honestly thinking how many combinations are there of the equation y=mx+b?I think it is like a binomial distribution. y can be + or -, mx can be + or -, and b can be +or -. The user should be able to write the equation any way they want.
If I can take the user input in any way it is presented then convert it to the slope intercept, y=mx+b form that would be helpful.
May be I can store all the possible combinations in a list. Walk through the list and if the input matches one of the combinations then the standard form can be output.