Question: Make a function in MATLAB to find the first 6 zeros of by using the Newton method It is known that L = 0.45 m

Make a function in MATLAB to find the first 6 zeros of
by using the Newton method
It is known that L = 0.45 m and
The function is supposed to take in a a value in the beginning (
) and return a root along with its error. The code is supposed to stop when the answers (6 total) have 6 correct digits
An example of the function is given as:
function [ beta , err ] = Newton_P1 ( beta_i , tol )
% THE CODE
end
38(1) (L) - f(kn) = cos(kn L cos(kn L) +1 Vj+1 = I; - f(2) f'(.;))! ,i = 0,1,2, 3... B1 = k L = 1.8751
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
