Not necessarily. The value of 3 (rational) raised to the power 1/2 (rational) is not rational.
Unless the rational number is zero, the answer is irrational.
If you multiply a rational and an irrational number, the result will be irrational.
The result will also be a rational number.
It is irrational - unless the divisor is 0 in which case the division is not defined.
Because when one rational number is subtracted from another rational number the result is a rational number. Don't forget that integers (ℤ) are a subset of rational numbers (ℚ).
When the rational number is 0.
If an irrational number is added to, (or multiplied by) a rational number, the result will always be an irrational number.
Unless the rational number is zero, the answer is irrational.
If you multiply a rational and an irrational number, the result will be irrational.
The result will also be a rational number.
It is irrational - unless the divisor is 0 in which case the division is not defined.
Because when one rational number is subtracted from another rational number the result is a rational number. Don't forget that integers (ℤ) are a subset of rational numbers (ℚ).
In the context of a macro or program, the values of the arguments of the function (variables) are substituted into the function and it is evaluated. The result is returned.
It the combination is multiplication and the rational number is 0, then the result is rational. Otherwise it is irrational.
PHP is a programming language. An "expression" is anything that can be evaluated (calculated) to get (among other things) a number. For example, numbers themselves; variables that represent numbers; calculations that result in a number (additions, subtractions, etc.), are all numeric expressions.
Sqrt(2) is irrational. Multiply by sqrt(4.5). Result is 3 which is rational.
If you divide an integer by another integer, the result is a rational number by definition.