nitrogen oxide emissions · u.s. nitrogen oxide emissions data was collected on nitrogen oxide...

3
U.S. Nitrogen Oxide Emissions Data was collected on nitrogen oxide emissions in the United States from 1970 to 2000 in 5 year inter- vals. The data was put into ordered pairs with the first number being the year, the second number beingnitrogen oxide emissions in millions of metric tones, and can be seen below. To plot these data points, we use the function ListPlot[data] and the outcome was a graph of the emissions as a function of the year. We named that plot p1. In[1]:= data = 881970, 26.9<, 81975, 26.4<, 81980, 27.1<, 81985, 25.8<, 81990, 25.5<, 81995, 25.0<, 82000, 22.6<<; In[2]:= p1 = ListPlot@dataD Out[2]= 1975 1980 1985 1990 1995 2000 23 24 25 26 27 Now, we want to use the interpolation command, with the interpolation order at 0. This looks like Interpo- lation[data,InterpolationOrder->0] and is labeled as A. The function given joins the data points by rectangles, so next we want to plot the function to see this. To do this, we use the command Plot[A[t],{t,1970,2000}] and labeled it p2. In this command, A[t] stands for the interpolation function, xmin is 1970 and the xmas is 2000. Finally, we want to integrate the function which will estimate the total emissions of nitrogen oxide for all of the years from 1970 to 2000. This integration gave us an estimated 762 million metric tons. In[3]:= A = Interpolation@data, InterpolationOrder 0D Out[3]= InterpolatingFunction@881970., 2000.<<, <>D Printed by Wolfram Mathematica Student Edition

Upload: others

Post on 10-Feb-2021

9 views

Category:

Documents


0 download

TRANSCRIPT

  • U.S. Nitrogen Oxide EmissionsData was collected on nitrogen oxide emissions in the United States from 1970 to 2000 in 5 year inter-

    vals. The data was put into ordered pairs with the first number being the year, the second number

    beingnitrogen oxide emissions in millions of metric tones, and can be seen below. To plot these data

    points, we use the function ListPlot[data] and the outcome was a graph of the emissions as a function

    of the year. We named that plot p1.

    In[1]:= data = 881970, 26.9

  • In[4]:= p2 = Plot@A@tD, 8t, 1970, 20002 joins the data by quadratic cirlces. The estimated

    total emissions of nitrogen oxide for InterpolationOrder->1 were 772.75, and for InterpolationOrder->2, it

    was 774.333. These steps can be followed below.

    In[16]:= A = Interpolation@data, InterpolationOrder ® 1DOut[16]= InterpolatingFunction@881970., 2000.

  • In[20]:= p4 = Plot@A@tD, 8t, 1970, 2000