widget sample run output
% Widget Script that created widgetOut.txt
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): 2
Please type your output file name => widgetOut.txt
keep current display? yes (1) no (0): 1
Equilibrium price: $100
Equilibrium quantity: 40
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.3
change in demand (-0.5 to 0.5): -0.2
keep current display? yes (1) no (0): 1
Equilibrium price: $108.6036
Equilibrium quantity: 26.2643
keep going? yes (1), no(0): 1
change in supply (-0.5 to 0.5): -0.2
change in demand (-0.5 to 0.5): 0.4
keep current display? yes (1) no (0): 1
Equilibrium price: $151.4054
Equilibrium quantity: 53.7297
keep going? yes (1), no(0): 0
EDU>>