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
Construct a polynomial function with the stated properties. Reduce all fractions to lowest terms.
Ipatiy [6.2K]

Answer:

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
4x^2-y^2 how do you factorize this? with steps pls:)
Black_prince [1.1K]
<h3>Answer:  (2x-y)(2x+y)</h3>

===========================================

Work Shown:

4x^2 - y^2

(2x)^2 - (y)^2

(2x-y)(2x+y)

When going from the second step to the third step, I used the difference of squares rule. That rule is a^2-b^2 = (a-b)(a+b). In this case, a = 2x and b = y.

Side note: (2x-y)(2x+y) is the same as (2x+y)(2x-y). We can multiply in any order.

4 0
3 years ago
An aeroplane is 528 ft directly above an automobile and starts east at the rate of 20 miles an hour at the same instant the auto
aleksley [76]

Answer: 20 mph

Step-by-step explanation:

Given

The airplane is at a height of 528 ft with a rate of 20 mph

The automobile is also directing east at the rate of 40 mph

at this instant, they are separating by the relative velocity between them

\Rightarrow v_{rel}=40-20=20\ mph

7 0
2 years ago
Approximate each square root to the nearest tenth<br><br> 130<br><br> 85
Y_Kistochka [10]

130 = 11.4

85 = 9.2

hope this helps!!

6 0
3 years ago
Read 2 more answers
Which situation shows the appropriate use of the law of large numbers? . a. Wilma predicts rolling a 2 about 50 times if she rol
Nata [24]
"<span>Wilma predicts rolling a 2 about 50 times if she rolls a die 300 times" is the one situation among the following choices given in the question that shows the </span><span>appropriate use of the law of large numbers. The correct option among all the options that are given in the question is the first option or option "a". I hope it helped you.</span>
7 0
3 years ago
Other questions:
  • A rectangle has an area of 192 square inches. Find it’s length and width if the length is 3 times the width
    5·1 answer
  • Watch help video
    8·1 answer
  • Which list orders the numbers from least to greatest?
    7·2 answers
  • A gym is considering changing its operating hours at multiple locations in a city. The gym management wants to know what percent
    11·2 answers
  • Question 3.3. Marco is selling floral arrangements. Each arrangement uses 1 vase and 11 orchids. Each vase costs Marco $4.00. Le
    5·2 answers
  • Please help I have no idea
    10·2 answers
  • Ed genuity
    5·2 answers
  • Click image to see it all;)))​
    11·1 answer
  • Grade 7 Unit 2 CFA1 - Annotate each passage to model your metacognition
    5·2 answers
  • Which of the following are in scientific notation?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!