Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A. Write a program in matlab to find the first 10 positive solutions of x=cot(x) using newton integration. B. Find a formula for the approximation

A. Write a program in matlab to find the first 10 positive solutions of x=cot(x) using newton integration.

B. Find a formula for the approximation of the solutions using 1 step of newton integration.

The correct program is similar to the one I have down below but it is incorrect. I need help modifying my program to answer parts A and B. Thanks.

for n=1:10 x=n*pi+pi/2; e=1; while e>1.E-10 y=x-(x*cos(x)-sin(x))/(-x*sin(x)); e=abs(x-y); x=y; end disp([n,x,n*pi+pi/2-1/(n*pi+pi/2),x-tan(x)]); end

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

Decisions Based On Data Analytics For Business Excellence

Authors: Bastian Weber

1st Edition

9358681683, 978-9358681680

More Books

Students also viewed these Databases questions

Question

Find dy/dx if x = te, y = 2t2 +1

Answered: 1 week ago

Question

1. Explain how business strategy affects HR strategy.

Answered: 1 week ago