Matlab Help here some answers for Q9 so you can know if u r

Matlab Help

here some answers for Q9

so you can know if u r solving it correctly or not

9.

a =

-

2.2345

b =

5.3626

c =

-

6.8950

d =

5.1892

e =

1.1445

Solution

Re Arranging the equations in standard form we get the following eqn 1 to 5.

clc
clear all
syms a b c d e
eqn1 = 10*a + 3*b - 4*c + d + 3*e == 23;
eqn2 = 10*a + 2*b - 3*c + 4*d + 22*e == 55;
eqn3 = -44*a + 22*b + 35*c + 53*d == 250;
eqn4 = 10*a + 10*b - 3*c + 4*d - 5*e == 67;
eqn5 = a + b - 44*c - 51*d + e == 43;
sol = solve([eqn1, eqn2, eqn3, eqn4, eqn5], [a, b, c, d, e]);
aSol = sol.a
bSol = sol.b
cSol = sol.c
dsol = sol.d
esol = sol.e

(Reference : http://in.mathworks.com/help/symbolic/solve-a-system-of-linear-equations.html?requestedDomain=in.mathworks.com)

Matlab Help here some answers for Q9 so you can know if u r solving it correctly or not 9. a = - 2.2345 b = 5.3626 c = - 6.8950 d = 5.1892 e = 1.1445SolutionRe

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site