Numerical Methods in Engineering: Dr. Ayşe Çağıl KANDEMİR
Numerical Methods in Engineering: Dr. Ayşe Çağıl KANDEMİR
HOMEWORK
Dr. Ayşe Çağıl KANDEMİR
Rsc. Asst. Mehmet ÖKSÜZ
Date: April 8, 2020; Deadline : April 15, 2020; 17:00
Question 1:
𝑓(𝑥) = 𝑥 2 − 2𝑒 −𝑥 𝑥 3 − 𝑒 −3𝑥
Question 2:
𝑓(𝑥) = 𝑐𝑜𝑠(𝑥) − 𝑥
Question 3:
(a) Along with the slope and intercept, compute the standard error of the estimate and
the correlation coefficient. Plot the data and the straight line. Assess the fit.
(b) Re-compute (a), but use polynomial regression to fit a parabola to the data. Compare
the results with those of (a).
Question 4:
Fit the following data with the power model (y =axb). Use the resulting power equation
to predict y at x = 9:
Question 5:
Question 6:
The following data was collected for a cross-section of a river (y=distance from bank,
H=depth, and U=velocity):
y, m 0 1 3 5 7 8 9 10
H, m 0 1 1.5 3 3.5 3.2 2 0
U, m/s 0 0.1 0.12 0.2 0.25 0.3 0.15 0
Note that the cross-sectional area (Ac) and the flow rate (Q) can be computed as;