09-29-2022, 09:48 AM
The Main difference between Math and Basic is Y axis in graphs. In math the Y values increase going up the axis vertically and in Basic y values decrease going up vertically.
This is an artifact from the fact we had printers long before screens to draw graphs and rows started at 1 and increased going down the page. If there were any graphics they were printed not drawn in text screens with characters not pixels.
In Basic, because the Y axis is flipped (and the X axis is not) angles increase going clockwise about any point including the origin which is another difference between Math and Basic. The origin in Math typically is conceived to go right in middle of the view screen whereas in Basic it is hard coded to upper Left corner.
Both Math and Basic start angles due East of origin because Cos(0) = 1 and Sin(0) = 0, Cos() always has been associated with x coordinate and Sin() with the Y coordinate.
This is an artifact from the fact we had printers long before screens to draw graphs and rows started at 1 and increased going down the page. If there were any graphics they were printed not drawn in text screens with characters not pixels.
In Basic, because the Y axis is flipped (and the X axis is not) angles increase going clockwise about any point including the origin which is another difference between Math and Basic. The origin in Math typically is conceived to go right in middle of the view screen whereas in Basic it is hard coded to upper Left corner.
Both Math and Basic start angles due East of origin because Cos(0) = 1 and Sin(0) = 0, Cos() always has been associated with x coordinate and Sin() with the Y coordinate.
b = b + ...