right, i have to learn this is college but i have an indian teacher that I cannot understand a word of, and even when I asked for a printout of the work so i can look at home she said no and walked away, so i may aswell talk to the flippin wall. anyway, i need to know how to convert a number into binary. eg 27 or 35. I know how to add them and i know the 1st and 2nd compliment, just need to know how to convert, rep left for any helpers

thanks, dean

thanks, dean

But i forgot, if ur doing the above its really a stupid course im on my 2nd year and they teach you loads of stuff that is irrelevant. Anyway try this math.grin.edu/~re…ary or google.co.uk/sea…x-a

computerhope.com/bin…htm

Original Poster

that what i mean, she speak bottom line english and half of the time when i ask her a question, she just pulls a face and turns around to do her own buisness. thanks for the above, rep left :thumbsup:

Original Poster

exactly the course I'm doing National Diploma electronical engineering

Original Poster

i will never get to understand this one, its like half the thing she says come out a jibber jabber, and she cant even understand us ! no hope

Is the unit you are doing micro-electronics? That got dropped at my college. What units are you doing this semester?

Original Poster

maths, E & E, communications (guess which teacher i have to teach communications), micro processors, key skills, electronical principles, some other stuff but i cant remember

If they can't be understood, they can't be understood. Nationality doesn't need to be brought into it.

Mr politically correct here...

11>2^3 => 1x2^4 + 1x2^3 + 11 - 8 = 1x2^4 + 1x2^3 +3

3 1x2^4 + 1x2^3 + 0x2^2 + 3 - 0 = 1x2^4 + 1x2^3 + 0x2^2 + 3

3>2^1 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 3 - 2 = 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1

1=2^0 => 1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1x2^0

So 11011 is the answer

27 = 1x16 + 1x8 + 0x4 + 1x2 + 1x1

You have to find which is the biggest power of two that is less than your number. Here it is 2^4 = 16.

That value takes a 1. Then you subtract that number (here 16) from your original number. If that number is bigger that the next smaller power of two, you value will be a 1, otherwise it's a 0. Then subtract again and continue until you reach the smallest power of two 2^0 = 1, as the example above.

Hope this helps.

Original Poster

I'm not trying to be racist if that what your implying, Dont mean to cause offence but I cant understand her

Original Poster

lost me at 2

I don't think you were being racist. I just think it's irrelevant that she is Indian(If indeed she is).

If I lost you there, you're definitely not ready to be an electronical engineer then...