@@ -22,7 +22,7 @@ In an earlier lecture, we learned some foundations of object-oriented programmin
2222
2323The objectives of this lecture are
2424
25- * cover OOP in more dept
25+ * cover OOP in more depth
2626* learn how to build our own objects, specialized to our needs
2727
2828For example, you already know how to
@@ -32,14 +32,14 @@ For example, you already know how to
3232
3333So imagine now you want to write a program with consumers, who can
3434
35- * hold and spend cas
35+ * hold and spend cash
3636* consume goods
37- * work and earn cas
37+ * work and earn cash
3838
3939A natural solution in Python would be to create consumers as objects with
4040
4141* data, such as cash on hand
42- * methods, such as ` buy ` or ` work ` that affect this dat
42+ * methods, such as ` buy ` or ` work ` that affect this data
4343
4444Python makes it easy to do this, by providing you with ** class definitions** .
4545
@@ -91,7 +91,7 @@ A *class definition* is a blueprint for a particular class of objects (e.g., lis
9191It describes
9292
9393* What kind of data the class stores
94- * What methods it has for acting on these dat
94+ * What methods it has for acting on these data
9595
9696An * object* or * instance* is a realization of the class, created from the blueprint
9797
@@ -363,7 +363,7 @@ k_{t+1} = \frac{s z k_t^{\alpha} + (1 - \delta) k_t}{1 + n}
363363Here
364364
365365* $s$ is an exogenously given saving rate
366- * $z$ is a productivity paramete
366+ * $z$ is a productivity parameter
367367* $\alpha$ is capital's share of income
368368* $n$ is the population growth rate
369369* $\delta$ is the depreciation rate
@@ -564,7 +564,7 @@ plt.show()
564564
565565The next program provides a function that
566566
567- * takes an instance of ` Market ` as a paramete
567+ * takes an instance of ` Market ` as a parameter
568568* computes dead weight loss from the imposition of the tax
569569
570570``` {code-block} python3
0 commit comments