Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The value of exy can be expressed using Taylor series expansion as follows: xnyn xoyo xy1 xy2 Xnyn L n ! O! ' 1! '

image text in transcribed

The value of exy can be expressed using Taylor series expansion as follows: xnyn xoyo xy1 xy2 Xnyn L n ! O! ' 1! ' 2! z = exy = - = -+ - + - +...+- n! n= 0 Especially for small xy product, this summation quickly converges to the exact value of exy and higher order terms become unnecessary for practical applications. For example, the third- order Taylor series approximation of exy is expressed as yn yn x2y2 73 73 z = exy = == 1 + xy + 2ta n! n=0 and for small xy product this approximates the value of exy very well. Write a MATLAB program that does the following: a) Utilizing FOR loops calculate the pth order Taylor series expansion of exy where x values are from 0.5 to 1 with 0.1 increments {0.5, 0.6, 0.7, 0.8, 0.9, 1} and y values are from 1 to 3 with 1 increment{1, 2, 3}. The order of the Taylor series should be provided by the user. b) Calculate the percentage error between the value you get with MATLAB's built-in exponent function exp() and the Taylor Expansion approximation using the equation below. |Taylor's approximation exact value] Percentage Error = -x 100% exact value The value of exy can be expressed using Taylor series expansion as follows: xnyn xoyo xy1 xy2 Xnyn L n ! O! ' 1! ' 2! z = exy = - = -+ - + - +...+- n! n= 0 Especially for small xy product, this summation quickly converges to the exact value of exy and higher order terms become unnecessary for practical applications. For example, the third- order Taylor series approximation of exy is expressed as yn yn x2y2 73 73 z = exy = == 1 + xy + 2ta n! n=0 and for small xy product this approximates the value of exy very well. Write a MATLAB program that does the following: a) Utilizing FOR loops calculate the pth order Taylor series expansion of exy where x values are from 0.5 to 1 with 0.1 increments {0.5, 0.6, 0.7, 0.8, 0.9, 1} and y values are from 1 to 3 with 1 increment{1, 2, 3}. The order of the Taylor series should be provided by the user. b) Calculate the percentage error between the value you get with MATLAB's built-in exponent function exp() and the Taylor Expansion approximation using the equation below. |Taylor's approximation exact value] Percentage Error = -x 100% exact value

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

Marketing Database Analytics

Authors: Andrew D. Banasiewicz

1st Edition

0415657881, 978-0415657884

More Books

Students also viewed these Databases questions

Question

=+What can we learn about the PVA data from this decision tree?

Answered: 1 week ago