Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Ballistic missile help with math

Author
Message
Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 9th Oct 2008 03:48
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.


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
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 10th Oct 2008 12:35
f=ma should work for constant thrust. Assuming the force stays constant and the mass stays constant, the acceleration will stay constant (it won't be slowing down as long as there is enough force to overcome gravity)

Once you have the acceleration, then velocity will increase over time.

final velocity=initial velocity +(acceleration * time)

If your trajectory calculation is based on velocity, then as your velocity changes, so does your x and your y position.

Enjoy your day.
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 10th Oct 2008 23:59
don't forget to split your forces and velocities and such into x and y components.

Rsin(theta) and Rcos(theta) FTW!

/nerdom

Ever notice how in Microsoft word, the word "microsoft" is auto corrected to be "Microsoft" but "macintosh" just gets the dumb red underline?
Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 20th Nov 2008 03:09 Edited at: 20th Nov 2008 03:11
Ok, math is my down fall, so in the f=ma, explain: what would i use the variable f for, what would m be used for and what would a be used for?
i assume it is force = mass * acceleration? i understand the final velocity = initial velosity + (accel. * time) though.

[edit]
actually, i think i am going to abandon this. not going to be leading to where i want to go.

Your signature has been erased by a mod
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Nov 2008 17:00
I believe you would want to apply the resulting force onto your velocity vector. If anything, you would have wind resistance having a negative affect on any movement and you'd have gravity constantly forcing you down. Faster you go, the stronger the wind resistance and the higher you go, the stronger the gravitational pull(i think).


Login to post a reply

Server time is: 2025-06-07 16:58:48
Your offset time is: 2025-06-07 16:58:48