Problem 5 - Propositional Logic (27 marks) 1. About the building I am inspecting we know the following: ▪ If the buildin
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 5 - Propositional Logic (27 marks) 1. About the building I am inspecting we know the following: ▪ If the buildin
Problem 5 - Propositional Logic (27 marks) 1. About the building I am inspecting we know the following: ▪ If the building is structurally sound and the builders follow the proper construction process, then the building withstands a magnitude-5 earthquake. ▪ The building does not withstand a magnitude-5 earthquake. Represent the above sentences in propositional logic using the following vocabulary: S for The building is structurally sound, P for The builders follow the proper construction process, and W for The building withstands a magnitude-5 earthquake. Using a truth table, can you determine the answers to the following questions: a. Is the building structurally sound? b. Do the builders follow the proper construction process? c. Is it true that the building is not structurally sound or the builders don't follow the proper construction process? Your answer has to be Yes or No or Don't know. For instance, if you answer Yes to question 1.a., you'll have to demonstrate that the knowledge base entails 'The building is structurally sound'; if you answer No to question 1.a., you'll have to demonstrate that the knowledge base entails 'The building is NOT structurally sound.' Clearly indicate which rows of the table support your answer. (15 marks)