Skip to content

Commit

Permalink
Update tikz-notes.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuo committed Jan 8, 2025
1 parent 5226305 commit 0733129
Showing 1 changed file with 94 additions and 0 deletions.
94 changes: 94 additions & 0 deletions tikz-notes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,42 @@
" (C) -- ($(A)!(C)!(B)$) coordinate (F) node [left] {$F$} node [midway, left=3pt] {357};"
]
},
{
"cell_type": "markdown",
"id": "6c02fbe3-f7de-49b8-aba0-452a691ebe75",
"metadata": {},
"source": [
"### 坐标分量\n",
"\n",
"直角三角形与正方形,求蓝线长度。"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "5176cab4-3956-4b82-b1b3-c43eaac38faa",
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAPEAAACCCAMAAACgo95UAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAACxUExURf///wAAAAAAAAAA/wAAAAAAAAAAAAAAAAAA/wAA/wAAAAAAAAAA/wAA/wAAAAAA/wAA/wAA/wAAAAAA/wAAAAAAAAAA/wAAAAAA/wAA/wAA/wAA/wAAAAAAAAAAAAAAAAAAAAAARwAA0AAAQQAA9QAAtgAA/QAA9QAA8AAAFwAAvwAA9gAA2QAAAAAAAAAAAAAAfAAArgAAAAAAnAAAAAAA3QAAMwAA/wAAEQAAVf///zrA/BgAAAA0dFJOUwBEXIi7qogzzDMimRF3EVXuu+6q3Wbdd0QiZpnMjvJVUHqnyObW8Pi1v/r3UM11m/XH7N+TDRghAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAAXEQAAFxEByibzPwAAAAd0SU1FB+kBCBU7JB8Xi8cAAAZKSURBVHja7Z17d7I4EMaTNUYFpJZC0eque7/fd3a7+/2/2AqoICQkIRegMH+8p+etlfk5Nc/M43CK0AQDd4hP1B4+MGKwHn8vBkas/iNkSYGspH+J/lmvN+M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of3Wt7clQidWJeSuApnYKGsT0bGZK1CDmtSRmdKrMx88nt7Dos+IU9UnMWQFsOgV6erykGCdF55PEqGdidktiwimo5uOldGVsStQmzgz9Zh5v2jsFzHyouRLrEDPlWXt5F5hGwHkgxM0VQP0DjJWPkSnREDFLnvWcAkY+ZqZEU8S1FcDiADtqOAWMfHyTJTZAzJJnDacAGCVeDY24sgJYOgVdl3eb+fg+Gh4xQ567HmDQzNAbJPF1BVC/0W7kQ8yW2CBxQ567OQX1fIxNiTaIc0P/rOkU1PMxZQRYIq7LcwenAOqvYThs4oK5oibKt/nW8olNl9g8cV2eVZd3oXY0hCMgrjOr6dRjPnGCRkFck2clpwBsTYmWiR+ZVZwCeJgSkxERP64Ayt/mC7amRAfEDy2JtFMA1RLjsRE/rABKHmBga0p0RFxtSTZSTgFYMgKcEVdXAKVu8wVbU6I74qo8SzgF93xWhqdEl8SVFUCxUwC2pkS3xBV53goOMLBkBDgnLlcABU4B2JoS3RPf5bn9Nl+wZAT0QnxfAWxzCsDWlNgP8U2eWxptsGQE9EV8N/S5t/mCrSmxN+KbPPOcgjyfNEYfifi2AshutMHWlNgr8VWembf5giUjoG/igpm1vAu2psTeiQt5bjoFYMkIGAJxzvxFfXkXbE2JgyDO5fnLxwMMLBkBAyHOmb/6utpog2drhBgIcSbP/37zbdlow9JHH5w4Y/7vu+9vBxhYLvEgiBFa/fDjTz9fiX/51W78BngQQX9//yMbHrw/7QcZSHz119JDc8wxxxxzzMFqc2/TazLIvyhiutuj/unagqXXvyhCPniBMaL3W27yCpOP3xPciYuJ/YwmQ+wVMw2aDnEefjgx4iRFEyOOw4kRJyc0MeIlmRox0IkR48kQh5MiJiSC03XlZCo1rjTZaYjmmGOOOeaYY44Jxv81OrU9cbSI0gAAABN0RVh0cGRmOlZlcnNpb24AUERGLTEuNVM2WsEAAAAASUVORK5CYII=\n"
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%tikz -l calc\n",
"\n",
"\\draw (62:1) coordinate (B1)\n",
" (0, 0) coordinate (B)\n",
" -- (4, 0) coordinate (C) node [midway, below] {17}\n",
" -- ($(B)!(C)!(B1)$) coordinate (A) -- cycle node [midway,left] {8};\n",
"\n",
"\\draw let \\p1 = (A) in (B) rectangle (\\y1, \\y1) coordinate (D);\n",
"\\draw [blue] (C) -- (D) node [midway,above] {?};"
]
},
{
"cell_type": "markdown",
"id": "e3368435-7992-4c56-bba9-0be9d4cdbae9",
Expand Down Expand Up @@ -543,6 +579,64 @@
"\\draw (1, 0) node [above] {$\\alpha=60^\\circ$} node [below] {$r=?$};"
]
},
{
"cell_type": "markdown",
"id": "7d24c4a6-d423-424a-b450-857a27f05bb2",
"metadata": {},
"source": [
"### 三角函数计算\n",
"\n",
"直角三角形内接半圆,求半径。"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "15a19a3d-8738-4f80-8459-4000343deb29",
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAQkAAADRCAQAAAB1e48ZAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAXEQAAFxEByibzPwAAAAd0SU1FB+kBCBUbIfr5W+oAAAqtSURBVHja7Z29buPKGYafEXaLALuFym21yJYBEhpI+tB3EPkS5CsIpBsIQKVJLd3AAaRLEC8ghXiQKkB2IQap3JlAzgFSJMCksGzLa9qW+CfOzPsR56yxK9si9fB7vvnhjLEoFIcxqPJNJjFDXTohcRgROxPr4gmJw1izMYkun5A4ROKCsdlIIELiIWzGBYUEIiQOoSjsFXMJREg8xWIugQgJCURISCBCQgIREo1AIYEICQlESEggQkICERISiKINJCQQIfGSQH7P7/iXBCIkHuPP/IM/SSCuxbu2frCZEnNhc5OyMhFXttDFDjpLmBEJ1zZXC0RI3MeCpV2rBSIk7nPEmIiZWiBC4h6IIQnL72sHCSTkLDEFOytplkogYSJhRky4frG3QgIJMEskpDZ9+Z8lkM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hJBSdxP8BGqJUlX819sgAAAATdEVYdHBkZjpWZXJzaW9uAFBERi0xLjVTNlrBAAAAAElFTkSuQmCC\n"
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%tikz -l math\n",
"\n",
"\\draw (0,0) -- (4, 0) node [midway,below] {$4$}-- (0, 3)\n",
" -- cycle node [midway,left] {$3$};\n",
"\\tikzmath {\\r=(3*4)/(3+4);\\a=atan(3/4);}\n",
"\\draw (0, \\r) arc (180:360-\\a:\\r)\n",
" (0, \\r) arc (180:180-\\a:\\r)\n",
" (\\r,\\r) node [above right] {$r=?$};"
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "10216c0d-6ae5-4dd4-b5ee-f72dd4d7974d",
"metadata": {},
"outputs": [
{
"data": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAASwAAACTCAQAAACen+zqAAAAIGNIUk0AAHomAACAhAAA+gAAAIDoAAB1MAAA6mAAADqYAAAXcJy6UTwAAAACYktHRAD/h4/MvwAAAAlwSFlzAAAXEQAAFxEByibzPwAAAAd0SU1FB+kBCBUgIyhF1f4AAApXSURBVHja7Z29jytXGcZ/x0odaSIKBM3V3CYlaG5DESlEs22gwNuQgsoWf4H3T5htSD1LexHSuLgSFCnsBgUhCltpEAlCtpAQClLQmASJu9yrq0Phj7W9Y8/XOeMz9vtOs7v+2pl5/D7Ped73nKM0EhLmoyOXQEKAVSJUogZyewVYpmE1IGSgEuXJLRZgmYNVQMQ1z/CZqEBusgDLDKw8Em71WM/1M4ZMhBJPchfOb1SoEjx9tfmtS8yYvl7IzZaMVVddXT/8rodCiQIsQ+pqNzsJJQoV1ldXE4b6JvMxoUQBlhl19ehRnwSPaz2V2y5UWENd7YdQYqOhz+QgQBMWeF6XlARPI4fN40yo8Ji6EkoUKqweMfNisBJKFCosToMD0rLkJpQoVJjvXU240uPSrxNKFCo8qq4SbsvDSihRfKwa3lWB14txKhmrvHdVIG9JLVGAlaGuHlUGhRKFChv0roQSBViNqSsZJQoVWlF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l1vOxEqb6Buiy0GPRPQ2LmDlTuoWfPWx29ZoawFIRActyaLheVUai0bgrDqzGjdO66qpsSpbDsOlQUpQ3RYkVM5bySLhd0V+Xcdb6yBINFHeGZXJWo5RYubF/szMVM2nsO1nO6h7rdDjlKLGGd7X6OZCOhpNCK622p6FtSqxAhSpksLUNXFc6Gk4aQ8JKTGWbEqt6V3W/MXIYyljB/kRWNyixlrpaNvfLzT0xtGZ1vtq2KLEkFW55V4iD1W4ytEuJpYC1p64AAmQHr1PHtA6wrBmn1dXVyqATa9QFm7T2XTBNiWUy1royuE2Ec7FGHbBJa+YsG5RYGFiP1NWSCKX07ELs7wfiAiWWrQzu/HUinnub/XeblFhRXYnCOj+VZbbjtBgVPlZXorDcUlnj+irLLCW+VVBdPc14QBSWS5aDUR9K36gpsQqqT8LIzVgZ3pV4WGcq342OEquoq02VUPrcHep/t/K+lWuJOfMKl3MGMx/xSLWSVOFKKM0zG3Oeq85L7JT2rh6IUJpl3FJZVvaPrkqJnUrqCsAXheVUzM2NC02MEg8Ca6erXYDVBmBZ3PFe33DNQCXKqw2sA97VNrAk3AKW1TtSlhI7FdTVGljiYrkFLMvzbkpSYvHK4KNakJRz3LIcdEN1yUK1xE4FdQUoH6Sc41gsVGj/Q4pSYqeCuhLp7qrh0EgUo8ROBXW1+n7InXQugqY+KH+U2CnlXcmY0GkqtGk4lKXETll1tQGWZCz3xoWNxnFK7JRWVyc6DQkX4zAldiqoK4mL11j5lNgpra5OdgoSbnJINiV2SqsroUIBVgFK7FRQVwIsiVxK7Ii6krBBiUovd8KRkDAXQ/qGt+6VkHhkN0hImIv/A3rxY5CXVYtYAAAAE3RFWHRwZGY6VmVyc2lvbgBQREYtMS41UzZawQAAAABJRU5ErkJggg==\n"
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"%%tikz -l math\n",
"\n",
"\\tikzmath {\\r=(3*4)/(3+4); \\a=atan(4/3); \\x=(3-\\r)*5/3;}\n",
"\n",
"\\draw (0, 0) -- (\\a:3) node [midway, left] {6} -- (5, 0) node [midway, above] {8} -- cycle;\n",
"\\draw (\\x+\\r, 0) arc (0:180:\\r);"
]
},
{
"cell_type": "markdown",
"id": "1049fe6e-ebb8-44ee-a965-d7ecd9b5fc86",
Expand Down

0 comments on commit 0733129

Please sign in to comment.