I am trying to make a program that solves statics problems such as the following that follow a general format:
A 75-kg adult sits at one end of a 9.0-m-long board. His 25-kg child sits on the other end.
Where should the pivot be placed so that the board is balanced, ignoring the board’s mass?
Find the pivot point if the board is uniform and has a mass of 15 kg.
My plan is to create a general set of equations that relate the 3 conditions for equilibrium (net forces in x-direction=0, net forces in y-direction=0 and net torque=0) to the known quantities to solve for what is needed.
For example in this case I would use the following Mathematica code:
NSolveValues[75kgf*(x-9m)+(x)*25kgf==0,x]
And
NSolveValues[75kgf*(x-9m)+x*25kgf+4.5m*15kgf==0,x]
My goal is to create a program where the user can select whether they would like to solve for the big mass, the small mass, the pivot points distance from the big mass, the length, or the mass of the bar.
I am not sure whether to use Manipulate, Form Function, Form Page, Dynamic, or Dynamic Module.
I am also considering uses Switch and Which to build a program where they select what quantity they would like to solve from a dropdown menu, and then enter the values for the remaining quantities. The kernel would then solve for the variable and output the result.
I am also having issues with the AutoGrader and was wondering what to do.
I am also wondering if there is a way to see if I need to watch any of the recordings to get the certificate of completion. I think I may have missed one day, but I can't remember which day I missed.