LOGIKA INFORMATIKA



TUGAS soal logika


   kali ini, saya akan menjawab soal yang diberikan oleh bu wibby tentang logika kebenaran dari soal berbahasa inggris


"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)



penjabaran





Komentar

Postingan Populer