# Template:乘法表/doc

## 參數及使用方法

first number list

second number list

expr

calculate title

title

number css

## 範例

× 5 6 7 8
1 5 6 7 8
2 10 12 14 16
3 15 18 21 24
4 20 24 28 32
{{乘法表
|table class = class="wikitable" style="text-align:center;"
|first number list = 1,2,3,4
|second number list = 5,6,7,8
|number css = css
}}


乘法表 ${\displaystyle \times }$ ${\displaystyle 5}$ ${\displaystyle 6}$ ${\displaystyle 7}$ ${\displaystyle 8}$ ${\displaystyle 1}$ ${\displaystyle 5}$ ${\displaystyle 6}$ ${\displaystyle 7}$ ${\displaystyle 8}$ ${\displaystyle 2}$ ${\displaystyle 10}$ ${\displaystyle 12}$ ${\displaystyle 14}$ ${\displaystyle 16}$ ${\displaystyle 3}$ ${\displaystyle 15}$ ${\displaystyle 18}$ ${\displaystyle 21}$ ${\displaystyle 24}$ ${\displaystyle 4}$ ${\displaystyle 20}$ ${\displaystyle 24}$ ${\displaystyle 28}$ ${\displaystyle 32}$ {{乘法表 |title=<code><nowiki>[itex]</nowiki>乘法表 |table class = class="wikitable" style="text-align:center;" |calculate title=[itex]\times
|first number list = 1,2,3,4
|second number list = 5,6,7,8
|number css = css
|use math=yes
}}


× 1 i j k
1 1 i j k
i i -1 k -j
j j -k -1 i
k k j -i -1
{{乘法表
|table class = class="wikitable" style="text-align:center;"
|first number list = 1,i,j,k
|second number list = 1,i,j,k
|number css = css
|number class=四元數
}}


sin(0.XX) 0 1 2 3 4 5 6 7 8 9
0 0 0.00999 0.01999 0.02999 0.03998 0.04997 0.05996 0.06994 0.07991 0.08987
1 0.09983 0.10977 0.11971 0.12963 0.13954 0.14943 0.15931 0.16918 0.17902 0.18885
2 0.19866 0.20845 0.21822 0.22797 0.2377 0.2474 0.25708 0.26673 0.27635 0.28595
3 0.29552 0.30505 0.31456 0.32404 0.33348 0.34289 0.35227 0.36161 0.37092 0.38018
4 0.38941 0.3986 0.40776 0.41687 0.42593 0.43496 0.44394 0.45288 0.46177 0.47062
5 0.47942 0.48817 0.49688 0.50553 0.51413 0.52268 0.53118 0.53963 0.54802 0.55636
6 0.56464 0.57286 0.58103 0.58914 0.59719 0.60518 0.61311 0.62098 0.62879 0.63653
7 0.64421 0.65183 0.65938 0.66686 0.67428 0.68163 0.68892 0.69613 0.70327 0.71035
8 0.71735 0.72428 0.73114 0.73793 0.74464 0.75128 0.75784 0.76432 0.77073 0.77707
9 0.78332 0.7895 0.7956 0.80161 0.80755 0.81341 0.81919 0.82488 0.83049 0.83602
{{乘法表
|table class = class="wikitable" style="text-align:center;"
|first number list = 0,1,2,3,4,5,6,7,8,9
|second number list = 0,1,2,3,4,5,6,7,8,9
|number css = css
|expr = floor ( sin ( {{{left}}}/10 + {{{right}}}/100 ) * 100000 ) / 100000
|calculate title = sin(0.XX)
}}


