Skip to content

Commit eaaa7d9

Browse files
update class01
1 parent 7cb1f4e commit eaaa7d9

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

class01/class01_intro.jl

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,16 +463,41 @@ Foldable(md"All mechanical systems can be written this way. Why?", md"""
463463
464464
Manipulator Dynamics Equations are a way of rewriting the Euler--Lagrange equations.
465465
466-
> In the calculus of variations and classical mechanics, the Euler–Lagrange equations are a system of second-order ordinary differential equations whose solutions are stationary points of the given action functional. The equations were discovered in the 1750s by Swiss mathematician Leonhard Euler and Italian mathematician Joseph-Louis Lagrange.
466+
#### 🚀 Detour: The Principle of Least Action 🚀
467467
468+
In the calculus of variations and classical mechanics, the Euler–Lagrange equations are a system of second-order ordinary differential equations whose solutions are stationary points of the given action functional.
469+
470+
> The equations were discovered in the 1750s by Swiss mathematician Leonhard Euler and Italian mathematician Joseph-Louis Lagrange.
471+
472+
In classical mechanics:
473+
468474
```math
469475
L = \underbrace{\frac{1}{2} v^{\top}M(q)v}_{\text{Kinematic Energy}} - \underbrace{U(q)}_{\text{Potential Energy}}
470476
```
471477
472-
What can you say about $M(q)$? When do we have a problem inverting it?
478+
A curve ($q^\star(t)$) is physically realised iff it is a stationary
479+
point of ($\mathcal{S}$) :
480+
481+
```math
482+
\delta\mathcal{S}=0
483+
\;\;\Longrightarrow\;\;
484+
\frac{d}{dt}\!\bigl(\tfrac{\partial L}{\partial\dot q}\bigr)
485+
- \frac{\partial L}{\partial q}=0
486+
\quad\Longrightarrow\quad
487+
M(q)\,\ddot q + C(q,\dot q)\,\dot q + \nabla U(q)=0 .
488+
```
473489
474490
""")
475491

492+
# ╔═╡ f3d155c6-5384-481a-8373-582e753ea8d6
493+
question_box(md"What can you say about $M(q)$? When do we have a problem inverting it?")
494+
495+
# ╔═╡ b9aeab8a-f8ea-4310-8568-5d6bda0bb4d3
496+
question_box(md"Can you derive the stationary condition?")
497+
498+
# ╔═╡ e1dc6ecf-4e62-415a-a620-0731953c5ab4
499+
500+
476501
# ╔═╡ 5f35a169-887f-477f-b010-167627f7ce4c
477502
md"## Linear Systems
478503
@@ -1160,6 +1185,9 @@ end
11601185
# ╟─f10927fe-d392-4374-bad1-ab5ac85b8116
11611186
# ╟─b8b206ef-cdc5-4cc9-9b55-70d711ba2a9e
11621187
# ╟─a09de9e4-7ecc-4d23-9135-384077f0c03f
1188+
# ╟─f3d155c6-5384-481a-8373-582e753ea8d6
1189+
# ╟─b9aeab8a-f8ea-4310-8568-5d6bda0bb4d3
1190+
# ╠═e1dc6ecf-4e62-415a-a620-0731953c5ab4
11631191
# ╟─5f35a169-887f-477f-b010-167627f7ce4c
11641192
# ╟─e860d92b-cc8f-479b-a0fc-e5f7a11ae1fd
11651193
# ╟─bb4bfa72-bf69-41f5-b017-7cbf31653bae

0 commit comments

Comments
 (0)