Pengyi Sun
9/16/2014
Knowing the MPG of your car can help you better estimate the cost of driving
It gives you an exact estimates instead of a range given by the car makers
It can help you make better decisions while comparing different cars
Very easy to use
Can use anywhere you have internet access
Just 3 clicks and you will get your results

Input the weight of the car. The weight is in lb/1000 unit.
Choose the transmission type, either automatic or manual.
Choose how many cylinders of the engine from 4 to 8.
fit1<-lm(mpg~cyl+wt,data=subset1)
fit2<-lm(mpg~cyl+wt,data=subset2)