Jun-14-2020, 06:34 PM
The only way a linear equation can be changed is a stretch horizontally and/or vertically and an offset on the x and/or y axis. Storing a bunch of different forms would be inefficient, it would be much better to use an algorithm rather than something hard-coded. Think of an algorithm or method that you would use to do this. It often helps to make a program think and work the same way we would, cause then it's basically a human that can perform tasks very quickly.