aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/kra/images
diff options
context:
space:
mode:
authorsamuel niederer <samuel.niederer@ost.ch>2022-05-26 11:36:20 +0200
committersamuel niederer <samuel.niederer@ost.ch>2022-05-26 11:36:20 +0200
commitffb50c6574c53b805df068fd2ce2e89726597911 (patch)
tree8ac7e41c9e4ddce9cd822ed4b074f203466f7498 /buch/papers/kra/images
parentadd tick figure of simple mass system (diff)
downloadSeminarSpezielleFunktionen-ffb50c6574c53b805df068fd2ce2e89726597911.tar.gz
SeminarSpezielleFunktionen-ffb50c6574c53b805df068fd2ce2e89726597911.zip
add spring constant
Diffstat (limited to 'buch/papers/kra/images')
-rw-r--r--buch/papers/kra/images/simple_mass_spring.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/buch/papers/kra/images/simple_mass_spring.tex b/buch/papers/kra/images/simple_mass_spring.tex
index e98ee3e..207f1e0 100644
--- a/buch/papers/kra/images/simple_mass_spring.tex
+++ b/buch/papers/kra/images/simple_mass_spring.tex
@@ -46,8 +46,10 @@
\draw[mass] (\originX2, \originY2) ++ (\xMass2, \wWall) rectangle ++ (\wMass,\hMass) node[midway] {$m$};
% create springs
- \draw[spring, segment length=(\xMass1 - \wWall) * \springscale] (\originX1, \originY1) ++ (\wWall, \wWall + \hMass / 2) --+ (\xMass1 - \wWall, 0);
- \draw[spring, segment length=(\xMass2 - \wWall) * \springscale] (\originX2, \originY2) ++ (\wWall, \wWall + \hMass / 2) --+ (\xMass2 - \wWall, 0);
+ \draw[spring, segment length=(\xMass1 - \wWall) * \springscale] (\originX1, \originY1) ++
+ (\wWall, \wWall + \hMass / 2) --++ (\xMass1 - \wWall, 0) node[midway,above=0.2] {$k$};
+ \draw[spring, segment length=(\xMass2 - \wWall) * \springscale] (\originX2, \originY2) ++
+ (\wWall, \wWall + \hMass / 2) --++ (\xMass2 - \wWall, 0) node[midway,above=0.2] {$k$};
% create vertical measurement line
\draw[vmline] (\xMass1, \xAxisYpos) --+(0, \originY1 + \wWall);