subject
Mathematics, 16.06.2020 21:57 annabanana1298

Suppose that Prolog facts are used to define the predicates mother(M, Y) and father(F, X), which represent that M is the mother of Y and F is the father of X, respectively. Give a Prolog rule to define the predicate grandfather(X, Y), which represents that X is the grandfather of Y. Use a comma to denote "and" and a semicolon to denote "or."

ansver
Answers: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 21:30
Select all the correct locations on the table. consider the following expression. 76.493 select "equivalent" or "not equivalent" to indicate whether the expression above is equivalent or not equivalent to the values or expressions in the last column equivalent not equivalent 343 equivalent not equivalent 49 78.498 78.498 75.493 equivalent not equivalent 75.7 equivalent not equivalent
Answers: 3
question
Mathematics, 22.06.2019 04:00
Which equation represents the function on the graph?
Answers: 2
question
Mathematics, 22.06.2019 04:30
Apopulation of 1500 insects grows exponentially, by a factor of 3 every week. select all equations that represent or approximate the population, p, as a function of time in days, t, since the time it was 1500.
Answers: 2
question
Mathematics, 22.06.2019 04:30
You borrow $15000 to buy a tractor. the simple interest rate is 4%. you pay the loan off after 8 years. what is the total amount you paid for the loan
Answers: 2
You know the right answer?
Suppose that Prolog facts are used to define the predicates mother(M, Y) and father(F, X), which rep...
Questions
question
Mathematics, 22.04.2020 02:51
question
History, 22.04.2020 02:51
Questions on the website: 13722360