Reference 〉Function

CES.mrs( str good1, num q1, str good2, num q2 )

Calculates the marginal rate of substitution between two goods.

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

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.