V1 a*b=a^2 +b+9

  • MHB
  • Thread starter karush
  • Start date
  • #1
karush
Gold Member
MHB
3,267
4
Define the binary operater $\otimes$ by
$a\otimes b = a^2+b+9$
Find
a. $6\otimes 4 = 6^2+4+9 = 36+13 = 49$
b. $3\otimes 3 = 3^2+3+9 = 9+13 = 22$
c $4\otimes 6 = 4^2+6+9 = 16+15 =21$
d. $i\otimes p = i^2+p+9$

i think its ok but most math errors are in simple arithmetic
 

Answers and Replies

  • #2
Evgeny.Makarov
Gold Member
MHB
2,437
929
b and c have arithmetic errors.

The best way to check the answers is to write a function in some programming language and run it on your inputs. For example, in Python the function would be
Python:
def f(x, y):
  return x**2 + y + 9
Then you can run f(6, 4) and so on in an interpreter.
 
  • #3
karush
Gold Member
MHB
3,267
4
Define the binary operater $\otimes$ by
$a\otimes b = a^2+b+9$
Find
a. $6\otimes 4 = 6^2+4+9 = 36+13 = 49$
b. $3\otimes 3 = 3^2+3+9 = 9+13 = 22$
c $4\otimes 6 = 4^2+6+9 = 16+15 =21$
d. $i\otimes p = i^2+p+9$

i think its ok but most math errors are in simple arithmetic
b and c have arithmetic errors.

The best way to check the answers is to write a function in some programming language and run it on your inputs. For example, in Python the function would be
Python:
def f(x, y):
  return x**2 + y + 9
Then you can run f(6, 4) and so on in an interpreter.
b and c have arithmetic errors.

The best way to check the answers is to write a function in some programming language and run it on your inputs. For example, in Python the function would be
Python:
def f(x, y):
  return x**2 + y + 9
Then you can run f(6, 4) and so on in an interpreter.
ummm is that under colcalc
at least I saw it there when one class was teaching us the programs
 
  • #4
Evgeny.Makarov
Gold Member
MHB
2,437
929
Python is a programming language that can be used in different environments: CoCalc, Jupyter Notebook, PyCharm by JetBrains or simply from the command line. Use whatever tool you are familiar with, or use any other programming language.

It's a good idea to quote only relevant passages.
 
  • #5
karush
Gold Member
MHB
3,267
4
Find (corrected)
a. $6\otimes 4 = 6^2+4+9 = 36+13 = 49$
b. $3\otimes 3 = 3^2+3+9 = 9+13 = 21$
c $4\otimes 6 = 4^2+6+9 = 16+15 =31$
d. $i\otimes p = i^2+p+9$
 
  • #7
karush
Gold Member
MHB
3,267
4
gotcha
3\otimes 3 = 3^2+3+9 = 9+12= 21
 

Suggested for: V1 a*b=a^2 +b+9

Replies
1
Views
295
Replies
6
Views
1K
Replies
25
Views
7K
Replies
0
Views
107
Replies
4
Views
403
MHB Min(a, b)
Replies
17
Views
22K
Replies
1
Views
697
Replies
25
Views
821
Top