Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( Continued exponentiation ) Let y be defined by y = x x x x 2 where x is a real number in the interval

(Continued exponentiation) Let y be defined by
y=xxxx2
where x is a real number in the interval (e-e,e1e).
(a) Noting that y=xy and using the fact provided below, write down an analytical
formula for y. This part is to be done by hand, and your answer must be written in
terms of x and a special function W given below.
Fact. Let a0. Then the solution of the equation ez=az is given by the
formula
z=-W(-1a),
where W is so-called the Lambert's W function.
?1 References:
FNC: Fundamentals of Numerical Computation (Driscoll and Braun)
LM: Learning MATLAB, Problem Solving, and Numerical Analysis Through Examples (Overman)
The notation LM 2.2-5 indicates Problem 5 at the end of section 2.2 of the textbook by Overman.
?2 To learn about the difference between numerical and symbolic computations, please read the prologue of FNC.
(b) Using the formula found in (a) and the MATLAB function lambertW provided,
calculate the value of y numerically for x=12,222,322.
Using lambertW: First, make sure that the file lambertW.m is saved in the
same directory as your homework mlx file. To evaluate W(x) using the provided
MATLAB function, just type
>> lambertW(x)
(c) Even without knowing the analytical formula, one may still compute y as follows.
Let y0=x and
y1=xx=xy0
y2=xxx=xy1
y3=xxxx=xy2
vdots
So, for any ninN,yn=xyn-1 and y=limnyn. This limit is known to exist provided
that xin(e-e,e1e). Thus y can be approximated by yn for sufficiently large n. Now,
for each of x=12,222,322, determine the smallest integer n such that |y-yn|10-10.
For the exact values of y, use the results from (b).
lambertW function :
y = lambertW(x)
y = zeros(size(x));
for i =1:numel(x)
y(i)= fzero(@(y) x(i)-y.*exp(y),-1);
end
end
image text in transcribed

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions