1. Express each of below sentence in predicate calculus and PROLOG syntax: a. hot and wet is humid b. not humid or cool

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

1. Express each of below sentence in predicate calculus and PROLOG syntax: a. hot and wet is humid b. not humid or cool

Post by answerhappygod »

1 Express Each Of Below Sentence In Predicate Calculus And Prolog Syntax A Hot And Wet Is Humid B Not Humid Or Cool 1
1 Express Each Of Below Sentence In Predicate Calculus And Prolog Syntax A Hot And Wet Is Humid B Not Humid Or Cool 1 (33.95 KiB) Viewed 26 times
1. Express each of below sentence in predicate calculus and PROLOG syntax: a. hot and wet is humid b. not humid or cool is pleasant c. bruno likes spinach ifted does not like spinach 2. Express below sentence in predicate calculus and PROLOG syntax. Use variable. bruno likes any food if ted does not like that food. 3. Consider the following rules and facts in PROLOG: likes(joe Food) - contains_cheese(Food), contains_meat(Food). likes(joe Food) :- greasy(Food). likes(joe chips). contains_cheese(macaroni). contains_cheese(lasagna). contains_meat(lasagna). greasy(french_fries). Give PROLOG queries for below: a. Does salad contain meat? b. Does lasagna contain mean? c. Does joe like chips? d. Does joe like lasagna? e. Does joe like macaroni? f. Find all foods that contain cheese. g. Find all the foods that Joe likes to eat. h. Find all the people that like to eat lasagna. i. Find all the people that like to eat macaroni.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply