Forums - Open Redstone Engineers
Tiny tutorial regarding converting base X to decimal(and testing LateX) - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: ORE General (https://forum.openredstone.org/forum-39.html)
+--- Forum: Tutorials (https://forum.openredstone.org/forum-24.html)
+---- Forum: Fundamental Tutorials (https://forum.openredstone.org/forum-25.html)
+---- Thread: Tiny tutorial regarding converting base X to decimal(and testing LateX) (/thread-163.html)

Pages: 1 2


Tiny tutorial regarding converting base X to decimal(and testing LateX) - mad1231999 - 05-10-2013

Let the digits of the number be contained in the n-dimensional vector a, like this:

which is equivalent of the binary number 10011101.

Given the base (2 in this case), the number in decimal can be found using the following equation:



So we can conclude, that this is true:




RE: Tiny tutorial regarding converting base X to decimal - Guy1234567890 - 05-10-2013

Fancy!


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - David - 05-11-2013

Wait, wut?


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - EDevil - 05-11-2013

(05-11-2013, 10:39 AM)David Wrote: Wait, wut?

Same here. We're probably not that far into logic & formula's Sad


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - JayJuly - 05-11-2013

Lol, nice use of sigma notation to confuse people Wink.


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - Thor23 - 05-11-2013

I think you've got your vector backwards. If you're indexing the digits like in a typical array, the index would be increasing from left to right, so you would get 185 not 157. You'd have to use to get that.


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - mad1231999 - 05-12-2013

Thank you, didn't think about that. Fixed.


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - VirtualPineapple - 05-13-2013

*Hits, 'That was easy' button*


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - Xeomorpher - 05-13-2013

Oi, leave my buttons alone!


RE: Tiny tutorial regarding converting base X to decimal(and testing LateX) - David - 05-26-2013

I understood it until you brought the equation, maybe I should go to school for a few more years.