Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Matlab code. Has to be a script. The natural frequency of the free vibration of a cantilever is determined by cos(x)cosh(x)+1=0. Write a script to
Matlab code. Has to be a script.
The natural frequency of the free vibration of a cantilever is determined by cos(x)cosh(x)+1=0. Write a script to find the first 4 positive roots according to the following procedure. Your program should evaluate the function f(x)=cos(x)cosh(x)+1 over a set of points and looks for sign changes. It starts at x=0 and uses an increment of 0.2 up to a value of x=11. If a change in sign is detected between x(i) and x(1+1), there is a root between these two x values and this root is then determined with any methods we discussed in class. We will want all the results having at least 8 accurate decimal places. Store all your four roots in a vector called ' y, that is y= [first root, second root, third root, fourth root] 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