# Calculating emissions from consumption

The objective of this problem is to know emissions from Volvo cars knowing the consumption.

We have used R programming language to analize more than 500 Volvo models available at Idae Website IDAE website

We have found a linear regression between emissions and consumption described in the following mathematical formula (see below) written in Mathjax and calculated in R programming languages using data from 500 Volvo models.

#### Our formula obtained from 500 Volvo car models

$emissions(gCO_2/100km) = 22.23+10.48\times consumption$
Consumption (L/100km):

Emissions (gCO2/100km):