Calculates the marginal rate of substitution between two goods. Subclasses are required to implement this method.
Parameters
good1 — str, required
The name of the first good.
q1 — num, required
The current quantity of the first good.
good2 — str, required
The name of the second good.
q2 — num, required
The current quantity of the second good.
Return Value — num
The marginal rate of substitution between good1
and good2
.
Notes and Examples