log10( X . X ) 0 1 2 3 4 5 6 7 8 9
1. 0 0.04139 0.07918 0.11394 0.14612 0.17609 0.20411 0.23044 0.25527 0.27875
2. 0.30102 0.32221 0.34242 0.36172 0.38021 0.39794 0.41497 0.43136 0.44715 0.46239
3. 0.47712 0.49136 0.50514 0.51851 0.53147 0.54406 0.5563 0.5682 0.57978 0.59106
4. 0.60205 0.61278 0.62324 0.63346 0.64345 0.65321 0.66275 0.67209 0.68124 0.69019
5. 0.69897 0.70757 0.716 0.72427 0.73239 0.74036 0.74818 0.75587 0.76342 0.77085
6. 0.77815 0.78532 0.79239 0.79934 0.80617 0.81291 0.81954 0.82607 0.8325 0.83884
7. 0.84509 0.85125 0.85733 0.86332 0.86923 0.87506 0.88081 0.88649 0.89209 0.89762
8. 0.90308 0.90848 0.91381 0.91907 0.92427 0.92941 0.93449 0.93951 0.94448 0.94939
9. 0.95424 0.95904 0.96378 0.96848 0.97312 0.97772 0.98227 0.98677 0.99122 0.99563
{{乘法表
|table class = class="wikitable" style="text-align:center;"
|first number list = 1.,2.,3.,4.,5.,6.,7.,8.,9.
|second number list = 0,1,2,3,4,5,6,7,8,9
|number css = css
|expr = floor ( log ( {{{left}}} + {{{right}}}/10 ) * 100000 / log(10) ) / 100000
|calculate title = log<sub>10</sub>(X . X)
}}


## 進階用例

（會自動當CSS） 來高亮乘法表中的24

× 3 4 5 6 7 8
3 9 12 15 18 21 24
4 12 16 20 24 28 32
5 15 20 25 30 35 40
6 18 24 30 36 42 48
7 21 28 35 42 49 56
8 24 32 40 48 56 64
{| class="wikitable" style="text-align:center;"
{{#invoke:Complex Number/Calculate|calc_table
|number_list = 3,4,5,6,7,8
|number_list2 = 3,4,5,6,7,8
|24= bgcolor="#FFFF00"
}}
|}


${\displaystyle \times }$ ${\displaystyle 1}$ ${\displaystyle i}$ ${\displaystyle j}$ ${\displaystyle k}$
${\displaystyle 1}$ ${\displaystyle 1}$ ${\displaystyle i}$ ${\displaystyle j}$ ${\displaystyle k}$
${\displaystyle i}$ ${\displaystyle i}$ ${\displaystyle -1}$ ${\displaystyle k}$ ${\displaystyle -j}$
${\displaystyle j}$ ${\displaystyle j}$ ${\displaystyle -k}$ ${\displaystyle -1}$ ${\displaystyle i}$
${\displaystyle k}$ ${\displaystyle k}$ ${\displaystyle j}$ ${\displaystyle -i}$ ${\displaystyle -1}$
{| align="center" style="border: 1px solid black; text-align: center;"
{{#invoke:Complex Number/Calculate|calc_table
|number_list = 1,i,j,k
|number_list2 = 1,i,j,k
|calculate = {{{left}}} * {{{right}}}
|calculate title = ${\displaystyle \times }$
|1 = bgcolor="#FFCCCC" | -1 = bgcolor="#FFCCCC"
|i = bgcolor="#CCCCFF" | -i = bgcolor="#CCCCFF"
|j = bgcolor="#FFFF99" | -j = bgcolor="#FFFF99"
|k = bgcolor="#CCFFCC" | -k = bgcolor="#CCFFCC"
|main head css = style="width: 1.5em;"
|head css = bgcolor="silver" style="width: 1.5em;"
|class=qmath
|use math=yes
}}
|}


## 模板參數

Table classtable class

Titletitle

乘法表

First number listfirst number list

1,2,3,4,5,6,7,8,9

Second number listsecond number list

1,2,3,4,5,6,7,8,9

Exprexpr

{{{left}}} * {{{right}}}

Calculate titlecalculate title

×

Number cssnumber css

Main head cssmain head css

Head csshead css

Number classnumber class

實數

Use mathuse math

true