Section 1
The variables in the mtcars data set are:
- mpg - The miles/(US) gallon
- cyl - The number of cylinders
- disp - Displacement (cu.in)
- hp - Gross horespower
- drat - Rear axle ratio
- wt - Weight (1000lbs)
- qsec - 1/4 mile time
- vs - Enginge (0 = V-shaped, 1= straight)
- am - Transmission (0 = automatic, 1 = manual)
- gear - Number of forward gears
- carb - Number of carburetors
Section 2
\[mpg =
\frac{miles\traveled}{gallons\of\gas}\]
Section 3
