Microeconomics Project

Here is a (draft of a) project I am doing for a Microeconomics class at Empire State College.

Here is the project:


No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!

Possible Problems

Abbreviations

Controls

There are two variables which can be changed:

slope

This is the slope of the demand curve, which is displayed as the AR, except when the slope is zero, when the AR is the same as the MR. The slope must be a valid (floating point) number and must be less than zero.

intercept

For a non-zero slope (a price maker), the intercept is the place the demand curve will cross the "Quantity" (x-axis) line. An increase in the intercept will shift the demand curve to the right. However, for a zero slope (a price taker), the demand curve doesn't cross the x axis, so in this case, it will be the y intercept, or price. May I suggest that for a zero slope, a low price (perhaps around 15) might be more appropriate, since the graphs do not adjust their scales automatically. The intercept must be a valid (floating point) number

The "Update" Button

Clicking the "Update" Button causes both graphs to be re-drawn. This is very quick. It can be used after slope or intercept is updated, or any time that the graph(s) are not properly displayed.

The Graph Scale

Please note that the "scale" of the graphs will change as values are changed. Both graphs will use the same "x" value, but it may change as the slope or intercept change. Each graph has its own value for the "y" scale. Again, they will change as the inputs change. Note that this is not a particularly sophisticated "dynamic scale", but it works pretty well for most "reasonable" values.