I am making a java program and part of it is to graph the path of a projectile x vs y.
The problem i have is that when i use this equation, it messes up the rest of the graph, whenever tan of the angle is negative, so say for 45 degrees the program works fine, but for 43 degrees the graph is...