Assingment 1
1. Determine the real roots of f(x) = -0.5x2 + 2.5x +4.5 by graphically using MATLAB.
2. Use MATLAB to answer the questions base on equation given.
P = f(x) = x5 5x4 + x3 -6x2 7x + 10
a) Determine the real roots for the equation;
dP
b) Determine the dx ;
c) Determine the
d) Determine P when x = 4.
3. Determine the real root of x3.5 = 80 with Goal Seek capability of Excel.
4.
5.
u2 2v2 = a2
u+v=2
a2 2a u = 0
Solve the real values of the unknown using Excel Solver.
6
15
55
15
55
225
55
225
979
ao
a1
a2
152.6
585.6
2488.8
A=
3
-5
6
15
7
9
13
5
-4
10
8
4
12
2
11
1
Type this matrix in MATLAB and use MATLAB to answer the following questions.
a) Create a vector P consisting of the elements in the second row of A.
b)
Create a vector S consisting of all the elements in the second through fourth
columns of A
c) Create a vector Q consisting of all the elements in the second and third rows that
are also in the first through third columns