Maps Redstone Device

Linear equation solver

  • 544 views • 1 today
  • 27 downloads • 0 today
  • 3
  • 2
amongus_pvp
Level 3 : Apprentice Miner
0
It can solve linear equations in the format of

y = mx + c

where we are trying to find x and all of the other unknowns are given. For example I might input the equation -

9 = 2x + 1

This will then return the output of x = 4

this also produces fractional outputs if need be and negative outputs, for example:

-7 = 5x - 1

For which it will output x = -6/5 (CORRECT ANSWER)

This works for 8 bits on all 3 inputs (meaning your maximum input is 255 for y, m and c)

in its default state where all inputs are 0 the output will be 255 (because the computer thinks that 0 can fit infinitely many times into any number and since the largest output is 255 that's what it will say

TO TURN ON NEGATIVE FOR ANY OF THE 3 NUMBERS FLIP THE BOTTOM LEVER IN YELLOW FOR THE CORRESPONDING NUMBER TO MAKE IT NEGATIVE
Progress100% complete
Tags

  Have something to say?

Welcome