Skip to content

Instantly share code, notes, and snippets.

@Kreijstal
Created March 4, 2024 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kreijstal/2c09941b9c45c60299d0258dd42d7587 to your computer and use it in GitHub Desktop.
Save Kreijstal/2c09941b9c45c60299d0258dd42d7587 to your computer and use it in GitHub Desktop.
trying to make my own test set to check how good llms are
q:
```
The motion of a robot with a single prismatic joint can be modeled as: mq̈ + bq̇ + kq = f,
which depends on mass m = 2, stiffness k = 4, and friction b = 4.
We want to set the control force f = -kpx - kvẋ so that the controlled system is critically damped and has a closed-loop stiffness of k' = 8.
(Hint: a natural system is critically damped when b = 2√(mk.))
How do you choose the values of kp and kv?
```
a: kp=4 kv=4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment