Recent content by WaterRain

  1. W

    Understanding Complements Arithmetic: One's & Nine's in Decimals & Binary

    I'm not too sure either. To me, one's complement is simply the inversion of bits. While two's complement can represent negative values and work in addition/subtraction. I'm a little confused on what I wrote myself as well. Sure there's a better explanation somewhere..
  2. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    I got it. I was showing what I did earlier which resulted in my mistake :)
  3. W

    Understanding Complements Arithmetic: One's & Nine's in Decimals & Binary

    Hi King, I'm very new to Complements as I just ask around recently - https://www.physicsforums.com/showthread.php?t=312168 Anyway, I would like to attempt on your problem. In dec, 47 - 28 = 19 In bin, 101111 011100 - 010011 and then performing the one's complement act: 1-0 = 1 1-1 = 0 1-1 =...
  4. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    Thanks DoctorBinary. I fully understand where my mistake is now. .BE = .1011 1110 regroup = .010 111 110 Oct = .276 That's why I thought we can't apply the same to the fractional part. But now I got it. Thanks to mgb_phys and mathmate as well :)
  5. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    I see. This means if converting a single hex I can use as mgb_phys suggested right? example F(hex) = 17(oct). Anything more than one hex will not work. Like FFF(hex) = 7777(oct).
  6. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    I get it now - partially. FACE = 1111 1010 1100 1110 regroup = 001 111 101 011 001 110 Oct = 175316 But for .BE, it is not possible to do likewise but to use the method you suggest 0.BE = B/16 + E/256 Is this right?
  7. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    I realized I made a mistake. 0.742188 should give 0.574 instead. 1. Answer is 175316.57? 2. Any quicker way to convert from Hex to Oct?
  8. W

    Converting Hexadecimal (base 16) to Octal (base 8)

    Homework Statement Convert the hexadecimal (base 16) value FACE.BE into octal (base 8), correct to 2 octal places. Homework Equations Nil The Attempt at a Solution First, I've converted the FACE.BE to decimals and I got 64206.742188 Next I change them to octal 64206(dec) =...
  9. W

    Converting Negative Numbers to Four's Complement

    How about dealing with negatives? Just treat them as positive? In my case, 4's complement of (–3042)5 4-3=1, 4-0=4, 4-4=0, 4-2=2 giving (1402)4s I'll get the answer with the method ignoring the negative.
  10. W

    Converting Negative Numbers to Four's Complement

    Sorry, should I convert (–3042)5 to a decimal or binary before I proceed?
  11. W

    Converting Negative Numbers to Four's Complement

    Homework Statement Represent (–3042)5 in the 4-digit 4’s complement system.Homework Equations –X = R^n – X – 1The Attempt at a Solution 5^4 – 3042 – 1 = 625 – 3042 – 1 = ? Answer should be (1402)4s