From 88bfe722e0b92a15a99deac86ff6a1525e3ebb51 Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Thu, 28 Mar 2024 15:33:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E5=9F=BA=E7=A1=80=E5=A2=A8=E5=B9=B204?= =?UTF-8?q?=EF=BC=9A=E5=A6=82=E4=BD=95=E8=BE=93=E5=85=A5=E7=9F=A9=E9=98=B5?= =?UTF-8?q?=E5=92=8C=E8=A1=8C=E5=88=97=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MoganSTEMTutorial/03_math_choice.tm | 10 ++-- MoganSTEMTutorial/04_math_matrix.tm | 87 +++++++++++++++++++++++++++++ MoganSTEMTutorial/index.tm | 4 +- 3 files changed, 94 insertions(+), 7 deletions(-) create mode 100644 MoganSTEMTutorial/04_math_matrix.tm diff --git a/MoganSTEMTutorial/03_math_choice.tm b/MoganSTEMTutorial/03_math_choice.tm index 36383a1..174727e 100644 --- a/MoganSTEMTutorial/03_math_choice.tm +++ b/MoganSTEMTutorial/03_math_choice.tm @@ -6,7 +6,7 @@ 03\<#8BB2\>\<#FF1A\>\<#8F93\>\<#5165\>\<#5206\>\<#6BB5\>\<#51FD\>\<#6570\>> - |||||||||||||\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|>||\<#5177\>\<#680F\>\<#FF1A\>>|\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>||\<#5355\>\<#9879\>\<#FF1A\>>| + |||||||||||||\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|>||\<#5177\>\<#680F\>\<#FF1A\>>|\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>||\<#5355\>\<#9879\>\<#FF1A\>>| >|>||\<#6DF7\>\<#5408\>\<#547D\>\<#4EE4\>\<#FF1A\>>|>|>>>> <\equation*> @@ -32,9 +32,9 @@ <\references> <\collection> - > - > - > + > + > + > @@ -46,7 +46,7 @@ |> <\associate|idx> - |\<#63D2\>\<#5165\>>||\<#6570\>\<#5B66\>>||\<#9009\>\<#62E9\>>>|> + |\<#63D2\>\<#5165\>>||\<#8868\>\<#683C\>>||\<#9009\>\<#62E9\>>>|> |\<#5E2E\>\<#52A9\>>||\<#58A8\>\<#5BA2\>\<#661F\>\<#7403\>>>|> diff --git a/MoganSTEMTutorial/04_math_matrix.tm b/MoganSTEMTutorial/04_math_matrix.tm new file mode 100644 index 0000000..2032032 --- /dev/null +++ b/MoganSTEMTutorial/04_math_matrix.tm @@ -0,0 +1,87 @@ + + +> + +<\body> + + 04\<#8BB2\>\<#FF1A\>\<#8F93\>\<#5165\>\<#77E9\>\<#9635\>\<#548C\>\<#884C\>\<#5217\>\<#5F0F\>> + + |||||||||||||\<#5148\>\<#8FDB\>\<#5165\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>>|>||\<#5177\>\<#680F\>\<#FF1A\>>|\<#5F0F\>\<#5DE5\>\<#5177\>\<#680F\>\<#7684\>\<#8868\>\<#683C\>\<#6309\>\<#94AE\>>|\<#5FEB\>\<#6377\>\<#952E\>\<#FF09\>>>||\<#5355\>\<#9879\>\<#FF1A\>>| + >|>||\<#6DF7\>\<#5408\>\<#547D\>\<#4EE4\>\<#FF1A\>>|,,,>|>>>> + + \<#672C\>\<#9875\>\<#5E7B\>\<#706F\>\<#7247\>\<#FF1A\>\<#70B9\>\<#51FB\>>\<#FF0C\>\<#70B9\>\<#51FB\>\<#96F6\>\<#5F00\>\<#59CB\>\<#5B66\>\<#58A8\>\<#5E72\>\<#7406\>\<#5DE5\>\<#5957\>\<#4EF6\>>\<#5373\>\<#53EF\>\<#627E\>\<#5230\> + + \; + + \<#4E5F\>\<#53EF\>\<#4EE5\>\<#4F7F\>\<#7528\>Octave\<#63D2\>\<#4EF6\>\<#FF08\>\<#FF09\> + + <\session|octave|default> + <\folded-io> + \\\ + <|folded-io> + ones(3) + <|folded-io> + >|>|>>|>|>|>>|>|>|>>>>>> + + + <\folded-io> + \\\ + <|folded-io> + zeros (1, 2) + <|folded-io> + >|>>>>>> + + + <\folded-io> + \\\ + <|folded-io> + eye(4) + <|folded-io> + >|>|>|>>|>|>|>|>>|>|>|>|>>|>|>|>|>>>>>> + + + <\folded-io> + \\\ + <|folded-io> + rand (4, 3) + <|folded-io> + >|>|>>|>|>|>>|>|>|>>|>|>|>>>>>> + + + <\input> + \\\ + <|input> + \; + + + + \; + > + + +<\initial> + <\collection> + + + + + +<\references> + <\collection> + > + > + > + + + +<\auxiliary> + <\collection> + <\associate|idx> + |\<#63D2\>\<#5165\>>||\<#8868\>\<#683C\>>||\<#77E9\>\<#9635\>>>|> + + |\<#5E2E\>\<#52A9\>>||\<#58A8\>\<#5BA2\>\<#661F\>\<#7403\>>>|> + + |\<#63D2\>\<#5165\>>||\<#4F1A\>\<#8BDD\>>||Octave>>|> + + + \ No newline at end of file diff --git a/MoganSTEMTutorial/index.tm b/MoganSTEMTutorial/index.tm index 9e0d3d8..28f298d 100644 --- a/MoganSTEMTutorial/index.tm +++ b/MoganSTEMTutorial/index.tm @@ -5,8 +5,6 @@ <\body> \<#96F6\>\<#5F00\>\<#59CB\>\<#5B66\>\<#58A8\>\<#5E72\>\<#7406\>\<#5DE5\>\<#5957\>\<#4EF6\>>> - \<#5B66\>\<#6A21\>\<#5F0F\>> - <\itemize> 00\<#8BB2\>\<#FF1A\>\<#521D\>\<#8BC6\>\<#6570\>\<#5B66\>\<#6A21\>\<#5F0F\>|00_math_mode.tm> @@ -15,6 +13,8 @@ 02\<#8BB2\>\<#FF1A\>\<#6570\>\<#5B66\>\<#516C\>\<#5F0F\>\<#4E0E\>|02_math_latex.tm> 03\<#8BB2\>\<#FF1A\>\<#5982\>\<#4F55\>\<#8F93\>\<#5165\>\<#5206\>\<#6BB5\>\<#51FD\>\<#6570\>|03_math_choice.tm> + + 04\<#8BB2\>\<#FF1A\>\<#5982\>\<#4F55\>\<#8F93\>\<#5165\>\<#77E9\>\<#9635\>\<#548C\>\<#884C\>\<#5217\>\<#5F0F\>|04_math_matrix.tm>