2-level Reversed IDH

4140 days ago by medlock

var('S1 S2 I1 I2 IT g beta f11 f12 sigma1 sigma2') U = (1 - IT) * (g + sigma2 * beta * f12 * IT) / (g + beta * f12 * IT) 
       
@interact def _(g = slider(0, 2, 0.05, 0.1), f12 = slider(0, 1, 0.05, 1), sigma2 = slider(1, 5, 0.1, 1.1)): P = implicit_plot(1 - beta * U(f12 = f12, g = g, sigma2 = sigma2), (beta, 0, 2), (IT, 0, 1)) show(P, axes_labels = (beta, IT)) 
       
f12 
sigma2 

Click to the left again to hide and once more to show the dynamic interactive window