You are on page 1of 1

Computational Physics Mid-Term Assignment

Submission Date: 25th June 2021 Marks 40.

-------------------------------------------
USE MATHEMATICA FUNCTIONS AND STATEMENTS TO SOLVE THE FOLLOWING;

1. Factorize the following equations;


a. x 4 – 25
b. z 8 – 64
c. 8𝑥 4 − 4𝑥 3 + 10𝑥 2
d. 3𝑥 2 − 2𝑥 + 12𝑥 + 8
e. 𝑥 5 − 3𝑥 3 − 2𝑥 2 + 6

2. Find all Coefficients of the equations given in Q.1


3. Expand the following algebraic expressions;
a. (x a 1)4
b. (3x+1)(2x+4)
c. (x+2)3
4. Simplify the following;
3 2
a. (27(2/3−2x) −8(1−9x))/(216x )
b. (x−1)(x+1)
c. (a+b)2 − (a−b)2
5. Apart the following;
𝑎+𝑏+𝑐 𝑎−𝑏+𝑐 𝑎+𝑏−𝑐
a. 3
− 6 − 6
b. 100/((10 + x) (5 + 8 x))
6. Using Range function create a list of odd number from 100 to 200
7. Repeat question 8 using Table function
8. Using Range function create two separate lists of odd and even number from 0 to 20 and then add
them together.
𝑎+𝑏+𝑐 𝑎−𝑏+𝑐
9. Solve the following equation for b so that; 3 − 6 = 0
10. Solve 8𝑥 4 − 4𝑥 3 + 10𝑥 2 = 0 for x greater than zero.
11. Using own function statement; such as; f[x_, y_]≔………. …… …….

Write program codes to evaluate at least 10 Physics formula / equations of your own choice.
---------------------------------------------------------------------------------------------------------

Note: Please Save Mathemathica notebook **.nb file in .pdf format, print it,
and hand in week 4 of June. Please write your seat number and name
clearly.

You might also like