Applying cramer's rule for a 2x2 matrix to solve for constants C_1 and C_2 but keeps returning "Unable to display symbolic object because 'symengine' was reset. Repeat commands to regenerate result". Hopefully not making an elementary error but recently updated to 2024a version and been having error message for other codes. I'm using syms, as I'm not provided with spring constant, n, or xi. Therefore I treat them as scalar variables. I appreciate any pointers/tips to resolve this problem. Thanks.
a = [(1-(k/2)), (1-k); (1/6), (1/2)];
x = [((k*(1)^(n+2))/((n)*(n+1)*(n+2)))-((1^(n+1))/((n)*(n+1))), (1-k); ((1)^(n+3))/((n)*(n+1)*(n+2)*(n+3)), 1/2];
y = [(1-(k/2)), ((k*(1)^(n+2))/((n)*(n+1)*(n+2)))-((1^(n+1))/((n)*(n+1))); 1/6, -((1^(n+3))/((n)*(n+1)*(n+2)*(n+3)))];
determinant_a = det(a)
determinant_a =
determinant_x = det(x)
determinant_x =
determinant_y = det(y)
determinant_y =
C_1 = determinant_x * (determinant_a)^-1
C_1 =
C_2 = determinant_y * (determinant_a)^-1
C_2 =
f = (((xi)^(n+3))/((n)*(n+1)*(n+2)*(n+3))) + (C_1)*(((xi)^(3))/(6)) + (C_2)*(((xi)^(2))/(2))
f =