Dim tf = ((-fuelmass)/(-rate))
Console.WriteLine("Interval:")
Dim interval = Console.ReadLine()
Console.WriteLine("Setting (1/2):")
Dim Setting = Console.ReadLine()
Do Until Math.Round(t) = Math.Round(tf)
dy=0.5*((th/(im-rate*t))*py-9.81)*(t^2)
dx=0.5*((th/(im-rate*t))*px)*(t^2)
Console.WriteLine("t="+Math.Round(t, 4, MidPointRounding.AwayFromZero).ToString()+", Angle="+Math.Round(ang, 2, MidpointRounding.AwayFromZero).ToString()+", py="+Math.Round(py, 2, MidpointRounding.AwayFromZero).ToString()+", px="+Math.Round(px, 2, MidpointRounding.AwayFromZero).ToString()+"")
Console.WriteLine("t="+Math.Round(t, 4, MidPointRounding.AwayFromZero).ToString()+", dy="+Math.Round(dy, 3, MidpointRounding.AwayFromZero).ToString()+", dx="+Math.Round(dx, 3, MidpointRounding.AwayFromZero).ToString()+"")
Console.WriteLine("tf="+t.ToString()+", Angle="+Math.Round(ang, 2, MidpointRounding.AwayFromZero).ToString()+", py="+Math.Round(py, 2, MidpointRounding.AwayFromZero).ToString()+", px="+Math.Round(px, 2, MidpointRounding.AwayFromZero).ToString()+"")
dy=0.5*((th/(im-rate*t))*py-9.81)*(t^2)
dx=0.5*((th/(im-rate*t))*px)*(t^2)
Console.WriteLine("t="+Math.Round(t, 4, MidPointRounding.AwayFromZero).ToString()+", dy="+Math.Round(dy, 3, MidpointRounding.AwayFromZero).ToString()+", dx="+Math.Round(dx, 3, MidpointRounding.AwayFromZero).ToString()+"")