Skip to content

Instantly share code, notes, and snippets.

View StrangeGirlMurph's full-sized avatar
🌷
tulip is a weird word

Murphy Sünnenwold StrangeGirlMurph

🌷
tulip is a weird word
View GitHub Profile
@StrangeGirlMurph
StrangeGirlMurph / curves.nb
Last active May 7, 2022 13:32
Visualisierung für beliebig parametrisierte Kurven
norm[x_] := Sqrt[Simplify[x . x]];
interval = 1.4;
f[t_] = {t^2, t^3 - t}; (* Kurve *)
v[t_] = D[f[t], t]; (* Geschwindigkeitsvektor *)
V[t_] = norm[v[t]]; (* Geschwindigkeit *)
a[t_] = D[v[t], t]; (* Beschleunigungsvektor *)
T[t_] = v[t]/
@StrangeGirlMurph
StrangeGirlMurph / normalvectors.nb
Last active May 3, 2022 08:04
Normalvector of curve - Mathematica
interval = 1.4;
f[t_] = {t^2, t^3 - t} (* Kurve *)
tf[t_] = D[f[t], t]; (* Tangentialvektor *)
ntf[t_] = tf[t]/Sqrt[tf[t] . tf[t]]; (* Normierter Tangentialvektor *)
af[t_] = D[ntf[t], t]; (* Normalvektor aber nicht normiert*)
kf[t_] = Norm[af[t]]; (* Krümmung *)
nf[t_] = af[t]/kf[t];(* Normalvektor *)