Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please follow each step, step-by-step and if possible state what it is you are doing in the code so I can metal follow through please
Please follow each step, step-by-step and if possible state what it is you are doing in the code so I can metal follow through please as well as type it up thank you. Using Python code in Jupiter notebook can someone please help me answer this Problem? could you please type your code as a response please so it's easier to read? Thank you.
Ymatplotlib inline import matplotlib.pyplot as plt import numpy as np import numpy.random as rnd import pandas as pd Write a simulation using an ODE solver of a projectile moving in 2D, in SI units. The projectile should have a downward gravitational acceleration of ay=9.806m/s2. Launch the projectile from position (0,0). Write a general function which takes the initial velocity vector and returns the solution. A) Give the projectile an initial velocity of (50,50)m/s. Simulate the projectile long enough to see where it lands (the ground is at y=0 ). How far does it go ( x value where it hits the ground)? What maximum height does it reach? B) Add a drag where the direction is opposite the velocity, with a magnitude of v2, where =103m1. What are the new maximum height and distance traveled along the ground? C) Make a plot of x,y comparing the two trajectoriesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started