Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The height in meters, y of a projectile, as a function of time is given by mato sin(0) gn?) to)-gm (t-to) +Yo where m 10kg

image text in transcribed
image text in transcribed
The height in meters, y of a projectile, as a function of time is given by mato sin(0) gn?) to)-gm (t-to) +Yo where m 10kg is mass of projectile, = 0.1 is the coefficient of friction, to = 0 is the initial timing, 30 = y(to)-1m is the initial height. g = 9.8 is the gravitional constant, = 100 is the initial speed, = the angle of launch (FYI: The function y(t) is a solution of the differential equation my"(t)t)-mg, with constraints y(to) = yo and y'(to) = to sin(0).) 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 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 maxiter - A maximum number of iterations. Output r-The approximate root of your function (lf(r)|

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

Why is treatment usually ineffective for this personality disorder?

Answered: 1 week ago

Question

What could the team have done to avoid the situation described?

Answered: 1 week ago