Université Mohammed V de Rabat Année universitaire: 2024-2025
Graded assignment
P.S.: Please send me the mathematical work file with the subject: "Student Name, Master
Mécanique Energétique" to the following email: [email protected] before 15/02/2025.
The work will be graded.
Exercice 1
1. Definition of a Constant
• Define a constant C = 3 that should not change throughout the exercise.
2. Function Definition and Simplification
• Define the function:
f (x) = Cx2 + 2x + 1
• Simplify the expression:
f (x) + x2 − 2x − 1
3. Expansion and Factorization
• Expand and factorize the expression:
(x + 1)3 − (x − 1)3
4. Integration and Differentiation
• Compute the integral:
Z
(x2 + Cx + 1) dx
• Compute the derivative of:
g(x) = eCx cos(x)
5. Matrix Operations and Eigenvalues/Eigenvectors
1/4
• Define the matrix:
C 2
M =
1 C +1
• Compute the matrix product M · V where:
x
V =
y
• Find the eigenvalues and eigenvectors of M .
6. Solving a Differential Equation
• Solve the homogeneous differential equation:
y ′′ − Cy ′ + y = 0, y(0) = 1, y ′ (0) = 0
7. Solving a System of Equations
• Solve the following system of equations:
2x + 3y = 7
Cx − y = 4
Exercice 2
1. Definition of Constants and Functions
• Define the constants C = 3, D = 5, and E = π.
• Define the function:
f (x) = Cx3 + Dx2 + Ex + 1
• Compute f ′ (x) and f ′′ (x).
• Compute the Taylor expansion of f (x) around x = 0 up to order 5.
2. Expansion, Factorization, and Simplification
• Expand and factorize:
(x + 1)4 − (x − 1)4 + C(x2 − 1)
2/4
• Fully simplify the expression:
x3 + Dx + C
x2 + Ex + 1
3. Integration and Differentiation
• Compute:
Z 1
dx
0 x2 + Cx + 1
• Compute the partial derivative of:
g(x, y) = eCx cos(Dy)
with respect to x and y.
4. Matrix Operations and Eigenvalues/Eigenvectors
• Define the matrix:
C 2 D
M =
1 C + 1 E
D E C
• Compute M 3 .
• Compute the determinant and inverse of M .
• Find the eigenvalues and eigenvectors of M .
5. Solving Differential Equations
• Solve the second-order differential equation:
y ′′ + Cy ′ − Dy = sin(Ex), y(0) = 1, y ′ (0) = 0
• Solve the partial differential equation:
∂2u ∂2u 2 2
+ 2 = Ce−x −y
∂x2 ∂y
6. Solving a Nonlinear System of Equations
• Solve the nonlinear system:
x3 + y 3 = C + 7
sin(x) + y 2 = D − 2
3/4
Exercice 3
Calculate the following integral using different numerical integration methods:
Z 2
2
I= x3 e−x dx
0
Use:
• The Gaussian quadrature method
• The Simpson’s rule method
Compare the results obtained.
4/4