[Date Index] [Thread Index] [Author Index]
fill in harberger triangle
Hello, while the Filling option for Plot is great, how can I use it (or another feature of Mathematica 8) to fill in only the area between a curve and a vertical line and a horizontal line? For instance, between (1) the function Q= A * P ^ E, where A and E are given constants, (2) a horizontal line e.g. P = 100, and (3) a vertical line, e.g. Q = 20. The fill is only inside the triangle-like area. This would be the "harberger triangle" showing consumer surplus in economics. Thanks!