FBD: General feedback - mkraska/meclib GitHub Wiki
Here we show the basic steps of the worked solutions. In fact, it is just a reference as to what possible correct responses could be.
Here we add the specification of a correct free body diagram. The sketch is static, without interactive editing. Deactivated objects are locked in that state using the flag "HIDE"
(uppercase). Forces and moments aren't flagged as "active"
any more.
/* Für die Musterlösung: */
refdata: [
["grid","","",-2,5,-4,3,40],
["bar","1",[0,0],pC,"HIDE"],
["beam","white","gray80",[0,0],[3,0],0.15],
["crosshair","", [0, 0], [0,0], [1,1], [1,1], "grid" ],
["dim","a",[3,2],[4,2],0],
["fix12","C",pC,0],
["fix13","B",[3,0],180,"HIDE"],
["node","A",[0,0]],
[ "q", qn1,qn2, [0, 0.2], [3,0.2], q1 , q2, 0,"HIDE"]
["force","F_1",[0,0],0.6*pC,10],
["moment","M_B",[3,0],[2.7,-0.5],[3.5000000000000018,-0.5]],
["force","B",[3,0],[4,0],10,],
["force", Rq,[xcg,1.6],[xcg,0.5],10]
];
ref: stackjson_stringify(refdata);
In the General feedback, we use the standard non-interactive JSXGraph text block from Meclib Question Setup and replace the reference to variable init
by ref
as just defined in the question variables.
Further we add a display of the equillibrium conditions and the solution for the reactions.
<div style="float:right">
[[jsxgraph width='250px' height='250px' ]]
var mode = "STACK";
var stateRef;
const initstring = {#ref#};
const centeredLabelStyle = {size:0, showInfobox:false, label:{offset:[-6,0],
anchorX:'left', anchorY:'middle'}};
// End of STACK header
[[include src="https://raw.githubusercontent.com/mkraska/meclib/main/meclib.js" /]]
[[/jsxgraph]]</div>
Rechts sehen Sie einen möglichen richtigen Freischnitt.
Die dazu gehörigen Gleichgewichtsbedingungen lauten:
\\\(\Sigma F_x={@GG[1]@}=0\\\)
\\\(\Sigma F_y={@GG[2]@}=0\\\)
\\\(\Sigma M_\oplus=M_A={@GG[3]@}=0\\\)
Die daraus berechneten Auflagerreaktionen sind:
{@TR[1]@}
{@TR[2]@}
{@TR[3]@}
- Save and continue editing, Preview
- Submit and finish