Income function: Create a function that takes parameters for the demand function, and which visualizes the income function, marginal income and price elasticity, and which identifies where the demand function is elastic, neutral-elastic and inelastic.

Income function

Create a function that takes parameters for the demand function, and which visualizes the income function, marginal income and price elasticity, and which identifies where the demand function is elastic, neutral-elastic and inelastic.