# CSCE 440 Programming,Help With Java，Python Programming C/C++ Programming|Help With Database

Numerical Analysis
CSCE 440/840 Homework 1 Spring 2021
number of iterations required to solve f(x) = x
3 − 17x
2 + 6x + 5.5 = 0 with the
accuracy |p − pn| < 10−25 using a1 = 0 and b1 = 16 of the bisection method.
Air Pressure
Air pressure is the weight of the atmosphere pressing down on the earth. It is instrumental
in weather observations, since its fluctuation indicates the movement of weather fronts and
systems. Liquid mercury (Hg) is commonly used in a barometer to measure air-pressure
changes in inches (in.). A barometer reading of 30 inches (Hg) is considered normal. Strong
high pressure could register as high as 30.70 inches, whereas low pressure associated with a
hurricane can dip below 27.30 inches. As a very general rule, approaching weather systems
1
- such as cold and warm fronts, tropical waves and rain - are usually associated with low
atmospheric pressure. Consider the following data from a set of four weather stations ,
where SN is the station identification number, T is time in days and AP is the air pressure
per day in inches. For Questions 2-4, show all the calculation steps including
tables where needed.
2. (10 points) (1) Find the Lagrange interpolating polynomial for the 4th station. (2)
Use the Lagrange interpolating polynomial to estimate the AP of the 4th weather
station at T = 10.
3. (10 points) Use Neville’s Method to estimate the AP of the 4th weather station at
T = 10.
4. (10 points) Use Newton’s Divided Differences Method (1) to find the interpolating
polynomial for the 4th weather station. (2) Use the Newton interpolating polynomial
to estimate the AP of the 4th weather station at T = 10.
For Questions 5-7, write MATLAB scripts or a program in some high level
language. Do not use any packages with interpolation functions. Please give