Group Projects
∗
Computational Mathematics -
July 9, 2025
1 Group One - Team Odd primes
Anna needs the sum of positive primes as well as odd numbers less than 100.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
2 3
4 1 2
(a) Find the product of A = 1 1 and B =
and name that matrix C.
1 1 1
0 1
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
3. Plot the a well labeled graph for this two curves y = x2 and y = x + 2.
4. Solve the following equations using Scipy utilities:
3x + 2y = 8
x−y =1
2 Group Two - Team Perfect Square
Given an integral number, determine if it’s a square number: In mathematics, a square number or perfect square
is an integer that is the square of an integer; in other words, it is the product of some integer with itself.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
1 2
2 1 0
(a) Find the product of A = 3 4 and B =
and name that matrix C.
1 3 2
5 6
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
∗ Python Practicles ([Link]@[Link]).
1
3. Plot the a well labeled scatterplot for this two sets.
X = {1.2, 3.7, 5.4, 2.9, 4.1, 6.8, 7.3, 8.6, 9.0, 0.5, 2.3, 4.7, 6.2, 8.1, 9.9}
Y = {0.8, 2.1, 4.5, 6.7, 8.2, 1.9, 3.3, 5.6, 7.8, 9.4, 1.6, 3.9, 5.2, 7.1, 8.9}
4. Perform LU decomposition on the matrix using Scipy utilities:
2 1 1
4 −6 0
−2 7 2
3 Group Three - Team Function
Given a function f (x) = x2 − 2x − 8, find all the values of the function in the interval [0, 5] and h = 0.5. Store
the values in a list.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
2 1
1 2 3
(a) Find the product of A = 0 3 and B =
and name that matrix C.
4 0 1
4 2
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
3. Plot the a well labeled graph for this two curves y = e2x and y = x3 .
4. Determine the rank of the matrix:
1 2 3
2 4 6
3 6 9
4 Group Four - Team Exams
Being a student at DeKUT, you are well acquainted with the rules pertaining to the examinations. Design
a program that directs a student through all the possibilities available with the following clearly indicated;
NORMAL, SPECIAL, SUPPLEMENTARY, REPEAT, DISCONTINUED and CARRY-FORWARD.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
0 2 1 3 1 0
(a) Find the product of A = 1 0 3 and B = 1 2 1 and name that matrix C.
2 1 0 0 1 2
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
3. Plot the a well labeled graph for this two curves y = ln(x) and y = 5x − 3.
2
4. Solve the following equations using Scipy utilities:
3x + 2y + z = 7
x − y + 2z = 4
2x + y − z = 1
5 Group Five - Team Mental Health
Mental health is crucial for university students as it directly impacts their academic performance, overall well-
being, and future success. Create an 8 questions survey that prompts the user to respond. The program will
use the data to classify whether the student is ’Stressed’, ’Healthy’ or ’Depressed’.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
1 0 2 2 1 3
(a) Find the product of A = 2 1 0 and B = 0 2 1 and name that matrix C.
0 3 1 1 0 2
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
3. Plot the a well labeled graph for this two curves y = sin(x) and y = sin(2x).
4. Find the inverse of the following matrix using Scipy utilities, if it exists:
4 7
2 6
3x + 2y = 8
x−y =1
6 Group Six - Team List
Create a function that takes a list of integers as input and outputs the following; Orders the elements of the
list. The sum and mean of elements in the list.
1. Solve the problem above with the following flow;
• Cell 1: Problem description and Minimum Viable Problem(MVP).
• Cell 2: Flow Chart
• Cell 3: Algorithm
• Python code: It should contain at least 3 of the following elements; loops, condition statements,
user-defined functions, input/output functionality
2. Use the python libraries discussed in class to solve the following problems using python;
1 2 0 2 1 3
(a) Find the product of A = 3 1 2 and B = 0 2 1 and name that matrix C.
0 4 1 1 0 2
(b) Find the dimensions and the transpose of C.
(c) Print the following elements C11 , C21 , C12 and C34 .
3. Plot the a well labeled graph for this two curves y = x2 + 2 and y = 3x − 2.
4. Compute the eigenvalues and corresponding eigenvectors of the matrix using Scipy utilities:
2 1
1 2