acceleration code

what comments and if statements to involve while writing a program that calculates the acceleration (m/s 2) of a jet fighter launched from an aircraft-carrier based catapult, given the jet

Comments

  • [color=Blue]
    1. s = (a * t * t) / 2.;
    2. v = a * t;

    Where:
    v = 278000./3600.;
    s = 94.;

    From statement #2 we will resolve acceleration as:

    a = v/t;

    Then we replace the acceleration in statement #1:

    94. = (v * t) / 2.;

    or

    188. = v * t;

    or

    188. = t * (278000./3600.);

    from which we can get time:

    t = (278000./3600.) / 188.;

    and then acceleration:

    a = (278000./3600.) / t;
    [/color]
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion