soal 2 logika informatika
Latihan Logika "If you send me an e-mail message, then I will finish writing the program,” “If you do not send me an e-mail message, then I will go to sleep early,” and “If I go to sleep early, then I will wake up feeling refreshed”. “Therefore, If I do not finish writing the program, then I will wake up feeling refreshed." Jawab : P : You send me an e-mail message Q : I will finish writing the program R : I will go to sleep early S : I Will wake up Feeling refreshed Hypotheses : P→Q ¬P→R R→S ¬Q→S (Kesimpulan) Langkah Alasan 1. P→Q Hipotesis 2. ¬Q→¬P Kontrapositif langkah pertama 3. ¬P→R Hipotesis 4. ...