hallar la solucion de

2X1 + 4X2 +6X3 = 18
4X1 +5X2 +6X3 = 24
3X1 +X2 -2X3 = 4

1 comentario

Torsten
Torsten hace 35 minutos
Editada: Torsten hace 34 minutos
Write your system of linear equations as A*x = b for a (3x3)-matrix A and a (3x1)-vector b and solve for x using x = A\b :

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson hace alrededor de 1 hora
syms X1 X2 X3
eqns = [2*X1 + 4*X2 + 6*X3 == 18
4*X1 + 5*X2 + 6*X3 == 24
3*X1 + X2 - 2*X3 == 4]
eqns = 
sol = solve(eqns)
sol = struct with fields:
X1: 4 X2: -2 X3: 3
%crosscheck
subs(eqns, sol)
ans = 

Categorías

Más información sobre Physics en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Abr. de 2026 a las 19:04

Respondida:

el 26 de Abr. de 2026 a las 21:20

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by