Page 1 of 1

Modeling Velocity of a Rocket Many real-world objects travel in jagged manner that is best represented by piecewise func

Posted: Fri Jul 01, 2022 5:50 am
by answerhappygod
Modeling Velocity Of A Rocket Many Real World Objects Travel In Jagged Manner That Is Best Represented By Piecewise Func 1
Modeling Velocity Of A Rocket Many Real World Objects Travel In Jagged Manner That Is Best Represented By Piecewise Func 1 (77.57 KiB) Viewed 30 times
code in mathlab please
Modeling Velocity of a Rocket Many real-world objects travel in jagged manner that is best represented by piecewise functions. For example, the velocity of a rocket may change sharply when thrusters are enabled or disabled and due to various external factors. The velocity of a rocket can be modelled by v(t) where t represents the time. 11t² - 5t 1100-5t v(t) = 50t+2(t-20)25 1520e-0.1(-30) 0 0≤t≤10 10 ≤ t ≤ 20 20≤t≤ 30 t> 30 otherwise Write a function that has one input, time, and produces one output, velocity. Your function should work for a single time or a vector of time values that are not in order. The function header should be formatted similarly to the following: function [out1] = RocketVelocity (in1) Remember you are free to use whatever variable names you want, but they must be listed in the same order as given in the input/output lists provided above.