0% found this document useful (0 votes)
32 views

Assignment 6

The document provides instructions for Assignment 6 of the course MTH375 - Numerical Computations. It lists 8 questions and provides details for each question. Students are to attempt one question based on their registration number modulus 8. They must show the engineering solution, minimize errors, and implement the solution in Python code. The submission should be a report with the question, solution, code, and outputs. Lists of students with their registration numbers are also provided to determine the question number.

Uploaded by

aazibraja81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Assignment 6

The document provides instructions for Assignment 6 of the course MTH375 - Numerical Computations. It lists 8 questions and provides details for each question. Students are to attempt one question based on their registration number modulus 8. They must show the engineering solution, minimize errors, and implement the solution in Python code. The submission should be a report with the question, solution, code, and outputs. Lists of students with their registration numbers are also provided to determine the question number.

Uploaded by

aazibraja81
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

MTH375 - NUMERICAL COMPUATIONS

ASSIGNMENT – 6

Due: 25-12-2023 23:59

Refer to the student list at the end. Then get your serial number modulus 8 to get the question you are
going to attempt. For example Moazzam Ali (FA21-BEE-008) got the serial number 10 of his respective
class, his question is (10%8= 2 ).

Please follow the instructions as follows.

1. Grading will be done based on your complete solution


2. There are three parts of each question
a. Solving the Engineering Problem (10)
b. Minimize the Error (05)
c. Implement it using Python (10)
3. Complete each part and graded accordingly.
4. Deliverable will be a report with description of the problem. Your solution (Use scanned paper
or Microsoft Equation to write equations), as well as the complete code with outputs in the
appendix of the report (at the end). Submit the report.

Find the questions below.

1. A mass balance for a pollutant in a well-mixed lake can be written as

Given the parameter values V = 2 × 106 m3, Q = 2 × 105 m3/yr, W = 2 × 106 g/yr, and
k = 0.33 m0.5/g0.5/yr, use the modified secant method to solve for the steady-state concentration.
Employ an initial guess of c = 4 g/m3 and δ = 0.5. Perform three iterations and determine the
percent relative error after the third iteration.

2. The heat flux across a pond’s surface, J(W∕m2), which depends on a combination of five heat-
transfer processes, can be computed as:
where Jsn = net solar shortwave radiation at the water surface (W∕m2), eair = the air vapor pressure
(mm Hg), σ = the Stefan Boltzmann constant = 11.7 × 10−8 cal∕(cm2 d K4), Tair = air temperature
(°C), Tw = the pond’s water temperature (°C), f(Uw) = the dependence of the transfer on wind
velocity over the water surface, Uw = the wind speed above the water surface (m∕s), and es = the
saturation vapor pressure at the water surface (mmHg). The saturation vapor pressure is
computed as

where Tdew = the dew-point temperature (°C). Determine the water temperature and evaporation
flux at steady state (J = 0) given the following values: Jsn = 300 cal∕cm2∕d; Tair = 25°C; Tdew = 16.7°C;
and Uw = 3 m∕s.

3. Real mechanical systems may involve the deflection of nonlinear springs. In the figure, a mass m
is released a distance h above a nonlinear spring. The resistance force F of the spring is given by

Conservation of Energy can be used to show that

Solve for d given the following parameter values:


k1 = 40,000 g∕s2,
k2 = 40 g∕(s2 m0.5), m = 95 g, g = 9.81 m∕s2, and h = 0.43 m.
4. An electronics company produces transistors, resistors, and computer chips. Each transistor
requires four units of copper, one unit of zinc, and two units of glass. Each resistor requires three,
three, and one units of the three materials, respectively, and each computer chip requires two,
one, and three units of these materials, respectively. Putting this information into table form, we
get:

Supplies of these materials vary from week to week, so the company needs to determine a
different production run each week. For example, one week the total amounts of materials
available are 960 units of copper, 510 units of zinc, and 610 units of glass. Set up the system of
equations modeling the production run, and use Python to solve for the number of transistors,
resistors, and computer chips to be manufactured this week

