Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose you throw a 4 - kg ball at an angle, so it s not simple free fall. Let s say you throw it in

Suppose you throw a 4-kg ball at an angle, so its not simple free fall. Lets say you throw it in the x-z direction with a speed of 5 m/s at an angle of 45 degrees with the horizontal. (Use the positive z direction for up.)(Note: all trigonometric functions in all major programming languages use radians.) Write a program that prints out the position, velocity, and acceleration of the ball at each point in time. The ball should stop when it reaches the ground again. Make sure your time increment is small enough so that you get a smooth curve. Ignore air resistance.
Print out numbers into a table as before (printing to a text file may be helpful) and use Excel to create graphs of z vs. x, x vs. time, z vs. time, speed vs. time, and the magnitude of the acceleration vs. time.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions