hi, i have been working on a problem recently, involving plotting the course of a rocket with constant thrust, launched at an angle. I know how to plot the course of a trajectory with just the power at launch but i am unsure how to go with constant thrust.
i have got a small simulator for launching something at 90 degrees, but i don't really like how it looks.
input "weight(pounds)?",m
input "thrust(pounds per second)?",p
input "fuel amount(pounds)?",f
input "fuel consumtion rate (pounds per second)?",br
do
f = f - (br/4)
if f <= 0 then gosub fall
if d = 1 then end
y = y + ((p-w)/4)
x = 320
dot x,y
wait 250
loop
fall:
ink rgb(255,0,0),0
repeat
fr = fr + 2
y = y - fr
dot x,y
wait 250
until y <= 0
d = 1
return
the dot is where the rocket would be and is only updated about 4 times a second!!! i suggest for best results making rocket weight 110 lbs, thrust 130 lbs per second, fuel about 100 lbs, and consumption rate about 10 lbs per second. whitish-blue is raising, red is falling.
Your signature has been erased by a mod