Linear Algebra Assignment Fall 2024 241120 144727
Linear Algebra Assignment Fall 2024 241120 144727
b) Detailed answer and Solution procedure for every point of the requirements.
The discussion will be on Tuesday (31/12/2024) & Wednesday (1/1/2025) & Thursday
(2/1/2025)
A printed computer-based report (hardcopy) must be delivered during the final discussion.
You are NOT to seek help from any of your colleagues. You may search online for help but
During the discussion, you may be asked in any part of your report so you must be Aware of
Figure 1
Figure 2
Shearing
We need to determine the transformation matrix that can describe the following 3D
transformation from the original image into the sheared image that shown in figure 3.
Figure 3
Hint:
Writing code in any programming language to display the original shapes and demonstrate their
transformations would be an added bonus
Question [2-A]: Application Based on Linear System of Equations [Interpolation]
As you move farther out into the solar system and away from the Sun, an object needs to travel at a slower
speed to maintain its orbit. Below are the average orbital radii of the planets in our solar system and their
corresponding average orbital velocities around the Sun.
a) Find the unique first degree polynomial whose graph passes through points defined by Mercury and Jupiter.
b) Plot the data points together with the graph of the polynomial to observe the fit.
c) Adjust your polynomial and graph by adding Saturn, and then Earth. What do you notice as you add more
d) Expand your work in part (a) to a seventh degree polynomial that passes through all eight planets.
e) The first object in the Kuiper Belt, Ceres, was discovered by Giuseppe Piazzi in 1801. Ceres has an average
distance from the sun of 413.5 million km. Based on the points on the graph, estimate the orbital velocity of
Ceres. What does the polynomial suggest the value would be?
Question [2-B]: Engineering Application Based on Linear System of Equations
Consider a thin square plate whose faces are insulated from heat. Suppose that the temperature along the four
boundaries of the plate is known, and further suppose that those temperatures are held constant. The following
diagram represents this situation.
The temperature inside the device will reach certain equilibrium after
some time has passed. consider a few points on the plate
and approximate the temperature of these points, this
approximation is based on a very important physical property called
the Mean-Value Property. By the second version of the Mean-Value
Property, we can express the temperature 𝑥1 at point 1 by the
following equation:
𝟏𝟎 + 𝟑𝟎 + 𝒙𝟐 + 𝒙𝟑
𝒙𝟏 =
𝟒
Follow this representation of the temperature of each point to convert the given diagram into system of
linear equations. (write the system in the matrix form 𝑨𝒙 = 𝒃 where, the vector 𝒙 is the vector of
equilibrium temperatures).
Prove that the matrix A in this system is invertible and compute its inverse then find the vector of equilibrium
temperatures which represents the temperature in degrees Celsius at the four points inside the device.
Suppose that the boundary temperatures change from 30, 10, 0 and 20 to 15, 10, 10 and 20 respectively.
What is the effect of this change on the Temperature Distribution linear system?
A finer grid should give a better approximation of the equilibrium temperatures. Consider the grid in the
following Figure and find the vector of equilibrium temperatures. Use any programming language to find
the vector of equilibrium temperatures.
Hint
Using any finite element software such as COMSOL Multi-physics,
ANSYS, Matlab, Autodesk CFD…. Etc. to compare the results will be an
added bonus
Question [3]: Graph Theory & Network Analysis
Figure 4
An adjacency matrix is a square matrix used to represent the used to represent a graph. The rows and columns of
the matrix correspond to the nodes of the graph, and the matrix entries indicate the presence edges between
nodes such that:
c) Hence, find the shortest path length to move from Node 3 to Node 7 then return back to Node 3. Find also
the number of possible ways to do that.
A clique in graph theory is a subset of vertices within a graph such that every
two distinct vertices in this subset are directly connected by an edge. For
example, as shown in figure 5, nodes 2,3 and 4 forms a clique.
d) Explain how adjacency matrix can be used to find the cliques in the
network.
e) Hence, use this to find and highlight the cliques in the given network
shown in figure 4.
Figure 5
Question [4]: Choose one of the following topics to search about it.
1- Encryption Using Enigma Machine
The Enigma machine, which was developed by a German engineer, played a crucial role in encrypting German
messages during World War II. This cryptographic device, relying on both electrical and mechanical operations.
The enigma machine encrypts each letter by three processes giving a total of 7 encryptions operations for each
letter and each process was a carried by a different component.
Your task is to search about Enigma Machine and know its components and the rule for each part.
Hence, write a code using any programming language that simulates the operation of the Enigma Machine.
Your task is to write a code using any programming language that applies face recognition using PCA and
Eigen Faces algorithm.