Skip to content

Commit 253ebd7

Browse files
committed
40 / 20 : add more idea
help from Google Gemini (some of the other commits too) Clean ipynb
1 parent b7fdaca commit 253ebd7

File tree

1 file changed

+63
-27
lines changed

1 file changed

+63
-27
lines changed

40_linear_algebra_1/20_vector_dot_cross_product.ipynb

Lines changed: 63 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
},
6161
{
6262
"cell_type": "markdown",
63+
"metadata": {},
6364
"source": [
6465
"[![Vector dot product and vector length 벡터 내적과 벡터의 길이](https://i.ytimg.com/vi/WNuIhXo39_k/hqdefault.jpg)](https://www.youtube.com/watch?v=WNuIhXo39_k)\n",
6566
"\n"
66-
],
67-
"metadata": {}
67+
]
6868
},
6969
{
7070
"cell_type": "markdown",
@@ -75,6 +75,15 @@
7575
"\n"
7676
]
7777
},
78+
{
79+
"cell_type": "markdown",
80+
"metadata": {},
81+
"source": [
82+
"* Feel free to modify the vector definitions below and re-run the cells to explore how different vectors behave under inner and cross product operations.<br>\n",
83+
"아래 정의한 벡터는 가능한 예 가운데 하나이므로, 자신의 벡터를 입력하고 해당 노트북을 재실행하여 어떻게 달라지는지 관찰해 보기 바람\n",
84+
"\n"
85+
]
86+
},
7887
{
7988
"cell_type": "code",
8089
"execution_count": null,
@@ -87,11 +96,6 @@
8796
"\n"
8897
]
8998
},
90-
{
91-
"cell_type": "markdown",
92-
"source": [],
93-
"metadata": {}
94-
},
9599
{
96100
"cell_type": "code",
97101
"execution_count": null,
@@ -283,6 +287,14 @@
283287
"\n"
284288
]
285289
},
290+
{
291+
"cell_type": "markdown",
292+
"metadata": {},
293+
"source": [
294+
"* What happens to the inner product if you change the angle between the vectors?<br>벡터 사잇각이 달라지면 내적에는 어떤 영향을 미치는가?\n",
295+
"\n"
296+
]
297+
},
286298
{
287299
"cell_type": "markdown",
288300
"metadata": {},
@@ -506,6 +518,9 @@
506518
},
507519
{
508520
"cell_type": "code",
521+
"execution_count": null,
522+
"metadata": {},
523+
"outputs": [],
509524
"source": [
510525
"import matplotlib.pyplot as plt\n",
511526
"from mpl_toolkits.mplot3d import Axes3D\n",
@@ -527,13 +542,13 @@
527542
" if name is not None:\n",
528543
" ax.text3D(*xyz, name)\n",
529544
"\n"
530-
],
531-
"metadata": {},
532-
"execution_count": null,
533-
"outputs": []
545+
]
534546
},
535547
{
536548
"cell_type": "code",
549+
"execution_count": null,
550+
"metadata": {},
551+
"outputs": [],
537552
"source": [
538553
"fig = plt.figure()\n",
539554
"ax = fig.add_subplot(projection='3d')\n",
@@ -544,10 +559,16 @@
544559
"\n",
545560
"ax.grid(True)\n",
546561
"\n"
547-
],
562+
]
563+
},
564+
{
565+
"cell_type": "markdown",
548566
"metadata": {},
549-
"execution_count": null,
550-
"outputs": []
567+
"source": [
568+
"* How does the cross product change if you reverse the order of the vectors?<br>외적의 순서를 바꾸면 결과에 어떤 영향이 있는가?\n",
569+
"* Can you find two vectors whose cross product is the zero vector? What does this mean geometrically?<br>외적을 영벡터로 만드는 두 벡터를 찾을 수 있는가? 기하학적으로는 어떤 의미인가?\n",
570+
"\n"
571+
]
551572
},
552573
{
553574
"cell_type": "markdown",
@@ -598,6 +619,9 @@
598619
},
599620
{
600621
"cell_type": "code",
622+
"execution_count": null,
623+
"metadata": {},
624+
"outputs": [],
601625
"source": [
602626
"fig = plt.figure()\n",
603627
"ax = fig.add_subplot(projection='3d')\n",
@@ -608,10 +632,7 @@
608632
"\n",
609633
"ax.grid(True)\n",
610634
"\n"
611-
],
612-
"metadata": {},
613-
"execution_count": null,
614-
"outputs": []
635+
]
615636
},
616637
{
617638
"cell_type": "markdown",
@@ -625,7 +646,7 @@
625646
"cell_type": "markdown",
626647
"metadata": {},
627648
"source": [
628-
"힘 벡터 (10, 10) 의 $\\vec{x'}, \\vec{y'}$ 방향 성분을 각각 구하시오.\n",
649+
"Try This 1: Given a force vector $\\vec{f}=(10, 10)$, find its components along the directions of the vectors $\\vec{x'}, \\vec{y'}$ directions.<br>힘 벡터 (10, 10) 의 $\\vec{x'}$ and $\\vec{y'}$ 방향 성분을 각각 구하시오.\n",
629650
"\n"
630651
]
631652
},
@@ -642,14 +663,29 @@
642663
"\n"
643664
]
644665
},
666+
{
667+
"cell_type": "code",
668+
"execution_count": null,
669+
"metadata": {},
670+
"outputs": [],
671+
"source": []
672+
},
645673
{
646674
"cell_type": "markdown",
647675
"metadata": {},
648676
"source": [
649-
"힘의 작용점 $\\vec{r}= (1, 1, 1)$인 힘 벡터 $\\vec{f}=(-1, 1, -1)$가 원점에 작용하는 모멘트의 크기와 방향을 구하시오\n",
677+
"Try This 2: Find the magnitude and direction of the moment produced by a force vector \n",
678+
"$\\vec{f}=(-1, 1, -1)$ acting at the point $\\vec{r}= (1, 1, 1)$ on the origin.<br>힘의 작용점 $\\vec{r}= (1, 1, 1)$인 힘 벡터 $\\vec{f}=(-1, 1, -1)$가 원점에 작용하는 모멘트의 크기와 방향을 구하시오\n",
650679
"\n"
651680
]
652681
},
682+
{
683+
"cell_type": "code",
684+
"execution_count": null,
685+
"metadata": {},
686+
"outputs": [],
687+
"source": []
688+
},
653689
{
654690
"cell_type": "markdown",
655691
"metadata": {},
@@ -679,8 +715,12 @@
679715
}
680716
],
681717
"metadata": {
718+
"colab": {
719+
"include_colab_link": true,
720+
"provenance": []
721+
},
682722
"kernelspec": {
683-
"display_name": "Python 3",
723+
"display_name": "Python 3 (ipykernel)",
684724
"language": "python",
685725
"name": "python3"
686726
},
@@ -694,13 +734,9 @@
694734
"name": "python",
695735
"nbconvert_exporter": "python",
696736
"pygments_lexer": "ipython3",
697-
"version": "3.7.3"
698-
},
699-
"colab": {
700-
"provenance": [],
701-
"include_colab_link": true
737+
"version": "3.10.0"
702738
}
703739
},
704740
"nbformat": 4,
705-
"nbformat_minor": 0
741+
"nbformat_minor": 4
706742
}

0 commit comments

Comments
 (0)