(3) Problem 13.17. Write your own Matlab function that performs a Golden- Section Search to obtain the solution. Print the code and clearly indicate your answer. 13.17 The trajectory of a ball can be computed with y = (tan 00)x g 2v cos 00 +yo where y = the height (m), 00 = the initial angle (radians), v₁ = the initial velocity (m/s), g = the gravitational constant = 9.81 m/s², and yo the initial height (m). Use the golden-section search to determine the maximum height given yo = 1 m, vo = 25 m/s and 0 = 50°. Iterate until the approximate error falls below ε = 1% using initial guesses of x₁ = 0 and x₁ = 60 m.

Elements Of Electromagnetics
7th Edition
ISBN:9780190698614
Author:Sadiku, Matthew N. O.
Publisher:Sadiku, Matthew N. O.
ChapterMA: Math Assessment
Section: Chapter Questions
Problem 1.1MA
icon
Related questions
Question

See 2 images

(3)
Problem 13.17. Write your own Matlab function that performs a Golden-
Section Search to obtain the solution. Print the code and clearly indicate
your answer.
Transcribed Image Text:(3) Problem 13.17. Write your own Matlab function that performs a Golden- Section Search to obtain the solution. Print the code and clearly indicate your answer.
13.17 The trajectory of a ball can be computed with
y = (tan 00)x
g
2v cos 00
+yo
where y = the height (m), 00 = the initial angle (radians), v₁ = the
initial velocity (m/s), g = the gravitational constant = 9.81 m/s²,
and yo the initial height (m). Use the golden-section search to
determine the maximum height given yo = 1 m, vo = 25 m/s and
0 = 50°. Iterate until the approximate error falls below ε = 1%
using initial guesses of x₁ = 0 and x₁ = 60 m.
Transcribed Image Text:13.17 The trajectory of a ball can be computed with y = (tan 00)x g 2v cos 00 +yo where y = the height (m), 00 = the initial angle (radians), v₁ = the initial velocity (m/s), g = the gravitational constant = 9.81 m/s², and yo the initial height (m). Use the golden-section search to determine the maximum height given yo = 1 m, vo = 25 m/s and 0 = 50°. Iterate until the approximate error falls below ε = 1% using initial guesses of x₁ = 0 and x₁ = 60 m.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Elements Of Electromagnetics
Elements Of Electromagnetics
Mechanical Engineering
ISBN:
9780190698614
Author:
Sadiku, Matthew N. O.
Publisher:
Oxford University Press
Mechanics of Materials (10th Edition)
Mechanics of Materials (10th Edition)
Mechanical Engineering
ISBN:
9780134319650
Author:
Russell C. Hibbeler
Publisher:
PEARSON
Thermodynamics: An Engineering Approach
Thermodynamics: An Engineering Approach
Mechanical Engineering
ISBN:
9781259822674
Author:
Yunus A. Cengel Dr., Michael A. Boles
Publisher:
McGraw-Hill Education
Control Systems Engineering
Control Systems Engineering
Mechanical Engineering
ISBN:
9781118170519
Author:
Norman S. Nise
Publisher:
WILEY
Mechanics of Materials (MindTap Course List)
Mechanics of Materials (MindTap Course List)
Mechanical Engineering
ISBN:
9781337093347
Author:
Barry J. Goodno, James M. Gere
Publisher:
Cengage Learning
Engineering Mechanics: Statics
Engineering Mechanics: Statics
Mechanical Engineering
ISBN:
9781118807330
Author:
James L. Meriam, L. G. Kraige, J. N. Bolton
Publisher:
WILEY