Question: Code in R Solution of the difference equation x n = r x n - 1 ( 1 - x n - 1 ) ,
Code in R
Solution of the difference equation with starting value x a Write a function
quadmap start, rho, niter which returns the vector dots, where and niter
denotes n start denotes x and rho denotes r
Try out the function you have written: for and you should get
Try quadmap rho niter Now type this into the Console: plot
type Also try plot: type
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
