Preview

Machine Problem 2: Look-Up Table

Satisfactory Essays
Open Document
Open Document
410 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Machine Problem 2: Look-Up Table
CE 27: Analytical and Computational Methods in Civil Engineering II
Machine Problem 2: Look-up Table

By:
Glenn Matthew G. Manalese
2011-01573

Submitted to:
Mr. Maxell Lumbera

19 February 2013
College of Engineering
University of the Philippines-Diliman

I.

Introduction
The amout of pollutants released by motor vehicles in a community can affect a lot of its sectors (such as agriculture, tourism), and the health of its occupants. But in transportation engineering, these amounts of pollutan ts can be predicted given the average speeds of the passing cars.
In this machine problem, a program that would calculate the amount of pollutants released by vehicles is developed by interpolating their values from the given data below: Speed[kph]
96.000000
88.000000
80.000000
72.000000
64.000000
56.000000
48.000000
40.000000

CO[g/v-km]
4.519000
4.519000
4.819000
4.963000
5.244000
5.956000
6.519000
7.938000

HC[g/v-km]
0.594000
0.594000
0.625000
0.681000
0.738000
0.763000
0.850000
0.963000

NOx[g/v-km]
1.163000
1.163000
1.075000
1.019000
0.938000
0.906000
0.850000
0.825000

The program will use the Lagrangian Interpolating Polynomial method to interpolate. II.

Objectives
In this machine problem, there are three primary objectives to be accomplished.
1. To store the table above into a file,
2. To read the file from (1) and to print it hard copy of it (interpreted as to print it to a .csv file, along with the interpolated values),
3. And to interpolate the amount of pollutants released by vehicles with an average speed of 75 kph.

III.

Methodology
To accomplish all these objectives, the program uses the following algorithm:
1. Define all preprocessor directives, functions, variables, and pointers required, #include
#include

#include double LagrangianInterpolator(double* xvalue, double*yvalue, int pointnumber, double x); int main(){ double Speed[8], CO[8], HC[8], NOx[8],

