Question: 14. Use the code below to find out which scenario (1 or 2) gives stable coexistence. For each scenario, do steps (a) and (b) as
14. Use the code below to find out which scenario (1 or 2) gives stable coexistence. For each scenario, do steps (a) and (b) as follows: a) Choose values for 12 and 21 that satisfy the conditions of the scenario. The code will then calculate the predicted equilibrium abundances of the two species, N1_equil and N2_equil. Use those abundances as the initial abundances (replace the ??) and verify that those abundances do not change over time - which confirms that those abundances form an equilibrium. Show your plot. b) Run the model again, this time with different initial abundances, and describe what happens. Show your plot. Make sure to do steps (a) and (b) for both scenarios 1 and 2. ## set parameter values r = 0.1 K1 = 100 K2 = 100 alpha12 = ?? alpha21 = ?? ## calculate predicted equilibrium abundances N1_equil = (K1 - alpha12 * K2) / (1 - alpha12 * alpha21) N2_equil = (K2 - alpha21 * K1) / (1 - alpha12 * alpha21) ## call the Lotka-Volterra model model = LV_Model( initial_N = c(??, ??), intrinsic_growth_rate = c(r, r), carrying_capacity = c(K1, K2), competition_coefficient = c(alpha12, alpha21), final_time = 1000, time_step = 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
