Craft a script in a file named plusQ1 that: - prompts the user to enter a vector named Data
containing values for V0(ft/s) in the 1st element, accel (ft/s2) in the 2nd element, and t(s) in the 3rd
element. - displays the information in Data to the CW as floating point numbers with 3 digits to the
right of the decimal in an easily read format that includes the variable's name and its units. -
computes the distance traveled in the elapsed time: s=V0t +(1/2)( accel )t2. - displays the value of
s in an exponential format with 2 digits to the right of the decimal in an easily read format that
includes the variable's name and its units.

Craft a script in a file named plusQ1 that prompts the us.pdf

  • 1.
    Craft a scriptin a file named plusQ1 that: - prompts the user to enter a vector named Data containing values for V0(ft/s) in the 1st element, accel (ft/s2) in the 2nd element, and t(s) in the 3rd element. - displays the information in Data to the CW as floating point numbers with 3 digits to the right of the decimal in an easily read format that includes the variable's name and its units. - computes the distance traveled in the elapsed time: s=V0t +(1/2)( accel )t2. - displays the value of s in an exponential format with 2 digits to the right of the decimal in an easily read format that includes the variable's name and its units.