Tutorial 01
Tutorial 01
Faculty of Engineering
University of Moratuwa
Numerical Methods
1. Use four-digit rounding arithmetic and the formulas to find the most accurate approximations
to the roots of the following equation and compute the Relative Error.
1 2 123 1
3
𝑥 − 4
𝑥+ 6
=0
2. Find the Taylor series for 𝑙𝑛(1 + 𝑥) at 𝑥 = 0. Use it to approximate 𝑙𝑛(1. 5) with
the accuracy of 10-2 .
4. Compute the 𝑥-intercept of a straight line joining the points (1.31, 3.24) and (1.93, 4.76)
using 3-digit rounding arithmetic and the two formulas
𝑥0𝑦1−𝑥1𝑦0
𝑥= 𝑦1−𝑦0
And
(𝑥1−𝑥0)𝑦0
𝑥 = 𝑥0 − 𝑦1−𝑦0
a. Which formula is better and why? (You may take the exact value as )
b. Compute the Absolute and Relative errors for the approximation obtained
in the second formula.
(Note That :
In Finite-Digit Arithmetic the addition of two real numbers 𝑥 and 𝑦 is equal to the addition of
floating point of 𝑥 and 𝑦 . i.e: 𝑥 + 𝑦= floating point of 𝑥 + floating point of 𝑦)
Page 1 of 4
In2022-Semester 2
Probability and Statistics
2. A study conducted at Manatee Community College revealed that students who attended
class 95 to 100% of the time usually received an A in the class. Students who attended
class 80 to 90% of the time usually received a B or C in the class. Students who attended
class less than 80% of the time usually received a D or an F or eventually withdrew from
the class. Based on this information, attendance and grades are related. The more you
attend class, the more likely it is you will receive a higher grade. If you improve your
attendance, your grades will probably improve. Many factors affect your grade in a
course. One factor that you have considerable control over is attendance. You can
increase your opportunities for learning by attending class more often.
a. What are the variables under study?
b. What is the population under study?
3.
I. To determine the average salary of professors at the University of Moratuwa, the faculty
was divided into the following groups: instructors, assistant professors, associate
professors, and professors. Twenty faculty members from each group were selected for
the study. This represents what type of sampling method?
II. Every 200th computer chip is inspected for defects at a computer facility. This is an
example of what type of sampling method?
III. Engelbert chooses the elements for his sample by giving particular attention to each
sub-population. He sees to it that every computed stratum sample is the same as the other
strata and that the respondents are chosen randomly. What sampling design is used?
Page 2 of 4
In2022-Semester 2
4.
I. To predict the outcome of an upcoming Mayoral election, a random sample of 814 voters
was selected. These people are asked several questions regarding the election. One
question asked whether they were “…leaning Republican, Democratic, Independent, or
other/undecided?” Based on this question, 38.2% of respondents said that they were
“…leaning Democratic…”. Identify each of the following as specifically as possible.
a. Population of Interest
b. Variable of Interest
c. Sample
d. Statistic
II. A survey was done to determine the texting habits of MBHS students. An SRS of 270
students was asked several questions related to texting and cell phone usage. Of particular
interest to the researchers was the proportion of students who text while in class. Of those
surveyed, 178 said that they text during class at least ten times per week. Identify each of
the following as specifically as possible.
a. Population of Interest
b. Variable of Interest
c. Sample
Page 3 of 4
In2022-Semester 2
Multivariate Calculus and Introduction to PDEs
a. 𝑓(𝑥, 𝑦) = 8 − 5𝑥 + 9𝑦
2 2
b. 𝑔(𝑥, 𝑦) = 𝑥 + 𝑦 − 2
2 2
c. ℎ(𝑥, 𝑦) = 16 − 𝑥 − 𝑦
2 2
𝑝(𝑥, 𝑦) = 9 − (𝑥 − 4) − (𝑦 − 1)
Where 𝑥 and 𝑦 are kilograms of cinnamon and tamarind exported per month (measured in
thousands) respectively. Profit is measured in thousands of LKR. Sketch the graph of the
function.
2 2
𝑓(𝑥, 𝑦) = 6 + 8𝑥 − 4𝑦 − 4𝑥 − 2𝑦
π π
4. Find vertical traces for 𝑓(𝑥, 𝑦) = 𝑠𝑖𝑛(𝑥) 𝑐𝑜𝑠(𝑦) corresponding to 𝑥 = 4
, 8
, 0 and
π π
𝑦= 4
, 8
,0
5. State the domains of the following function and whether they are open or closed. Then find
an interior point and a boundary point.
3𝑥+5𝑦−2𝑧
a. 𝑓(𝑥, 𝑦, 𝑧) = 2 2 2
10−2𝑥 −2𝑦 −2𝑧
3𝑧+5
b. 𝑔(𝑥, 𝑦, 𝑧) = 2 2
𝑥 −𝑦
Page 4 of 4
In2022-Semester 2