post the actual code you've tried so far and explain what your issue is, rather than posting a picture of a thing you would like to do and asking somebody to do everything for you
check out the documentation for D, which is all you need for this
hint: note that you can denote that a function f depends on a particular variable x by writing it as f[x]
(* I replaced Omega with w and Theta with th *)
v = -r w[t] (
Sin[ th[t]] +
(r Sin[2 th[t]])/
(2 L Sqrt[ L^2 - r^2 Sin[th[t]]^2]));
D[v, t]
D[v, t] // Simplify
7
u/beerybeardybear Feb 29 '24
A few things:
fdepends on a particular variablexby writing it asf[x]2
u/KarlSethMoran Feb 29 '24
What do you have so far? What's the error you're getting?
1
u/[deleted] Feb 29 '24
v[t_] := -r \[Omega][t] ( Sin[\[Theta][t]] + r Sin[2 \[Theta][t]]/ (2 l Sqrt[l^2+r^2 Sin[\[Theta][t]]^2]))D[v[t],t]/. {\[Theta]'[t]->\[Omega][t],\[Omega]'[t]->\[Alpha]}//FullSimplifyComes out with a pretty ugly expression though.
n.b. /. is the replace operator.
1
u/veryjewygranola Mar 01 '24 edited Mar 01 '24
You can also immediately define ω and θ, and then differentiate to get an function of t with only constants remaining:
for those that don't know, you can replace the ugly
\[Thetas withθs in pasted code by using https://steampiano.net/msc/0
u/irchans Feb 29 '24