# Question:Why does not accept the value of x1?

## Question:Why does not accept the value of x1?

Maple

Hi, I have a problem with solution task. Why eq2 doesn't accept value of x1?

restart;
P := 12; M := 6; q := 2; BC := 2; Q := q*BC; CN := (1/2)*BC; NB := CN; AK := 1; KC := AK*evalf(cot((1/6)*Pi)); KN := KC+CN; BK := NB+KN;
P := 12
M := 6
q := 2
BC := 2
Q := 4
CN := 1
NB := 1
AK := 1
KC := 1.732050808
KN := 2.732050808
BK := 3.732050808

eq1 := x1 = (P*evalf(cos((1/6)*Pi))-Q*sin((1/6)*Pi))/sin((1/6)*Pi);
eq1 := x1 = 16.78460970

eq2 := x2 = AK*P+BK*x1+KN*Q+M;
eq2 := x2 = 3.732050808 x1 + 28.92820323

solve({eq1, eq2}, {x1, x2});
{x1 = 16.78460970, x2 = 91.56921942}
NULL;
B := vector(2, [(P*evalf(cos((1/6)*Pi))-Q*sin((1/6)*Pi))/sin((1/6)*Pi), AK*P+BK*x1+KN*Q+M]);
B := [16.78460970, 3.732050808 x1 + 28.92820323]

A := matrix(2, 2, [[1, 0], [0, 1]]);
[1  0]
A := [    ]
[0  1]

C := evalm(1/A);
[1  0]
C := [    ]
[0  1]

x := evalm(`&*`(C, B));
x := [16.78460970, 3.732050808 x1 + 28.92820323]

﻿