Discrete Math

Discussion in 'Homework Help' started by Time To Buy, Oct 21, 2013.

Discrete Math
  1. Unread #1 - Oct 21, 2013 at 10:57 PM
  2. Time To Buy
    Joined:
    Nov 20, 2010
    Posts:
    7,356
    Referrals:
    4
    Sythe Gold:
    814
    Discord Unique ID:
    178553662719787008
    In Memory of Jon <3 n4n0 (2) Poképedia Cool Kid Le Kingdoms Player Jake the Dog Green eggs and spam Rupee (2) RsProd OG Club
    Tom Black Bojack Wait, do you not have an Archer rank? Oktoberfest 2013 Pizza Muncher Dunce Le DIAF
    Le Monkey We Are Legion Easter 2013 Village Drunk Ninja Brony Dragon Ball 420 yolo swag blaze it fuck the popo legalize it anyone got some chips

    Time To Buy <3 Champ, Ryan, Trip, Beev, Stui, Yaroow, Semper, Pk, BSGP, FT, Poker, and ALL of Spam Forum
    Time to Buy Donor Retired Global Moderator

    Discrete Math

    I really need help with these problems

    [​IMG]
    Number two or three is all I need help with. (Not both)

    [​IMG]
    Number four and one of either five or six (Not both for 5 or six)


    Thank you, it's really important to me.
     
  3. Unread #2 - Oct 22, 2013 at 6:54 AM
  4. Alex_J_Leon
    Joined:
    Jan 3, 2006
    Posts:
    1,692
    Referrals:
    0
    Sythe Gold:
    969
    Yellow rat Bitch! Heidy Why can't I hold all of these feels? Lumpy Space Princess 420 yolo swag blaze it fuck the popo legalize it anyone got some chips Le Monkey Doge UWotM8? Not sure if srs or just newfag...
    Spyro Wubba Lubba Dub Dub Wait, do you not have an Archer rank? Smashing Rupee I'm LAAAAAAAME Penguin Green eggs and spam Pizza Muncher MushyMuncher

    Alex_J_Leon Guru
    Mudkips

    Discrete Math

    Worked on the easiest one =]

    5.a.

    100 is positive so you simply convert 100 to binary...

    You know how to do this right?
    100/2 = 50 R 0
    50/2 = 25 R 0
    25/2 = 12 R 1
    12/2 = 6 R 0
    6/2 = 3 R 0
    3/2 = 1 R 1
    1/2 = 0 R 1

    (You divide by 2 and record the result and the remainder, the binary conversion is produced going from the bottom to the top)

    So your number is 1100100 but that is 7 bits so you add the leading zero.

    Ans: 01100100

    5.b.

    -54 is negative so fancy things must be done!

    First you convert the number to binary, same as before:
    54/2 = 27 R 0
    27/2 = 13 R 1
    13/2 = 6 R 1
    6/2 = 3 R 0
    3/2 = 1 R 1
    1/2 = 0 R 1

    So POSITIVE 54 is 110110 in 6 bits. Add the leading zeroes to get 00110110

    To get the answer to be -54, we must perform the two's complement:

    Now you invert each of the individual bits.

    00110110 -> 11001001

    Then add one to the result

    11001001 + 1 = 11001001

    Ans: 11001001

    5.c.

    First, draw a conversion table for Hex to decimal that shows A=10, B=11, etc.

    Then I'd simply write:

    7*16^0 + 4*16^1 + 11*16^2 + 14*16^3

    I don't know how to explain that, really... it's just how you do it =p.
     
  5. Unread #3 - Oct 22, 2013 at 7:12 AM
  6. Alex_J_Leon
    Joined:
    Jan 3, 2006
    Posts:
    1,692
    Referrals:
    0
    Sythe Gold:
    969
    Yellow rat Bitch! Heidy Why can't I hold all of these feels? Lumpy Space Princess 420 yolo swag blaze it fuck the popo legalize it anyone got some chips Le Monkey Doge UWotM8? Not sure if srs or just newfag...
    Spyro Wubba Lubba Dub Dub Wait, do you not have an Archer rank? Smashing Rupee I'm LAAAAAAAME Penguin Green eggs and spam Pizza Muncher MushyMuncher

    Alex_J_Leon Guru
    Mudkips

    Discrete Math

    I'm back... I did part of number 2.

    2.a.

    p implies q is only false when p = 1 and q = 0

    Example: If I have $20, I will bang my gf TONIGHT

    The premise, p is "if I have $20" and q, the conclusion, is that you would "bang your gf"

    So for pq = 00... You are a broke wigga and you didn't get laid. Since you didn't get $20, you can only assume that p implies q was true... you have no way of proving otherwise.
    For pq = 01... You are a broke wigga and you DID get laid. Again, you didn't get $20 so you cannot reject p implies q. Maybe you romanced her.
    For pq = 10... You got $20 but you didn't get laid. In this situation, you broke the promise you made to yourself and instead bought weed with your money. You broke the promise, so p implies q is false
    For pq = 11... You got the $20 and you got laid. Self-explanatory.

    So the truth table is
    p q p=>q
    0 0 1
    0 1 1
    1 0 0
    1 1 1

    For NOT p OR q

    p q ~p v q
    0 0 1 (1 + 0 = 1)
    0 1 1 (1 + 1 = 1)
    1 0 0 (0 + 0 = 0)
    1 1 1 (0 + 1 = 1)

    Yep, equal.

    2.b.

    By Demorgan's Law (bubble logic):

    NOT p OR NOT q = NOT(p AND q)

    Then you invert it:

    NOT(NOT(p and q)) the NOT gates cancel each other out and you are left with:
    Ans: p AND q

    2.c.

    Cba to do this right now, I have to go!
     
  7. Unread #4 - Oct 22, 2013 at 3:59 PM
  8. Time To Buy
    Joined:
    Nov 20, 2010
    Posts:
    7,356
    Referrals:
    4
    Sythe Gold:
    814
    Discord Unique ID:
    178553662719787008
    In Memory of Jon <3 n4n0 (2) Poképedia Cool Kid Le Kingdoms Player Jake the Dog Green eggs and spam Rupee (2) RsProd OG Club
    Tom Black Bojack Wait, do you not have an Archer rank? Oktoberfest 2013 Pizza Muncher Dunce Le DIAF
    Le Monkey We Are Legion Easter 2013 Village Drunk Ninja Brony Dragon Ball 420 yolo swag blaze it fuck the popo legalize it anyone got some chips

    Time To Buy <3 Champ, Ryan, Trip, Beev, Stui, Yaroow, Semper, Pk, BSGP, FT, Poker, and ALL of Spam Forum
    Time to Buy Donor Retired Global Moderator

    Discrete Math

    Thank you so much for your help :)
     
  9. Unread #5 - Oct 22, 2013 at 11:28 PM
  10. win4fun
    Joined:
    Jan 28, 2012
    Posts:
    1,395
    Referrals:
    2
    Sythe Gold:
    0

    win4fun Guru
    Banned

    Discrete Math

    I have to take this next year and these questions aren't making me that excited lol. How are you finding the course so far?
     
  11. Unread #6 - Oct 25, 2013 at 11:34 AM
  12. Alex_J_Leon
    Joined:
    Jan 3, 2006
    Posts:
    1,692
    Referrals:
    0
    Sythe Gold:
    969
    Yellow rat Bitch! Heidy Why can't I hold all of these feels? Lumpy Space Princess 420 yolo swag blaze it fuck the popo legalize it anyone got some chips Le Monkey Doge UWotM8? Not sure if srs or just newfag...
    Spyro Wubba Lubba Dub Dub Wait, do you not have an Archer rank? Smashing Rupee I'm LAAAAAAAME Penguin Green eggs and spam Pizza Muncher MushyMuncher

    Alex_J_Leon Guru
    Mudkips

    Discrete Math

    It is actually a really trivial course, at least in my opinion. Back when I took it, I made straight 100's on the exams haha.
     
  13. Unread #7 - Oct 25, 2013 at 11:52 AM
  14. Time To Buy
    Joined:
    Nov 20, 2010
    Posts:
    7,356
    Referrals:
    4
    Sythe Gold:
    814
    Discord Unique ID:
    178553662719787008
    In Memory of Jon <3 n4n0 (2) Poképedia Cool Kid Le Kingdoms Player Jake the Dog Green eggs and spam Rupee (2) RsProd OG Club
    Tom Black Bojack Wait, do you not have an Archer rank? Oktoberfest 2013 Pizza Muncher Dunce Le DIAF
    Le Monkey We Are Legion Easter 2013 Village Drunk Ninja Brony Dragon Ball 420 yolo swag blaze it fuck the popo legalize it anyone got some chips

    Time To Buy <3 Champ, Ryan, Trip, Beev, Stui, Yaroow, Semper, Pk, BSGP, FT, Poker, and ALL of Spam Forum
    Time to Buy Donor Retired Global Moderator

    Discrete Math

    I'm not actually taking the course, which is why I needed the help. A friend of mine failed a test and this was his retake exam but he really needed help on it so he asked me. I could do some of them, but I just didn't know what the symbols in the other questions meant.
     
  15. Unread #8 - Nov 1, 2013 at 1:19 PM
  16. Jei jei KK
    Joined:
    Aug 26, 2005
    Posts:
    224
    Referrals:
    0
    Sythe Gold:
    0

    Jei jei KK Active Member

    Discrete Math

    3 a)
    [​IMG]
    reads "There exists a natural number m, so that for every natural number n, m is m + n".
    This is false. Natural numbers are the set {1,2,3...} or {0,1,2,3...} depending on your definition. The only value of n with which this is true is 0 (m = m + n = m + 0 = m), and the statement explicitly claims that m = m + n for every natural number n. It's fairly obvious that m + n != m, with n = 1 or with any other non-zero n.

    b)
    The negation should be: "For every natural number m, there exists a natural number n, so that m != m + n". Or, written with quantifiers:
    [​IMG]
    Because of the law of excluded middle, and having proven the statement false the negation must be true. Or just pick n = 1 or any other non-zero number. The claim holds with all of them.

    c) The statement reads: "For all real numbers X, if x is less than or equal to zero, it follows that x + 1 is less than or equal to 1." The contraposition is: "For all real numbers X, if x + 1 is greater than 1, it follows that x is greater than 0".
    This is true and rather self-evident.
     
< Developmental Psychology: Newborn | [POLL] Are You a Republican or Democrat? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site