Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment 2: Phase 2 of the project - Activity Simulation You need to code the following functions: calcFallFor Person() o This is the main physics
Assignment 2: Phase 2 of the project - Activity Simulation You need to code the following functions: calcFallFor Person() o This is the main physics simulating code that will use numerical methods with derivatives using Euler's method (also refer to textbook excerpts) to calculate a vector of positions and vector of speeds for the fall of the customer at discrete time steps (delta time). Refer to Figure 1 and Figure 2 for example vector plots. It will also return the customer fall time (from plane to ground) in seconds. getTime ForPerson() This is the customer fall time (from plane to ground) in seconds. getMaxSpeedForPerson() This is the maximum speed achieved during the entire customer fall activity. .getCostForPerson() O This is the customer only expenses to the company. Beginner customers need to tandem jump which will require an instructor. Experienced customers can jump on their own. ) getTimePerTripl This is the total time for the plane to leave ground, reach altitude, remain at altitude for all jumps then finally descend back down to ground five times faster than the lifting rate .getCost PerTripo This is the total cost to company of the excursion trip. This includes the expenses of the customers involved (including tandem instructors for beginners) and all plane rental costs. This will provide a cost baseline for future profit calculations. 6 Vertical Postion Plot - [meters above ground] 4500 4000 3500 E 3000 e 2500 Vertical Position (m) 2000 1500 1000 500 0 0 500 1000 1500 2000 2500 3000 Time Steps (Delta Time) Figure 1. Example vertical position plot for customer (altitude = 4200m; deltaT-0.1s). Vertical Spood Plot (m/s) 60
Step 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