Question: ( 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
 (Continued exponentiation) Let y be defined by y=xxxx2 where x is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!