Answered step by step
Verified Expert Solution
Question
1 Approved Answer
matlab how can I help you understand? is it the quality of the picture? question 1 to 3 writing the code The height in meters,
matlab
how can I help you understand? is it the quality of the picture?
question 1 to 3
writing the code
The height in meters, y of a projectile, as a function of time is given by y(t) = (mvs sin() + .) (1-cz/e-to)) (e to) + yo where m = 10kg is mass of projectile, 7 = 0.1 is the coefficient of friction, to = 0 is the initial timing, yo = y(t) = Im is the initial height. g=9.8 is the gravitional constant, 2b = 100 is the initial speed, 8 = the angle of launch (FYI: The function y(t) is a solution of the differential equation my"(t) = - with constraints y(to) = yo and y(t) = to sin(@).) (t)- mg, 1. (20 points) Write a pseudocode of the bisection algorithm for computing the root of a real valued function. 2. (20 points) Implement your code as a Matlab function that utilizes a while loop, using the following input and outputs Input . f(x) - The real valued function for which you want to find the root. a, b - An interval for which you think the root lies tol - A tolerance mariter - A maximum number of iterations. Output r- The approximate root of your function (fr) 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