Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given a rule - based ES with nine rules whose purpose is to advise you on how your health is influenced by certain foods and
Given a rulebased ES with nine rules whose purpose is to advise you on how your health is influenced by certain foods and other factors. The rules are:
R IF you eat beef OR eggs THEN high cholesterol
R IF you eat fish OR poultry AND no beef THEN low cholesterol
R IF you eat no beef AND no fish AND no poultry THEN low cholesterol
R IF you are a Freak AND today is Monday THEN you eat fish AND no beef AND no poultry
R If you are a vegetarian THEN you eat no beef AND no fish AND no poultry
R IF low cholesterol THEN healthy
IF high cholesterol THEN unhealthy
R IF you eat veal THEN you eat beef
If you work six hours or less todayTHEN it is Monday.
The system is intended to tell you if you are healthy or unhealthy. Run forward chaining.
Review the following scenarios please list all rules analyzed:
a What if you eat veal?
b What if you are a Freak and today is Monday?
c What if you are a Freak, eat poultry, and work four hours today?
d What if you are not a vegetarian and work eight hours today?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started