-
Notifications
You must be signed in to change notification settings - Fork 3
fb_reactions()
mkraska edited this page Nov 25, 2024
·
5 revisions
-
obj
list of objects from input field -
f
expected number of force reactions -
m
expected number of moment reactions
This is a function for Feedback for Free Body Diagrams. The function counts
- All "force" objects, with state "active" and no space character in their name (as it would be the case for resultants of distributed loads).
- All "moment" objects with state "active".
Question text
[[feedback:System]]
Feedback variables
[txt, OK]: fb_system(names, sys, env, " Die Stäbe gehören alle zum System, die Lager gehören zur Umgebung." )
obj: stackjson_parse(objects);
[rtxt, rOK]: fb_reactions(obj, 3, 1);
Feedback node 1
Field | Value |
---|---|
sans | OK |
tans | true |
feedback true | {@txt@} |
feedback false | {@txt@} |
Feedback node 2
Field | Value |
---|---|
sans | rOK |
tans | true |
feedback true | {@rtxt@} |
feedback false | {@rtxt@} |
In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard