Menu

Equation

Nicolas Hainaux
There is a newer version of this page. You can find it here.

/!\ still a draft, will be modified soon

These objects are first degree equations of all sorts, only one variable, and some particular cases of second degree equations (simple x² = 25, which include the end of the calculus when using pythagorean theorem). Later they might also be equations of higher degree.

Possible arg for __init__():

  • Equation
  • SubstitutableEquality (its length must be 2 and there must be only one variable)
  • (Exponented, Exponented)
    These Exponenteds will be the left and right members of the Equation
  • (RANDOMLY, <type>)

where <type> can be:
- 'basic_addition': will create x + a = b | a + x = b
- 'basic_addition_r': will create b = x + a | b = a + x
- 'any_basic_addition': will create any of the basic_addition ones
- 'basic_multiplication': will create ax
- 'basic_multiplication_r'
- 'any_basic_multiplication'
- 'any_basic'
- 'classic': will create ax + b = d | b + ax = d
- 'classic_r': will create d = ax + b | d = b + ax
- 'classic_x_twice': will create ax + b = cx + d | ax + b = cx | cx = ax + b | b + ax = cx + d etc.
- 'any_classic': will create any of the classic
ones
-

Options:

  • name=<string>
  • number=<nb>
  • variable_letter_name=<string>

Fields:
variable_letter:
number:
left_hand_side:
right_hand_side:

Debugging info:

Check 's complete doc

Back


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.