Name: Mark Zoren B. Valmonte

Group Members: John Eakley, Jessica Vasquez, Kenneth Mosquera-Reinoso

Email: valmontem1@montclair.edu

Major: Biochemistry

Projectile Motion Simulator

Introduction

Having a calculator that could give us any value could be awesome and we made it possible by writing and using the codes below. Writing these equations and pairing them together since projectile motion is a two-dimension motion will allow us to get a better understanding of the law of physics in nature. These motions could be found anywhere such as throwing something to the trash or throwing a basketball to the ring. Potentially this calculator could be further developed to understand and mimic different types of problems that are faced in the real world.

Theory

Projectile motion is a common displacement seen in everyday life. By definition it is an object that moves in two dimensions by the influence of gravity. We can consider this as an extension of the free-fall motion. A projectile in two dimensions follows a parabolic trajectory or pathway because it “falls” a distance $1/2 gt^2$ below a straight-line trajectory. This is the case for a laboratory setting where conditions can be set to standard to not interfere with the motion.

In reality, projectile motions are affected by many other external forces. These forces, such as gravity and drag force may be taken into consideration when calculating any of the variables. Gravity is the force by which a planet or other body draws objects toward its center in simpler words the force that keeps us tied to Earth. Drag force is caused by the motion of a particle through a fluid or air. Without these forces, a projectile that is launched will forever be in motion. Using formulas previously learned, we are able to find the different variables by just knowing some facts of the motion of an object and their different components.

Statement of the Problem

I believe we all tried to throw something into a trash bin instead of walking towards it and putting the trash directly. Have you thought of the science or the explanation behind that action? Archery, Baseball, shooting, and throwing something into the bin are similar as they are all examples of projectile motion. First of all, what is a projectile? A projectile is an object that moves in two dimensions that is under the influence of gravity. It is different from free-fall, but you can say that they are related to each other since projectile motion is an enhanced or an extended version of it. Projectiles in two dimensions will follow a parabolic pathway, as shown in the image below.

In reality, projectile motions are affected by other external forces. Such as gravity and drag force. We all know that gravity is the force that is keeping us footed on Earth. Drag force is a force that opposes the motion of the projectile. Without these forces, a projectile that is launched will forever be in motion. In this simulator, you will be able to see how projectile motion works with or without drag force. The coding system is already laid out for you to use! Isn't that great!

Projectile Motion with Drag

The projectile motion is divided into two independent motions. First, the uniform motion at constant velocity occurs across the horizontal axis and a free-fall motion in the vertical direction. Both motions and the effect of Mass, Gravity, velocity, and the angle of the initial velocity will affect the motion in such a way as to create a shape of this motion resembling a parabola.

A drag force is defined as a resistance force known in fluid dynamics that is caused by the motion of a body through a fluid like air and water. This force will act in the opposite direction of the oncoming flow velocity,the relative velocity between the body and the fluid. Drag force is a complex resistance because it is dependent on an object's speed in addition to the shape and density of the medium through which it moves. Drag force is important in our code because it is one of the existing forces that can change the range of the object and the shape of the object’s motion.

The idea is that the Euler method is a straightforward formula, a method by which is the first-order numerical course of action that allows the analysis of a differential equation, given an initial value. The simple formula allows us to construct the tangent at point x and get the value of $y(x+h)$. The slope in Euler's method can be an approximated curve of solution by tangent line in every interval which is a sequence of short line segments, steps of h. This method is the most basic method for numerical integration of standard differential equations. This can be helpful in a code because we can manipulate the h and this will give us smaller steps in finding the slope giving us a better approximation.

The maximum height of the object is the point with the highest vertical position during its motion. The trajectory is going upwards until we reach the highest point, then it begins to fall after that point. This means that when the projectile motion is at its highest point the vertical velocity is going to be equal to $Vy=0$. The drag force is a resistance that makes the motion of the particle change as proven by the graph which shows how if there's drag force then the particle shifts. The fact that drag force throws an object that is moving in the opposite direction applying a resistive force.

Projectile Motion without Drag

The projectile has only a force of gravity acting upon the object causing a vertical acceleration. The horizontal motion of the given projectile results in the same pattern of the object that is in motion to remain at constant velocity throughout the period of motion. However, if there's an absence of horizontal force, the projectile will still be in motion while also having a constant horizontal motion. The horizontal forces are not needed to keep the projectile moving in a horizontal motion.

There will be a decrease in the distance that the particle can reach as you increase the drag. Without a drag, if the conditions are the same, the decrease will be visible in the graph. It can be seen that there will be a significant decrease because in nature we will encounter the air resistance every time an object it’s in motion.

This calculation could be different when the particle does not have an origin at (0,0) in our plane. We have created an equation that based on the different origin will be able to calculate the max height.

If you want to find initial height and are given gravity, time, and vy you are able to plug it into the formula $H initial=(t^2*g/2)-(t*Vy).$ This allows us to input all other values given and find our missing variable.

Horizontal projectile motion

Horizontal projectile motion is constant meaning never changing in value. This kind of projectile motion has a vertical acceleration being caused by gravity, $9.8 m/s^2$. The motion of this projectile is independent of its vertical motion. If the vertical velocity component is equal to 0, then it is an example of horizontal projectile motion. It will reach a maximum height in the air for a split second where it will be 0, then it begins to fall creating a parabolic pathway.

Free Fall

In free fall, an object moves under the influence of gravitational force only. The only acceleration is the acceleration of gravity g.

Without the effect of air resistance, each object in free fall would keep accelerating by g

Conclusion

In our experiment, we were able to design a way to find missing information by using what we were given. We could then input it and identify the missing variable. For example, if we were missing Vy but were given all the other variables that would allow us to manipulate the formula and when you plugged it into the code it helps us figure out what Vy would be. Having a projectile motion calculator that could handle many variables and distinct components can be really useful to everyday life situations. One of these useful applications could include measuring the height of a skyscraper by throwing the object and measuring time during the motion. Developing a system where knowing all the variables in an equation could predict what is missing can be useful in many situations and in developing a better understanding of motion. These practices can be used as launching a satellite to space where we need to calculate the required velocity to reach the atmosphere and start floating in space.