5. A civil engineer involved in construction requires 4800, 5800, and 5700 m3 of sand, fine gravel,
and coarse gravel, respectively, for a building project. There are three pits from which these
materials can be obtained. The composition of these pits is

How many cubic meters must be hauled from each pit in order to meet the engineer’s needs?
6. Temperatures are measured at various points on a heated plate. Estimate the temperature at (a)
x = 4, y = 3.2, and (b) x = 4.3, y = 2.7

Temperature (C) at various points on a square heated plate.

7. An 11-m beam is subjected to a load, and the shear force is given by the equation

where V is the shear force and x is length in distance along the beam. We know that V = dM∕dx,
and M is the bending moment. Integration yields the relationship

If M0 is zero and x = 11, calculate M. Use


a) Analytical Integration (old school method)
b) Trapezoidal Rule (Single and Multiple Application)
c) Simpson’s 1/3 Rule (Single and Multiple Application)

8. Suppose that the upward force of air resistance on a falling object is proportional to the square
of the velocity. For this case, the velocity can be computed as

where cd = a second-order drag coefficient. (a) If g = 9.81 m/s2, m = 68.1 kg, and cd = 0.25 kg/m,
use analytical integration to determine how far the object falls in 10 s. (b) Make the same
evaluation, but
evaluate the integral with the multiple-segment trapezoidal rule. Use a sufficiently high n that you
get three significant digits of accuracy.
BEE-5A

S# Reg# Student Name


1 FA19-BEE-034 AYAZ HASSAN
2 FA19-BEE-068 CH. MUHAMMAD ARSHUMAN IHTESHAM
3 FA19-BEE-161 HIZQEEL SAYYED
4 FA20-BEE-067 SOHAIB AHMED
5 FA20-BEE-157 SYED USAMA ALI SHAH
6 FA20-BEE-164 HAMZA ARSHAD
7 FA21-BEE-001 MUHAMMAD ARSLAN HAIDER
8 FA21-BEE-006 AYESHA ADEEL
9 FA21-BEE-007 AHMED ARIF KHAN
10 FA21-BEE-008 MOAZZAM ALI
11 FA21-BEE-009 IKHLAQ AHMED
12 FA21-BEE-015 ABDULLAH FAYYAZ ABBASI
13 FA21-BEE-016 HAROON QAYUM
14 FA21-BEE-019 JUNAID KHALID
15 FA21-BEE-028 MUHAMMAD AAZIB FEROZ
16 FA21-BEE-034 UMME FARWA
17 FA21-BEE-036 MOHSIN MEHBOOB
18 FA21-BEE-049 ZUNAIRA KHAN
19 FA21-BEE-052 ZAHRA AMIN
20 FA21-BEE-058 MUHAMMAD ANIQUE FAYYAZ
21 FA21-BEE-059 WAJEEH UL HASSAN
22 FA21-BEE-071 BILAL YOUNIS
23 FA21-BEE-073 NISMAT ABID
24 FA21-BEE-074 SYED AHSAN ABBAS KAZMI
25 FA21-BEE-077 MUSKAN MAZHAR
26 FA21-BEE-082 NABILA NIAZI
27 FA21-BEE-086 ABDUL RAHMAN

BEE-5C

S# Reg# Student Name


1 FA19-BEE-022 KHIZAR-UL-ISLAM
2 FA19-BEE-138 SAFEER ULLAH FAIZ
3 FA20-BEE-015 MALIK ADNAN
4 FA20-BEE-081 ZOHAIB ALI ABBASI
5 FA20-BEE-111 AAVISH KHATTANA
6 FA20-BEE-167 HUSSAIN ALI
7 FA21-BEE-011 MUHAMMAD MUNEEB UR REHMAN
8 FA21-BEE-012 HARIS RIAZ
9 FA21-BEE-039 UMAR GULZAR
10 FA21-BEE-044 YASHARAH IDREES
11 FA21-BEE-045 HAMID ALI KHAN
12 FA21-BEE-060 HAMZA ALI
13 FA21-BEE-061 MUNEEB AFZAL
14 FA21-BEE-065 MALIK ABDULLAH
15 FA21-BEE-068 MUHAMMAD YASIR
16 FA21-BEE-075 ALI SAAD
17 FA21-BEE-085 ZAIN ISMAIL
18 FA21-BEE-093 SYED HASSAN TURAB GARDEZI
19 FA21-BEE-095 GHULAM MUJTABA
20 FA21-BEE-104 OSAMA ALI AWAN
21 FA21-BEE-105 Shaheer
22 FA21-BEE-109 HUSSNAIN TARIQ
23 FA21-BEE-116 RAHEEL NAFEES
24 FA21-BEE-118 MUHAMMAD HAMZA WATTOO
25 FA21-BEE-122 ESHA ASIF
26 FA21-BEE-124 HASNAT MAJEED

