联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> Java编程Java编程

日期:2021-02-27 10:54

Numerical Analysis

CSCE 440/840 Homework 1 Spring 2021

1. (undergraduates: 10 points, graduates: 0 points (skip this)) Determine the

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

detailed comments in your code.

5. (20 points) Write a program to (1) find the Lagrange interpolating polynomials

for each of the weather stations. (2) Use the Lagrange interpolating polynomials to

estimate the AP for each of the weather stations at T = 10.

6. (20 points) Write a program that (1) implements Neville’s Method and (2) estimate

the AP for each of the weather stations at T = 10.

7. (20 points) Write a program that (1) implements Newton’s Divided Differences

Method and (2) estimate the AP for each of the stations at T = 10.

Bonus Question

8. (undergraduates: 5 bonus points, graduates: 10 points (required)) Prove

Newton’s Method for root finding does not converge for function f(x) = x

3 ? 5x and

p0 = 1.

2


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp