Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed
image text in transcribed
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

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

List three fraud- related audit procedures for cash.

Answered: 1 week ago

Question

What is a verb?

Answered: 1 week ago

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago