Solving Quadratic Equations with Binary Operator $\otimes$

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on defining the binary operator $\otimes$ as $a \otimes b = a^2 + b + 9$ and evaluating it for specific inputs. The correct evaluations are $6 \otimes 4 = 49$, $3 \otimes 3 = 21$, and $4 \otimes 6 = 31$. Errors in arithmetic were noted for the calculations of $3 \otimes 3$ and $4 \otimes 6$. A recommended approach to verify these calculations is to implement a function in Python, which can be executed in various environments such as CoCalc, Jupyter Notebook, or PyCharm.

PREREQUISITES
  • Understanding of binary operations in mathematics
  • Basic knowledge of Python programming
  • Familiarity with arithmetic operations
  • Experience with programming environments like CoCalc or Jupyter Notebook
NEXT STEPS
  • Implement the binary operator $\otimes$ in Python and test various inputs
  • Explore error handling in Python functions to manage arithmetic mistakes
  • Learn about other programming environments suitable for mathematical computations
  • Study the properties of binary operators in algebra
USEFUL FOR

Mathematicians, computer science students, and anyone interested in programming mathematical functions and verifying arithmetic operations.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
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
 
Mathematics news on Phys.org
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.
 
karush said:
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
Evgeny.Makarov said:
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.
Evgeny.Makarov said:
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
 
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.
 
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$
 
$3^2+3+9=9+12$.
 
gotcha
3\otimes 3 = 3^2+3+9 = 9+12= 21
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 24 ·
Replies
24
Views
3K
  • · Replies 2 ·
Replies
2
Views
998
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 68 ·
3
Replies
68
Views
12K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 69 ·
3
Replies
69
Views
9K
  • · Replies 3 ·
Replies
3
Views
2K