You are on page 1of 7

Delfinado, Mia Jaymee P.

Laboratory Exercise # 3 May 12, 2020


ECE120L-C24 Jonathan Oracion

A. Polynomials
a. Problem:
1. Add, subtract, multiply, and divide each pair of polynomials
f ( x )=x 4 −8 x 3−9 x−6
g ( x )=x 3+ x 2−3 x +1

b. MATLAB codes:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

a. Problem:
h ( x )=3 x 4−8 x 3−37 x 2 +2 x+ 4
p ( x ) =2 x 3 +3 x 2−2 x +5

b. MATLAB codes:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

a. Problem:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

2. Multiply the four polynomials by 4, 5, 6, and 7, in that order

b. MATLAB codes:

a. Problem:
3. Find the roots of each four given polynomials

b. MATLAB codes:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

a. Problem:
4. Use the results of part 3 to find the polynomial coefficients from the given roots

b. MATLAB codes:

a. Problem:
5. Evaluate the four polynomials at the point x =1, 3, 5, and –2

b. MATLAB codes:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

B. Partial – Fraction Expansion with MATLAB


Determine the partial fraction expansion of the following:
a. Problem:
10 ( s+7 )
T ( s) =
( s+3 )( s+6 )

b. MATLAB codes:

a. Problem:
s5 +2 s4 + 4 s3 + s2 +3
F ( s) =
s6 +7 s5 +3 s 4+ 2 s3 + s2 +3

b. MATLAB codes:
Delfinado, Mia Jaymee P. Laboratory Exercise # 3 May 12, 2020
ECE120L-C24 Jonathan Oracion

a. Problem:
s 4 +2 s 3+ 5 s 2+ s+1
G ( s )=
s 5 +3 s 4 +2 s 3+ 4 s 2+5 s+2

b. MATLAB codes:

a. Problem:
s 3+ 4 s2 +6 s+5
Y ( s )=
( s +8 ) ( s2 +8 s +3 ) ( s2 +5 s +7 )

b. MATLAB codes:

You might also like