Question

In: Mechanical Engineering

Use MATLAB to solve the following problem: x - 3y = 2 x + 5y = 18 4x - 6y = 20

Use MATLAB to solve the following problem:

x - 3y = 2

x + 5y = 18

4x - 6y = 20

 

 

Solutions

Expert Solution

We have been given two variables and three equations. Now, this is an overdetermined system. This system has unique exact solution if rank of matrix A and [A b] are same.

Our equations are

x – 3y = 2

x + 5y = 18

4x – 6y = 20

 

The corresponding matrix equation is

Ax = b

 

Where

 

We find the rank of matrix A and [A b] using MATLAB:

 

We find that the ranks are same. So, we can obtain the unique solution by using the left division method. Left division is used to solve the matrix equation Ax = b. The command is A/b.

 

We see that our final solution is

x = 8 y = 2.


We see that our final solution is

x = 8 y = 2.

Related Solutions

Use the simplex method to solve the linear programming problem. Maximize P = 4x + 3y...
Use the simplex method to solve the linear programming problem. Maximize P = 4x + 3y subject to 3x + 6y ≤ 33 x + y ≤ 7 3x + y ≤ 19 x ≥ 0, y ≥ 0   The maxium P= ____ at (x,y) ____
Use variation of parameters to solve the following differential equations y''-5y'-6y=tln(t)
Use variation of parameters to solve the following differential equations y''-5y'-6y=tln(t)
Show to use ode45 built-in function in MATLAB to solve the following ODE problem: dydx=x^2 /...
Show to use ode45 built-in function in MATLAB to solve the following ODE problem: dydx=x^2 / y y(0)=2   Calculate y(x) for 0 ? x ? 20 and compare the results to analytical solution y = sqrt((2x^3 / 3) + 4)
Solve the following optimization problem. Minimize J = x + 3y + 2z
Solve the following optimization problem. MinimizeJ = x + 3y + 2zsubject to the constraints
let f(x,y)=x^2y(2-x+y^2)-4x^2(1+x+y)^7+x^3y^2(1-3x-y)^8 find the coefficient of x^5y^3
let f(x,y)=x^2y(2-x+y^2)-4x^2(1+x+y)^7+x^3y^2(1-3x-y)^8 find the coefficient of x^5y^3
use laplace transforms to solve ivp x" + 4x' + 3x = 1, x'(0) = 2,...
use laplace transforms to solve ivp x" + 4x' + 3x = 1, x'(0) = 2, x(0) = 1
Questions 1 relate to the following constrained optimization problem: maximize z(x,y)=4x^2-2xy+6y^2 subject to x+y=72. subject to...
Questions 1 relate to the following constrained optimization problem: maximize z(x,y)=4x^2-2xy+6y^2 subject to x+y=72. subject to . A) What is the optimal value of X? B) What is the optimal value of Y? C) What is the maximized value of Z?
Solve the system of equation by method of elimination. dx/dt + x−5y = 0, 4x +dy/dt+...
Solve the system of equation by method of elimination. dx/dt + x−5y = 0, 4x +dy/dt+ 5y = 0, x(0) = −1, y(0) = 2.
Solve the simultaneous equations: 5x - 3y = 1, 2x + 5y = 19?
Solve the simultaneous equations: 5x - 3y = 1,  2x + 5y = 19?
Solve linear equations by Gaussian Elimination 2x-3y+z-w+u=0 4x-6y+2z-3w-u=-5 -2x+3y-2z+2w-u=3
Solve linear equations by Gaussian Elimination 2x-3y+z-w+u=0 4x-6y+2z-3w-u=-5 -2x+3y-2z+2w-u=3
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT