Some discussion during office hours today: 

Homework 04

What is a D? Answer: 1. 
What is a D-? Answer: 0.7.
What is closer to 0.4? Answer: F 
No. 0.4 is 0.4 away from F(0) and 0.3 from D-(0.7) so it must be D-.
What is closer to 0.69? Answer: F 
No. 0.69 is 0.69 away from F(0) and 0.01 from D-(0.7) so it must be D-.
What is closer to 0.36?
What is closer to 0.42?
What is closer to 0.34?
What is closer to 0.35?
 
F               D-    D                       C                       B     B+          A-    A 
0              0.7    1                       2          2.5          3          3.5          4
+-------|-------+-*|-*+-*|--+-----------+-----+-----+-----|-----+-----+--|--+-----|-----+--|--+
       0.35       0.85                                                  3.15               3.85
                                                                                       3.7
Let's start by saying I decide to have no A+.
[3.85, 4.00] is the range that converts to A
[3.50, 3.85) is the range that converts to A-
[3.15, 3.50) is the range that converts to B+
[2.85, 3.15) is the range that converts to B
[2.50, 2.85) is the range that converts to B-
[2.15, 2.50) is the range that converts to C+
[1.85, 2.15) is the range that converts to C
[1.50, 1.85) is the range that converts to C-
[1.15, 1.50) is the range that converts to D+
[0.85, 1.15) is the range that converts to D
[0.35, 0.85) is the range that converts to D-
[0.00, 0.35) is the range that converts to F

              [1]                [2] 
p  q  r  !r   p&&q  (p&&q)||!r  q||!r  p&&(q ||!r)  !(p&&(q ||!r))
F  F  F   T    F       T          T        F            T                   
F  F  T   F    F       T          F        F            T
F  T  F   T    F       T          T        F            T
F  T  T   F    F       F          T        F            T
T  F  F   T    F       T          T        T            F
T  F  T   F    F       F          F        F            T
T  T  F   T    T       T          T        T            F
T  T  T   F    T       T          T        T            F

 0  0000
 1  0001
 2  0010
 3  0011
 4  0100
 5  0101 
 6  0110 
 7  0111
 8  1000
 9  1001
10  1010 
11  1011
12  1100