I also included an answer key as several people have asked for it. Perfect for ap physics c: Answer key included so copy paste in a safe space : lab objectives:. People remembered the simulations that he included in his talks the most. Students adjust height and velocity and angle of a projectile and analyze its. Answer key included so copy paste in a safe space : lab objectives:. Lab name date phet vector and projectile motion inquiry activity introduction you will use computer simulation today to reinforce your ideas of vectors, Keywords, gravity, horizontal, vector, velocity, vertical ; I also included an answer key as several people have asked for it.
Phet projectile motion activity integrated science ii name. Earth's gravitational acceleration is 9. What is Projectile Motion? It is a type of motion experienced by a projectile when launched.
It causes the projectile to move along a parabolic path. The vertical component of the projectile is given by the gravitational acceleration and the horizontal component is given by its initial velocity.
This assumes that g is positive, which is again wrong in your code. Unless you set the y axis to point downwards, but the word "projectile" makes me think this is not the case. I made use of the fact that plt. I also used [None,:] and [:,None] to turn 1d numpy array s to 2d row and column vectors, respectively.
By multiplying a row vector and a column vector, array broadcasting ensures that the resulting matrix behaves the way we want it i. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 1 month ago. Active 6 years, 1 month ago. Viewed 26k times. Also, no need to cast t to a np. Add a comment. Active Oldest Votes.
First of all g is positive! After fixing that, let's see some equations: You know this already, but lets take a second and discuss something. Let's see the code: import numpy as np import matplotlib.
Let the cannon be placed in the origin, i. This pair is an initial coordinate of a missile:. Its motion is determined by gravity. And the horizontal motion is steady, i. It results in the following system of equations:. Below, we show a simple numerical solution of this problem using python. Our physical background is given by the Eqns 1 and one needs to integrate them.
0コメント