How to solve max load of P in Matlab?
8 visualizaciones (últimos 30 días)
The equations governing the forces on the beam shown below are as follows:
We want to determine the maximum load, P, which will result in a load at the roller, F_by, which does not exceed 500 lb.
Write a Matlab program which uses the above system of equations to determine the maximum force P which results in vertical force on the roller, F_by of between 499 lb and 500 lb. Your approach should repetitively solve the above system of equations until the desired result is obtained.
This is the code I have, but I don't know where to go next:
bym el 21 de Mzo. de 2013
So, when I see a problem statement that says "solve the above system of equations" I think of formulating the equations in matrix form. The coefficient matrix for the equations involving P is
when I see a problem statement that says "... until the desired result is obtained", I think of a loop structure
when the problem statement says "[repetitively] solve..." The repetition is taken care of in the loop, but solving usually involves finding the unknowns. this often involves mldivide
As you can see, I haven't given you the direct answer, but areas to explore in solving your homework problem