Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Final Exam

Numerical Methods in Engineering


Group 5

Name: ID:

Attached to the Tecnológico de Monterrey Students Ethics Code, I commit that my


performance in this exam will be ruled by academic honesty. Concurrently with the
commitment acquired with such a code, I will perform the exam in a personal and an honest
way to show through it my knowledge and later accept the obtained evaluation

Signature: _ ____(-:

Instructions:

• Query of Canvas course notes is allowed during the exam.


• File’s name forma is: A03038772FE.
• Any technical contingency raised during the exam is the student’s responsibility, so it is
recommended keeping saving the files.
• Choose the type of exam according to your last digit student ID. If they do not match the
exam will be cancelled.
• Each question asked to the professor during the exam will be worth 3 (over 100) points.
• Submit the Exam to Canvas’ correspondent space. No file will be accepted after the
deadline nor files will be received by another means such as email, usb, etc.

1. The charge q in a capacitor of a RLC circuit is given by

( 2L )
Rt 1 R2
q(t) = q0 exp − cos t − 2

LC 4L

Where q0 is the initial charge, R la resistance, L la inductance and C la capacitance. Use


the Newton module to compute the value of R such that 1% of the initial value of the
charge is dissipated (that is to say, q/q0 = 0.01 ) Assume L = 5H , C = 10−4 F and
t = 0.05s.

Value: 30 points.

2. Consider the following system of two first-order differential equations:

Final Exam

Numerical Methods in Engineering


Group 5

dp1 dp2
= f1(x, p1, p2), = f2(x, p1, p2)

dx dx
With the initial conditions: p1(x0 ) = p10 and p2(x0 ) = p20.

(a) Write a Mathematica module called euler22 to solve such a system of differential
equations. The input parameters are: a list of functional relations{f1, f2}, a list of initial
conditions {x0, p10, p20}, a solution interval {a, b} and a number of iterations n.

(b) An ecological system is compounded by coyotes and roadrunners, the former feed on
the later. The populations of coyotes and roadrunners are denoted by y and x ,
respectively and change according to the following equations

dx
= 0.1x − 0.02x y

dt
dy
= 0.02x y − 0.4y

dt
Use the previous module to make an analysis of the populations behavior on the time
interval [0,50] assuming the initial conditions x(0) = 30 and y(0) = 3.

Value: 40 points.

3. Two strings support a weight of 10 N as shown in the following Figure.

(a) State the equilibrium conditions and find T1 and T2 if α = π /4, β = π /6 using
the Gaussian elimination method.

(b) Consider that the angle α is fixed and write a Mathematica module to plot T1 and T2
as function ofβ on the interval [0,π /4] as shown in the Figure. Use your plot to
guess for which value of β both tensions are equal.

Value: 40 points.

T
20

15

10

β
0.2 0.4 0.6

You might also like