f(-2,3) = 11
f(5,-3) = -5
f(1,4) = 22, maximum
Chat with our AI personalities
true
x = [ -b ± √(b2-4ac) ] / 2a Using this formula you get 2 roots for + and -
Using a left join of: SELECT a.number FROM table a, table b WHERE a.number < b.number where right table.number is null
'*** PROGRAM: Compare 2 numbers using both min/max functions; ' then, output which number is max/and, which is min. '*** declare variables... min = 0 max = 0 number1 = 342 number2 = 256 '*** main program... CLS '...(CL)ear the Output (S)creen PRINT "Minimum = "; findMin(number1, number2) PRINT "Maximum = "; findMax(number1, number2) END '...END of program/halt program code execution FUNCTION findMax (num1, num2) answer = 0 IF num1 > num2 THEN answer = num1 ELSE answer = num2 findMax = answer END FUNCTION FUNCTION findMin (num1, num2) answer = 0 IF num1 < num2 THEN answer = num1 ELSE answer = num2 findMin = answer END FUNCTION ---program output... Minimum: 256 Maximum: 342
You determine the least to greatest in decimals by using their leftmost unit. The decimal 0.2 is less than 0.3. To determine fractions, you need to first convert them to decimals.