Question

The following logic is for when a child should cry or be happy based on what...

The following logic is for when a child should cry or be happy based on what they find in the pantry.

eggs ∧ broccoli ∧ cheese ⇒ omelet

eggs ∧ flour ⇒ pasta

pasta ∧ sauce ⇒ spaghetti

flour ⇒ pizza_crust

pizza_crust ∧ cheese ∧ sauce ⇒ pizza

tomato ⇒ sauce

tomato ∧ broccoli ∧ spinach ⇒ salad

broccoli ∧ cheese ∧ milk ⇒ soup

broccoli ∧ pasta ∧ tofu ⇒ stirfry

milk ∧ pizza ⇒ happy

milk ∧ spaghetti ⇒ happy

1. Create a model where the KB is true.

2. Create a model where the KB isn't true.

3. Based on the stuff below, use forward chaining / Modus Ponens. Does KB├p happy for proof p?

The child sees the following items:

broccoli

tomato

spinach

tofu

flour

milk

cheese

0 0
Add a comment Improve this question Transcribed image text
Answer #1

With below given items we can make child happy with dish

milk+pizza

pizza=pizza_crust+sause+cheese=flour+tomato+cheese.

with the above given ingredients we can make child happy.

Add a comment
Know the answer?
Add Answer to:
The following logic is for when a child should cry or be happy based on what...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT