You are on page 1of 5

Universidad Industrial de Santander

Numerical Analysis
Department of Computer Science
PhD. Henry Arguello Fuentes
Undergraduate Students

Homework #5
Numerical Differentiation and Integration
DATE : 4th August 2020 D UE : 23th August 2020

Name: Scholar ID:

1 I NDICATIONS
• Answers with no process are not valid.
• Make all calculations with 5 decimal places of precision.

2 N UMERICAL D IFFERENTIATION
1. (1 point) The following data was collected for the distance traveled versus time for a rocket:

t, [s] 0 25 50 75 100 125


y, [Km] 0 32 58 78 92 100

Use numerical differentiation to estimate the rocket’s velocity and acceleration at each time.
Process:

~v = ————————————– ————————————————————————————–

~a = ————————————– ————————————————————————————–

2. (1 point) A plane is being tracked by radar, and data is taken every second in polar coordinates θ and r.

t, [s] 200 202 204 206 208 210


θ, [rad] 0.75 0.72 0.70 0.68 0.67 0.66
r, [m] 5120 5370 5560 5800 6030 6240

Ph.D. Henry Arguello Fuentes Page 1 of 5


At 206 seconds, use the centered finite-difference (second-order correct) to find the vector expression for
velocity ~
v and acceleration ~a. The velocity and acceleration given in polar coordinates are
~v = ṙ~er + rθ̇~eθ and ~a = (r̈ − rθ̇2 )~er + (rθ̈ + 2ṙθ̇)~eθ

Process:

~v = ————————————– ————————————————————————————–

~a = ————————————- ————————————————————————————–

3 N UMERICAL I NTEGRATION
1. (1 point) Length of a curve. The arc length of the curve y = f (x) over the interval a ≤ x ≤ b is
Z bp
L= 1 + (f 0 (x)2 )dx.
a
Approximate the arc length of each function using the composite trapezoidal rule with M = 10.
a) f (x) = x3 for 0 ≤ x ≤ 1
Process:

L ≈ ————————————– ————————————————————————————–

2
b) f (x) = sin(x) for 0 ≤ x ≤ π/4
Process:

L ≈ ————————————– ————————————————————————————–

c) f (x) = e−x for 0 ≤ x ≤ 1


Process:

L ≈ ————————————– ————————————————————————————–

3
2. (1 point) Surface area. The solid of revolution obtained by rotating the region under the y = f (x), where
a ≤ x ≤ b, about the x-axis has surface area given by
Z b p
A = 2π f (x) 1 + (f 0 (x)2 )dx.
a

Approximate the surface area using the composite Simpson rule with M = 5.

a) f (x) = x3 for 0 ≤ x ≤ 1
Process:

A ≈ ————————————– ————————————————————————————–

b) f (x) = sin(x) for 0 ≤ x ≤ π/4


Process:

A ≈ ————————————– ————————————————————————————–

4
c) f (x) = e−x for 0 ≤ x ≤ 1
Process:

A ≈ ————————————– ————————————————————————————–

3. (1 point) The following data correspond to the instantaneous speed v[s] of a person walking at several times
t[s].

t, [s] 1 1.9 2.8 3.7 4.6 5.5 6.4 7.3 8.2 9.1 10
v, [m/s] 5 6 5.5 7 8.5 8 6 7 7 5 7

RT
Determine the distance traveled by a person, given by D = T0 vdt, for T = 10 and T0 = 1 using the
composite trapezoidal and Simpson rules.
Process:

DT ≈ ———————————— ————————————————————————————–

DS ≈ ———————————— ————————————————————————————–

Ph.D. Henry Arguello Fuentes Page 5 of 5

You might also like