1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Molodets [167]
3 years ago
6

Suppose that Prolog facts are used to define the pred- icates mother(M, Y) and father(F, X), which represent that M is the mothe

r of Y and F is the father of X, re- spectively. Give a Prolog rule to define the predicate grandfather(X, Y), which represents that X is the grand- father of Y. [Hint: You can write a disjunction in Prolog either by using a semicolon to separate predicates or by putting these predicates on separate lines.]
Mathematics
1 answer:
VikaD [51]3 years ago
7 0

Answer and Explanation:

The Prolog rule expresses that logical implication (:-) describes the relationship between facts.

Prolog expressions are containing truth-functional symbols, which have the same intervention as in predicate calculus.

For example:  

English Predicate calculus prolog

and ^ ,

or v ;

By using information, given in the question,

We can make prolog:

Grandfather(X, Y)  :-mother(M,Y), father(X,M); father (F, Y), father(X,F)

Prolog (:- ) means define,

Prolog (,) represents a conjunction

And

Prolog (;) represent a disjunction

You might be interested in
Please help me please help me​
Lostsunrise [7]

Answer:

largest 4 digit number × largest 3 digit number

=9999 × 999

(10000-1)×(1000-1) = (a-b)(c-b)= ac-ab-bc+b^2

10000000-10000-1000+1 = 9989001

4 0
2 years ago
A recipe uses 2 cups of milk to make 4 servings. If the same amount of milk is used for each serving, how many servings can be m
iren2701 [21]

Answer:

12 servings

Step-by-step explanation:

Please let me know if you want me to write an explanation for my answer :)

7 0
3 years ago
The following sequence of operations is done on a number. Multiply by 5, add 2, subtract 10, multiply by 2. The final result is
strojnjashka [21]

answer the original number is 6

(5x + 2 - 10) *2 = 44

10x + -16 = 44

10x = 60

x=6

4 0
3 years ago
I need to 2,4,6,8 <br> But please send me the work too
Ugo [173]

ok for number 2.)   2+8+1+5+1+3+1+7+5+4+3+1=41 and 41 divided by the number of number which is 12= 3.41666666667

the mean for number 2 is 3.41666666667.

for the median you put the number from least to greatest, like so:

1, 1, 1, 1, 2, 3, 3, 4, 5, 5, 7, 8.

The middle is 3 and 3 so 3+3 divided by 2 is 6 so the median is 6.

I cant do mode but range is 8-1 divided by 2

4 0
3 years ago
Two angles are alternate interior angles. One has a measure of 85°. What is the measure of the other angle?
fiasKO [112]

I thought they would be the same so I would go with B. 85

3 0
3 years ago
Other questions:
  • Determine whether each sequence is arithmetic or geometric. sequence 1: 32, 16, 0, –16, ... sequence 2: 32, 16, 8, 4, ...
    6·1 answer
  • What is the best estimate for the product of 289 and 7
    8·1 answer
  • Joseph drove for 3 hours at the speed of 40 km/h (kilometers
    14·1 answer
  • Claire has 0.5 juice left in her box and Ethan has 0.45 juice left in his juice box. Who has the most juice left
    8·2 answers
  • How to solve 4n-40=7(-2n+2)
    6·2 answers
  • The scores on a test given to all juniors in a school district are normally distributed with a mean of 79 and a standard deviati
    9·1 answer
  • Find the Value of x.
    14·1 answer
  • HELP ASAP 20 BRAINLY POINT PLUS USER HELPPP ​
    12·2 answers
  • Three out of every 20 students in ms. jones’ Math class earned a grade of A. What percent of the students earned a grade of A?
    10·1 answer
  • Explain this diagram.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!