Rachel M.

asked • 10/13/23

Matlab limit help

% (3) Your turn: generate the first 20 sequence terms

% in the recursively defined sequence

% X1 = 0.6, X_n = 1.5*X_(n-1).*(1-X_(n-1))

% Call the sequence X (like F above).

X(1)= [0.6]; % the initial seed

for n = 2:20

X(n) = 1.5*X(n-1).*(1-X(n-1));

end

disp(X)



% Follow-up: this sequence appears to have a limit!

% Provide it's exact form below, call it XLimit:

XLimit = 3/2

disp(rats(XLimit))

the sequence for X code is correct. what is the Limit of that sequence?

2 Answers By Expert Tutors

By:

Dayv O. answered • 10/13/23

Tutor
5 (55)

Caring Super Enthusiastic Knowledgeable Calculus Tutor

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.