Mudassir Lodi Homework for Lecture 20 of Dr. Z.’s Dynamical Models in Biology class Version of Nov. 12, 2021, thanks to Julian Herman, who spotted a typo, and won 5 dollars) Email the answers (either as .pdf file and/or .txt file) to ShaloshBEkhad@gmail.com by 8:00pm Monday, Nov. 15,, 2021. Subject: hw20 with an attachment hw20FirstLast.pdf and/or hw20FirstLast.txt Also please indicate (EITHER way) whether it is OK to post 1. Carefully read, and understand, the Maple code for the following procedures (type Help(ProcedureName); for instructions) in the newly created Maple package https://sites.math.rutgers.edu/~zeilberg/Bio21/DMB.txt , • SIRS • EquP • SEquP • TimeSeries • PhaseDiag Use them to compute (i) the equilibrium points (ii) the stable equilibrium points, and plot the evolution in the SIRS model that has total population of 1000 people that at the start had 800 susceptible (but not infected) and 200 infected (and hence at the start no one removed yet), of the number of Susceptible individuals as a function of time from t = 0 to t = 10, and another plot for the number of infected individuals, and finally a phase-diagram that ignores time, but shows how the pair (Susceptible, Infected) evolves from t = 0 to t = 10, using mesh size 0.01 for the discretization, for the following values of β (recall that N = 1000) For for each of the following choices (i) ν = 2, γ = 5 EquP(SIRS(800,200,0.00006,5,1,1000),[s,i]) SEquP(SIRS(800,200,0.00006,5,1,1000),[s,i]) (ii) ν = 3, γ = 6 EquP(SIRS(800,200,0.00009,6,1,1000),[s,i]) SEquP(SIRS(800,200,0.00009,6,1,1000),[s,i]) (iii) ν = 4, γ = 1 EquP(SIRS(800,200,0.00012,5,1,1000),[s,i]) SEquP(SIRS(800,200,0.00009,6,1,1000),[s,i]) (iv) ν = 7, γ = 10 EquP(SIRS(800,200,0.00021,7,1,1000),[s,i]) SEquP(SIRS(800,200,0.00009,6,1,1000),[s,i]) Confirm that the horizontal asymptotes of the time series for the number of susceptible, and the number of infected persons are consistent with the stable equilbrium points. (Note that when Maple draws a graph the horizontal axis is usually not y = 0, so don’t be fooled) 2. Using RandNice([x,y],3) 3 times, (call it F) generate three random transformations from R2 to R2. For each of them do the following (i): Find the set of equilibrium points (ii): Find the set of stable equilibrium points [(1 - 3*x - 3*y)*(2 - x - 2*y), (2 - 3*x - 2*y)*(1 - 3*x - y)] {[0, 1], [1/3, 0], [4/3, -1]} [(1 - 2*x - 3*y)*(2 - 2*x - 3*y), (3 - x - 2*y)*(1 - x - 2*y)] {[-7, 5], [-5, 4], [-1, 1], [1, 0]} [(2 - 3*x - 3*y)*(2 - 2*x - y), (1 - 3*x - y)*(2 - x - 2*y)] {[-1, 4], [-2/3, 4/3], [1/6, 1/2], [2/3, 2/3]} EquP(F,[x,y]) SEquP(F,[x,y]) If the set of equilibrium points is empty, try again, until you get a transformation that has at least one equilibrium point. Then do the following (iii): Plot the Time series for x(t) and y(t) with mesh-size 0.01 from t = 0 to t = 10, as well as phase diagrams in the (x,y)-plane for each case. Taking initial conditions close (but not too close) to the stable equilibrium points. Confirm that the horizontal asymptotoes coincide with those predicted by the stable equilibria. Also draw the phase diagrams. 3. Carefully read, and understand, the Maple code for Orbk, and use it to find, numerically, the stable equilibrium point of the difference equation (experiment with different initial conditions and see if you get the same long-term behavior). Then confirm it using ToSys followed by SFP. F := Orbk(1, z, (3 + z + z[1] + z[2])/(1 + z + z[1]), 1, 1000, 1010)