File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 1313 },
1414 {
1515 "cell_type" : " code" ,
16- "execution_count" : 20 ,
16+ "execution_count" : 2 ,
1717 "metadata" : {},
1818 "outputs" : [],
1919 "source" : [
4141 " \n " ,
4242 " \n " ,
4343 " $\n " ,
44- " \\ mathbf{A} = I_ {3 \\ times 3} - \\ frac{1}{2} [v]_\\ times + [v]^2_\\ times \\ frac{1}{\\ theta^2} \\ left( 1 - \\ frac{\\ theta}{2} \\ frac{\\ sin \\ theta}{1 - \\ cos \\ theta} \\ right)\n " ,
44+ " \\ mathbf{A} = \\ mathbf{1}_ {3 \\ times 3} - \\ frac{1}{2} [v]_\\ times + [v]^2_\\ times \\ frac{1}{\\ theta^2} \\ left( 1 - \\ frac{\\ theta}{2} \\ frac{\\ sin \\ theta}{1 - \\ cos \\ theta} \\ right)\n " ,
4545 " $\n " ,
4646 " where $\\ theta = \\ | \\ varphi \\ |$ and $v = \\ hat{\\ varphi}$\n " ,
4747 " \n " ,
4848 " We simplify the equation as\n " ,
4949 " \n " ,
5050 " $\n " ,
51- " \\ mathbf{A} = I_ {3 \\ times 3} - \\ frac{1}{2} [v]_\\ times + [v]^2_\\ times \\ Theta\n " ,
51+ " \\ mathbf{A} = \\ mathbf{1}_ {3 \\ times 3} - \\ frac{1}{2} [v]_\\ times + [v]^2_\\ times \\ Theta\n " ,
5252 " $\n " ,
5353 " \n " ,
5454 " where\n " ,
308308 "source" : [
309309 " which is simply the dot product over the norm."
310310 ]
311+ },
312+ {
313+ "cell_type" : " code" ,
314+ "execution_count" : 7 ,
315+ "metadata" : {},
316+ "outputs" : [
317+ {
318+ "name" : " stdout" ,
319+ "output_type" : " stream" ,
320+ "text" : [
321+ " exp(A(t))*Derivative(A(t), t)\n "
322+ ]
323+ }
324+ ],
325+ "source" : [
326+ " A, t = symbols('A t', real=True)\n " ,
327+ " A_t = Function(A)(t)\n " ,
328+ " d = diff(exp(A_t), t)\n " ,
329+ " print(d)"
330+ ]
311331 }
312332 ],
313333 "metadata" : {
You can’t perform that action at this time.
0 commit comments