Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7dbf7d5

Browse files
committed
updates
1 parent1abca34 commit7dbf7d5

File tree

1 file changed

+12
-19
lines changed

1 file changed

+12
-19
lines changed

‎content/06-sympy/sympy-examples.ipynb‎

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"name":"stdout",
3535
"output_type":"stream",
3636
"text": [
37-
"IPython console for SymPy 1.11.1 (Python 3.11.2-64-bit) (ground types: gmpy)\n",
37+
"IPython console for SymPy 1.13.3 (Python 3.13.2-64-bit) (ground types: gmpy)\n",
3838
"\n",
3939
"These commands were executed:\n",
4040
">>> from sympy import *\n",
@@ -43,7 +43,7 @@
4343
">>> f, g, h = symbols('f g h', cls=Function)\n",
4444
">>> init_printing()\n",
4545
"\n",
46-
"Documentation can be found at https://docs.sympy.org/1.11.1/\n",
46+
"Documentation can be found at https://docs.sympy.org/1.13.3/\n",
4747
"\n"
4848
]
4949
}
@@ -1180,7 +1180,7 @@
11801180
{
11811181
"data": {
11821182
"text/latex": [
1183-
"$\\displaystyle x^{3} + x^{2}\\cdot\\left(2 - z\\right) + x\\left(y + 1\\right) - 3$"
1183+
"$\\displaystyle x^{3} + x^{2}\\left(2 - z\\right) + x\\left(y + 1\\right) - 3$"
11841184
],
11851185
"text/plain": [
11861186
" 3 2\n",
@@ -1743,10 +1743,10 @@
17431743
"$\\displaystyle 1 + x +\\frac{x^{2}}{2} -\\frac{x^{4}}{8} -\\frac{x^{5}}{15} -\\frac{x^{6}}{240} +\\frac{x^{7}}{90} +\\frac{31 x^{8}}{5760} +\\frac{x^{9}}{5670} + O\\left(x^{10}\\right)$"
17441744
],
17451745
"text/plain": [
1746-
" 2 4 5 6 7 8 9\n",
1747-
" x x x x x 31⋅x x ⎛ 10⎞\n",
1746+
" 2 4 56 7 8 9\n",
1747+
" x x xx x 31⋅x x ⎛ 10⎞\n",
17481748
"1 + x + ── - ── - ── - ─── + ── + ───── + ──── + O⎝x ⎠\n",
1749-
" 2 8 15 240 905760 5670"
1749+
" 2 8 15 240 90 5760 5670"
17501750
]
17511751
},
17521752
"execution_count":65,
@@ -1801,7 +1801,7 @@
18011801
" 5 4 3\n",
18021802
"x 5⋅x 10⋅x 2 137\n",
18031803
"── - ──── + ───── - 5⋅x + 5⋅x - ───\n",
1804-
"5 4 3 60"
1804+
"5 4 360"
18051805
]
18061806
},
18071807
"execution_count":67,
@@ -2067,8 +2067,8 @@
20672067
"$\\displaystyle f{\\left(x\\right)} - 2\\frac{d}{d x} f{\\left(x\\right)} +\\frac{d^{2}}{d x^{2}} f{\\left(x\\right)} =\\sin{\\left(x\\right)}$"
20682068
],
20692069
"text/plain": [
2070-
" 2\n",
2071-
" d d\n",
2070+
"2\n",
2071+
" dd\n",
20722072
"f(x) - 2⋅──(f(x)) + ───(f(x)) = sin(x)\n",
20732073
" dx 2\n",
20742074
" dx"
@@ -2337,8 +2337,8 @@
23372337
"⎢ 2 2 2 2⎥\n",
23382338
"⎢ - c + u - c ⋅ρ + ρ⋅u ⎥\n",
23392339
"⎢ ⎥\n",
2340-
" 2\n",
2341-
"-c ⋅ρ u ⎥\n",
2340+
"2\n",
2341+
"⎢ -c ⋅ρ u ⎥\n",
23422342
"⎢0 ───────── ───────── ⎥\n",
23432343
"⎢ 2 2 2 2 ⎥\n",
23442344
"⎣ - c + u - c + u ⎦"
@@ -2394,13 +2394,6 @@
23942394
"F = 1 * kilogram * 9.81 * meter / second**2\n",
23952395
"convert_to(F, newton)"
23962396
]
2397-
},
2398-
{
2399-
"cell_type":"code",
2400-
"execution_count":null,
2401-
"metadata": {},
2402-
"outputs": [],
2403-
"source": []
24042397
}
24052398
],
24062399
"metadata": {
@@ -2419,7 +2412,7 @@
24192412
"name":"python",
24202413
"nbconvert_exporter":"python",
24212414
"pygments_lexer":"ipython3",
2422-
"version":"3.10.10"
2415+
"version":"3.13.2"
24232416
}
24242417
},
24252418
"nbformat":4,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp