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
Question is in the picture please help
kotykmax [81]

Answer:

1808.64

Step-by-step explanation:

Area of a circle: Pi(r²)

3.14(24²)

1808.64

5 0
3 years ago
What's the length of side b in the figure below? I posted a picture so you can view the actual problem. Please help.
svetoff [14.1K]

we know that

in the right triangle of the figure

Applying the Pythagorean Theorem

13^{2} =b^{2} +7^{2} \\ b^{2} =13^{2}-7^{2}\\ b^{2}=120\\ b=\sqrt{120} \ cm

therefore

the answer is the option

C) b=\sqrt{120} \ centimeters

6 0
3 years ago
Read 2 more answers
HELP<br><br><br><br><br> QUICK<br><br><br><br><br> LOL THANKS !!!
Anon25 [30]

Answer:

0.6

Step-by-step explanation:

The x increases by 5, while y increases by 3

Lets use the method, which is \frac{rise}{run}.

Keep in mind that x goes horizontally along the axis, while y goes vertically on the axis.

So plug the numbers in.

\frac{3}{5} = 0.6

Hence, the constant proportionality is 0.6.

8 0
3 years ago
Read 2 more answers
Please help will give branliest! Find the two missing sides and write your answer as in simplified radical form.
hjlf

Answer: v = u= 2 \sqrt{2}

Step-by-step explanation:

v= cos45 * 4= 2 \sqrt{2}

- Apply Pythagorean theorem

4^{2}= (2\sqrt{2}) ^{2} + u^{2}

We have u = 2 \sqrt{2}

5 0
3 years ago
Help pleaseee Im trying to get an A in class
likoan [24]

Answer:

191

Step-by-step explanation:

Sorry it's sideways. I drew a box chart for this. First, fill in what you know: the number of white and black beads Ally has. Then, calculate how many black beads Betty has (Ally's number, 59, minus 35.) 59-35 = 24.

They tell you the total number of beads is 346. Add up Ally's total to get 131, then subtract that from 346. That's Betty's total beads, 215.

Last, subtract the 24 black beads Betty has from the 215 total to get 191.

3 0
3 years ago
Other questions:
  • Upper bound perimeter of rectangle 15.8 m x5.2 m
    12·2 answers
  • Daryl makes $2,750.00 every month. If he is required to put 4% into his companies retirement account, how much will he pay into
    10·1 answer
  • Mrs. Culland is finding the center of a circle whose equation is x2 + y2 + 6x + 4y – 3 = 0 by completing the square. Her work is
    6·1 answer
  • A length of a rectangle is twice its width. The perimeter of the rectangle is 126 feet.
    10·2 answers
  • Calculate the value of x if 2x/3=8/5
    11·1 answer
  • Which equation has solution x = -3?
    7·1 answer
  • You are installing new carpeting in a family room. The room is rectangular with dimensions 20 1/2 feet × 13 1/8 feet. You intend
    15·1 answer
  • A cone has a height of 18 yards and a diameter of 28 yards. What is its volume?
    6·1 answer
  • La adición de dos números es -17. Calcula el Numero Menor, si el mayor es -8
    14·2 answers
  • For f(x) =
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!