The money demand function, md = md(r,y) is:
md = 75 + 0.23*y  35*r + 1.5*r^{2}
For y = 1221.74, money demand as a function of the rate of interest r is:
md = md(r) = 356  35*r + 1.5*r^{2}
This red money demand curve, md, intersects the green money supply line, ms, at r = 6.
The pair (r, y) = (6, 1221.74) lies on the LM curve in the left panel.
For y = 980.08, money demand as a function of the rate of interest r is:
md = md(r) = 300.42  35*r + 1.5*r^{2}
This blue money demand curve, md, intersects the green money supply line, ms, at r = 3.35.
The pair (r, y) = (3.35, 980.08) lies on the LM curve in the left panel.
For y = 821.74, money demand as a function of the rate of interest r is:
md = md(r) = 264  35*r + 1.5*r^{2}
This yellow money demand curve, md, intersects the green money supply line, ms, at r = 2.
The pair (r, y) = (2, 821.74) lies on the LM curve in the left panel.
