In this article, I will introduce some mathematical terms, which are useful for you to explain math-related coding problems.
將 A 加到 B 上。
Add 5 to 7.
A 和 B 的和。
The sum of 5 and 3 is 8.
A 減 B。
10 minus 5.
從 A 減去 B。
Subtract 5 from 10.
10 - 5
A 和 B 的差,指 A - B 的結果。
The difference of 15 and 9 is 6.
A 比 B 多多少...。
The company's profit this year exceeds last year's by 20%.
這家公司的今年利潤比去年的多出 20%。
A 乘以 B。
3 times 4 is 12.
Three times four is twelve.
將 A 和 B 相乘。
Multiply 4 and 5。
A 和 B 的乘積。
The product of 3 and 4 is 12.
把 A 除以 B。
To find the average, divide the total by the number of items.
若要找出平均值,將總數除以項目數。
A 除以 B 的商。
The quotient of 10 divided by 2 is 5.
A 除以 B 的餘數。
The remainder of 17 divided by 5 is 2.
被「某數」整除。
A is divisible by B → A 被 B 整除
indivisible by 不可整除的
100 is divisible by 25.
表達比率/比例的意思。
The car travels 60 miles per hour on the highway.
這輛車在高速公路上每小時行駛60英里。
取餘數。
In programming, 7 mod 3 equals 1 because 7 divided by 3 leaves a remainder of 1.
在程式設計裡,7 除以 3 的餘數是 1,所以 7 mod 3 = 1。
A 的 B 次方。
"2 to the power of 4" equals 16.
「2 的 4 次方」等於 16。
B 是 A 的指數,也就是說:A 被 B 次方。
In the expression $2^3$, 3 is the exponent of 2.
在算式 $2^3$ 中,3 是 2 的指數。
把 A 乘方到 B 次方。
Raise 2 to the power of 3.
$2^3$ = 8
將 A 向上取整到...。
Ceil 4.3 to the nearest integer gives 5.
將 4.3 向上取整到最接近的整數是 5。
Round 3.2 up to the nearest whole number.
將 3.2 向上四捨五入到最接近的整數。
將 A 向下取整到...。
Floor 4.3 to the nearest integer gives 4.
將 4.3 向上取整到最接近的整數是 4。
Round 15873 down to the nearest hundred.
將 15873 無條件捨去到百位數。(15000)
將 A 四捨五入到...。
Round 5.678 to two decimal places.
將 5.678 四捨五入到小數點後兩位。(5.67)
x 的平方根
The square root of x increases as x becomes larger, but at a slower rate than x itself.
x 的平方根隨著 x 增大而增大,但增長的速度比 x 本身慢。
A 的立方根。
The cube root of 27 is 3.