I am trying to use mathematica to solve the following system of equation, but I can not for the life of me get it to work. I have the following:
Stiffness = ((Y*A)/L )*{{1, -1, 0, 0}, {-1, 2, -1, 0}, {0, -1,
2, -1}, {0, 0, -1, 1}} // MatrixForm
Displacements = {{0}, {a}, {b}, {0}} // MatrixForm
Force = {{x}, {(7*L^3 )/162}, {(10*L^3)/81}, {y}} // MatrixForm
I need to solve:
Stiffness * Displacements = Force
When I use LinearSolve it just spits back the input command. I need to solve for a, b, x, and y. Thanks for the help.
Displacements = {{0}, {a}, {b}, {0}}beDisplacements = {0, a, b, 0}? The same change should apply forForce, IMO. How do you use the LinearSolve function? - Palecsolution = Solve[Thread[Stiffness . Displacements == Force], {a, b, x, y}]? See the “Properties & Relations” part of LinearSolve documentation. See in WolframAlpha. - PalecLinearSolve[Stiffness, Force], but was not sure of what the correct way of solving this problem would be. - mborlandsolution = Solve[Thread[Stiffness . Displacements == Force], {a, b, x, y}]yields "This system cannot be solved with the methods available to Solve" - mborland