BME-5A

S# Reg# Student Name


1 FA20-BME-027 AJAB KHAN
2 FA21-BME-001 HAMMAD AHMAD
3 FA21-BME-003 ILHAN IBNE ABBAS
4 FA21-BME-004 MUHAMMAD ABDULLAH TARIQ
5 FA21-BME-007 MUHAMMAD HASSAAN KHAN
6 FA21-BME-009 MUHAMMAD LABEEB
7 FA21-BME-010 FAISAL MAHMOOD
8 FA21-BME-011 HAMZA TAHIR
9 FA21-BME-012 MUHAMMAD HASEEB AHMAD
10 FA21-BME-013 KAINAT TALAT
11 FA21-BME-014 SHABAN KHAN
12 FA21-BME-016 DANISH SHABBIR
13 FA21-BME-018 MIRZA HUNAIN ABBAS
14 FA21-BME-020 CHAUDARY MUHAMMAD UMAR SHAHAB
15 FA21-BME-023 SHAVAIZ AHMED
16 FA21-BME-025 MUHAMMED NASIH UL HASSAN
17 FA21-BME-027 HISBAH FATIMAH
18 FA21-BME-030 AMEL LAHOOD
19 FA21-BME-031 HUZAIFA ABDULLAH
20 FA21-BME-035 MUHAMMAD UNS HAIDER SHAH
21 FA21-BME-070 MUHAMMAD ABDULLAH AZEEM
22 FA21-BME-082 FAWAD AHMED

BME-5B

S# Reg# Student Name


1 FA21-BME-005 SYED ALI HAIDER KAZMI
2 FA21-BME-022 SAAD ALI
3 FA21-BME-036 RIMSHA ZUBAIR
4 FA21-BME-037 MUHAMMAD MUBASHIR REHMAN
5 FA21-BME-038 AHMED SHAYAN ASIF
6 FA21-BME-041 HASSNAIN ZAHOOR
7 FA21-BME-043 MUHAMMAD HARIS
8 FA21-BME-046 MUDASSIR TAHIR
9 FA21-BME-048 AYMEN AFZAL
10 FA21-BME-050 ATTA-UR-REHMAN
11 FA21-BME-052 ASFAND YAR ABBASI
12 FA21-BME-053 ALI TAHIR
13 FA21-BME-055 HAFIZ ABDUL RAFAY
14 FA21-BME-056 MALIK ABDUL REHMAN
15 FA21-BME-057 MUHAMMAD SAAD SIDDIQUI
16 FA21-BME-058 TAHA AHMAD FAROOQI
17 FA21-BME-062 MUHAMMAD ZAIN MASOOD BHATTI
18 FA21-BME-068 UZAIR IFTIKHAR
19 FA21-BME-069 MUHAMMAD UMAR KHALID
20 FA21-BME-071 MUHAMMAD TALHA
21 FA21-BME-072 MOHAMMAD IBRAHIM SOOMRO
22 FA21-BME-073 HAMZA ALI
23 FA21-BME-074 ALI ZAIB ANSAR
24 FA21-BME-075 AMAMA SHAHZAD
25 FA21-BME-077 JAHANZAIB ANSAR
26 FA21-BME-080 GHULAM MURTAZA
27 FA21-BME-083 MUHAMMAD HASSAN

You might also like