Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use octave and excel to solve the following problems. The Maclaurin series expansion for the arctangent of x is defined for x S 1 as

Use octave and excel to solve the following problems.

image text in transcribed

The Maclaurin series expansion for the arctangent of x is defined for x S 1 as arctan x = 2n + 1 n=0 1 (-1) x2n+1 Using single precision arithmetic, calculate the approximate value of arctant /8 using 1, 2, 3, up to 50 terms. In each of the calculations, determine true and approximate relative errors. Discuss the convergence of the Maclaurin series in terms of the behavior of the errors obtained. Consider the function f(x) = x3 2x + 4 with x = -2,-1,0,1 2 and h = 0.25 initially. Use the forward, backward, and centered finite difference approximations for the first and second derivative of f(x) at given values for x. Compare the true relative errors of each method and at each value of x. d Consider also how the step size h affects the approximate value of the first and second derivatives. Use the step sizes 0.1, 0.05, 0.01, 0.005, and 0.001. Comment on the results. The Maclaurin series expansion for the arctangent of x is defined for x S 1 as arctan x = 2n + 1 n=0 1 (-1) x2n+1 Using single precision arithmetic, calculate the approximate value of arctant /8 using 1, 2, 3, up to 50 terms. In each of the calculations, determine true and approximate relative errors. Discuss the convergence of the Maclaurin series in terms of the behavior of the errors obtained. Consider the function f(x) = x3 2x + 4 with x = -2,-1,0,1 2 and h = 0.25 initially. Use the forward, backward, and centered finite difference approximations for the first and second derivative of f(x) at given values for x. Compare the true relative errors of each method and at each value of x. d Consider also how the step size h affects the approximate value of the first and second derivatives. Use the step sizes 0.1, 0.05, 0.01, 0.005, and 0.001. Comment on the results

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

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

What is understood by ROC curve?

Answered: 1 week ago

Question

What is Centrifugation?

Answered: 1 week ago

Question

To find integral of ?a 2 - x 2

Answered: 1 week ago

Question

To find integral of e 3x sin4x

Answered: 1 week ago

Question

To find the integral of 3x/(x - 1)(x - 2)(x - 3)

Answered: 1 week ago

Question

What are Fatty acids?

Answered: 1 week ago

Question

4. Make recommendations on steps to take to melt the glass ceiling.

Answered: 1 week ago

Question

1. Discuss the potential legal issues that relate to training.

Answered: 1 week ago