Mathworks sample run output
EDU>> supplyDemand
:: Welcome to the CS112 Supply and Demand Version 2.0 program! ::
:: Select a data source, view supply and demand curves, ::
:: see the equilibrium price and quantity, and explore ::
:: how these values change with supply and demand ::
select the data to analyze: mathworks (1), widget (2), file (3): 1
Please type your output file name => mathOut.txt
keep current display? yes (1) no (0): 1
Equilibrium price: $116.7817
Equilibrium quantity: 5602.0721
specify the change in supply or demand as a fraction of the
maximum quantity present in the current supply or demand curves
change in supply (-0.5 to 0.5): -0.2
change in demand (-0.5 to 0.5): 0.3
keep current display? yes (1) no (0): 1
Equilibrium price: $182.3266
Equilibrium quantity: 6095.8919
keep going? yes (1), no(0): 1
change in supply (-0.5 to 0.5): 0.1
change in demand (-0.5 to 0.5): -0.2
keep current display? yes (1) no (0): 1
Equilibrium price: $87.4367
Equilibrium quantity: 5128.3243
keep going? yes (1), no(0): 0
EDU>>