13%15-6*7
You asked:
Evaluate the expression: \(13 \:\%\: 15 - 6 \cdot 7\)
MathBot Answer:
\[13 \:\%\: 15 - 6 \cdot 7 = -29\]
\[\begin{aligned}13 \:\%\: 15 - 6 \cdot 7& = \left(13 \:\%\: 15\right) - 6 \cdot 7\\& = 13 - 6 \cdot 7\\& = 13 - 42\\& = -29\end{aligned}\]
The notation \(m \% n\) denotes the remainder of the integer \(m\) divided by the integer \(n\). \(m \% n = r\) means that given integers \(m\) and \(n\), where \(n\) is non-zero, there exist integers \(q\) and \(r\), where \(\lvert r \rvert < \lvert n \rvert\), such that \(m = q n + r\). MathBot adopts the convention that the remainder \(r\) and the divisor \(n\) share the same sign. Alternate notations for \(m \% n\) are \(\operatorname{mod}(m, n)\) and \(m \bmod n\).