You May Also Find These Documents Helpful

  • Powerful Essays

    A Modest Proposal

    • 1424 Words
    • 6 Pages

    ASSESSING FACTORS CONTRIBUTING TO LOW SWEET POTATO YIELD AMONG SMALLHOLDER FARMERS: IN MPINGU EXTENSION PLANNING AREA IN LILONGWE DISTRICT…

    • 1424 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    The significant air pollution problem in the Los Angeles Basin has been one of the most severe environmental issues that concerned the society. Due to the American tradition, public transportations are not so commonly used; therefore, a majority of the individuals owned a car. The most commonly used transportation is the convenient motor vehicles that are driven everywhere. With the high volume of traffic daily, the tremendous amount of air pollution that is produced by highly-polluted vehicles are growing at an exponential rate…

    • 358 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    The purpose of this experiment is to determine sucrose gas form during fermentation with yeast is the most CO2. Sucrose did better than glucose because glucose is the simplest sugar and was there more as a control. Sucrose will produce the most CO2 because it is a complex sugar than the most sugar. Thus, sucrose is a good substrate for fermentation.…

    • 436 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Economics & Suv's

    • 712 Words
    • 3 Pages

    "Automobiles have a large impact on the quality of our environment and public health. Automobile use affects virtually every aspect of environmental quality - including noise levels, air quality, water pollution, and urban sprawl. Ninety percent of the environmental impact of automobiles occurs through the operation of the cars: about 10 percent from the production, raw materials and disposal of automobiles.…

    • 712 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Vehicle emissions can affect the environment in several ways. Cars emit greenhouse gasses, such as carbon…

    • 3853 Words
    • 11 Pages
    Better Essays
  • Powerful Essays

    The World Health Organization says that about 2 million people die prematurely every year due to air pollution globally. There were estimated that over 600,000,000 passenger cars in the world today (http://www.worldometers.info/cars/), and the major pollution come from the air pollution which released out from the vehicles. “In urban areas, harmful automotive emissions are responsible for anywhere between 50 and 90 percent of air pollution.” (Meghan E. Smith)…

    • 1503 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Bibliography: "Air Pollution." GEG Project RSS2. GEG Project, n.d. Web. 29 Nov. 2012. This informative web article details the process of air pollution. In defining air pollution—when specific compounds in the atmosphere reach a point to which they cause change in the environment—it is observed that large quantities of these pollutants can be harmful. Natural processes such as volcanic eruptions decay of organic matter, and wildfires generate small amounts of air pollution. Humans, however, create far more substantial quantities that have greatly impacted the environment. An increase in outputs of pollution is the cause of acid rain, global warming, and even health risks such as heart disease and stroke.…

    • 973 Words
    • 4 Pages
    Good Essays
  • Better Essays

    During the summer months, the morning news will spend a few seconds covering that day’s air quality outlook. There is typically an on screen scale of 1 – 10, and each meteorologist alerts viewers to that day’s air quality ranking. Populations with respiratory issues will be more or less affected because of that day’s air quality index. An advisement for those people to act accordingly will likely follow. If you have ever pondered the causes of such news worthy air quality variations, we now have an answer. Experts say “your automobiles” (Arkansas). According to the EPA, in typical urban areas, cars, buses, trucks, and off-highway mobile sources such as construction vehicles and boats produce at least half of the Hydrocarbons and Nitrogen Oxides (NOx) expelled into the air (EPA 2). These Hydrocarbons and Nitrogen Oxides are two of many chemicals and particulate matter that make up air pollution. Although automobiles do not account for 100% of these Hydrocarbon and Nitrogen Oxide (NOx) emissions, there ranking as a 50% contributor is quite significant. Automobiles are in fact the largest single producer of air…

    • 1318 Words
    • 6 Pages
    Better Essays
  • Powerful Essays

    Air pollution causes 29,000 premature deaths in the UK each year; it can lead to serious respiratory problems such as bronchitis, asthma and emphysema and the World Health Organisation has confirmed that air pollution can also cause cancer. The poor quality of the air can cause heart attacks and children who grow up near busy roads can have underdeveloped lungs. On top of this, 100 million workdays are lost each year through related illnesses and the costs to society, including the damages to crops and buildings, amounts to 23bn euros each year in Europe (BBC, 2014). While a large proportion of air pollution originates from stationary sources, like factories and power plants, there are many millions of mobile sources, namely motor vehicles. The major source of NO2 seems to be from traffic fumes.…

    • 1664 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Reducing My Impact

    • 520 Words
    • 3 Pages

    Even though today's ozone is stable, ultraviolet rays are under control, and the air we breathe is still healthy, people need to make a change. Whether that change be big or small, from walking to the store instead of driving, riding a bicycle, or carpooling to work, even getting an echo-friendly vehicle, people need to make some kind of a change. The less cars that are being used means the less toxic emissions that are released into the atmosphere.…

    • 520 Words
    • 3 Pages
    Good Essays
  • Better Essays

    In the beginning, automobiles made life better for humans, but with the growing number, environmental issues began to appear. In this unperfected world, the combustion process caused by automobile engines emits several types of pollutants. The exhaust from automobiles is generated by the chemical and mechanical process that occurs in order for a vehicle to work, this exhaust is what pollutes the air. Exhaust pollutants include hydrocarbons, nitrogen oxides, carbon monoxide, and carbon dioxide. Smog is a word formed by smoke and fog. The leading cause of smog comes from the releasing of pollutants in the air from gasoline and diesel-run vehicles, industrial plants and activities,…

    • 1208 Words
    • 4 Pages
    Better Essays
  • Better Essays

    In our state we have a growing problem of air pollution. It might not be as clearly visible in some areas as others but the fact is that air pollution is still there affecting us in some way, shape, or form. Air pollution has been known to cause illness and/or death, which many people may not be aware of. There are two main causes of pollution in our state. One main cause of air pollution is natural. Natural pollution is windblown dust, pollen, fog, etc. The other main cause of air pollution is humans. Air pollution caused by humans is the chief concern and the most serious form. Most of the human pollution created is from industrial work, cars, trucks and airplanes. The causes of pollution can go on and on, and scientists constantly are discovering new elements that add to air pollution. The most harmful cause of air pollution is from automobile emissions. People drive automobiles everyday to get from "Point A to Point B". If automobiles did not exist, the air would most likely be cleaner, but we would not be able to travel long distances in short periods.…

    • 1967 Words
    • 8 Pages
    Better Essays
  • Good Essays

    As the region is nearer towards the West, the North-West region is arid and has limited rainfall thus leading to having a large area of deserts there. The North-West region is also located quite remotely and is far away from economic centers thus it is geographically disadvantaged and isolated from the outside world due to poor transportation. Due to the limited rainfall in that area, it has led to the land there being agriculturally unproductive and thus the people there are unable to make a living with the growing of crops. Crops of all types are able to be a source of income for a family however not being able to grow crops means that the source of income is being destroyed. Not only that, being remote means it is hard to get a job in the wealthy regions as it is too far to get there and thus not possible to work there in the day and come home by night. Therefore, to get a job in these wealthy regions, the people must be prepared to get a lodging there as they cannot go home. At such a remote area, it has caused inconvenience to the people living there and thus creating transportation problems for the people. This region is typically separated from regions with modern manufacturing industries and wealthy consumer markets by long distances, insufficient infrastructure or natural barriers such as mountains. Also, being in such a position, the region is not able to attract investments as the region is far from political and economic center of a region or a country and becomes a marginalized zone. Due to the weather, location, transportation…

    • 560 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Physics Lab Report

    • 563 Words
    • 3 Pages

    In this project we attempted to confirm that the acceleration due to gravity of a freely falling body is…

    • 563 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    concentrations of smog can do a toll on one’s body and the reduction of cars,…

    • 872 Words
    • 4 Pages
    Good Essays