QuantEcon / lecture-python-intro

An Undergraduate Lecture Series for the Foundations of Computational Economics
https://intro.quantecon.org/
39 stars 20 forks source link

Move "Introduction to Supply and Demand" #355

Open jstac opened 7 months ago

jstac commented 7 months ago

I propose that we move https://intro.quantecon.org/intro_supply_demand.html to the start of "Essential Tools" and rename it "Supply and Demand for a Single Good".

One reason is that it's currently after https://intro.quantecon.org/linear_equations.html, which discusses supply and demand for multiple goods.

It might be nice to add

Finally, let's replace $dx$ with $\mathrm{d} x$ so that expressions like

$$ \int_0^q (d_0 - d_1x ) dx $$

are easier to read (i.e., use \mathrm{d} x)

@thomassargent30 , please let me know your thoughts.

jstac commented 7 months ago

I suggest that we replace the class with a NamedTuple and make the methods functions. This will make the lecture more aligned with later lectures.

It's also more consistent --- why are some functions methods of a class and others stand-alone functions that take the class instance as a parameter?

jstac commented 7 months ago

Related to #358

mmcky commented 7 months ago