Reference no: EM13884387
Exercise 1: Six coins are lying on the table in the following order
head head head tail tail tail
In one move, two adjacent coins may be turned. We search for a sequence of moves which transfers the coins into the situation
tail head tail head tail head
Formulate a logic program to solve this puzzle.
Exercise 2: Formulate the following puzzle in predicate logic clauses, and use the answer generation method to solve it:
Tom, Mike, and John are members of the alpine club. Each member of the alpine club is either skier or climber or both. No climber likes the rain and all skiers like the snow. Mikae likes everything that Tom dislikes, and vice versa. Mike and John like the snow.
Is there a member of the alpine club who is climber but no skier, and who is this?
Exercise 3: The logic program for addition described above can also be used for subtraction. How?
Exercise 4: Formulate a different logic program for addition which is based on the following recursive presentation"
x + 0 = x
x + y' = x' + y
Compute again what the result of 3 + 2 is.
Exercise 5: Write a logic program that simplifies formulas by eliminating useless multiplicative factors that are 1, and additive terms that are
0. (This program could be combined with the above program for differentiation.) The program we are looking for should be able to perform the following computation.
Using as input the goal clause?-
?- simpzify(1 * A + (B + (0 + x))*1, C).
leads to the result
simplify (1 * A + (B + (0 + x))*1, A + (B + x)).
Compute the change in the wealth levels of each companies
: Compute the change in the wealth levels of each of the four companies due to the market value changes in their equity investments.
|
Electron configuration of elemental bohrium
: If 199 atoms of bohrium-267 could be synthesized, how much time would elapse before only 11 atoms of bohrium-267 remain? What is the expected electron configuration of elemental bohrium?
|
Concept of planning in project life-cycle and how research
: Explain the concepts of planning in the project life-cycle and how research and critical thinking is mandatory in planning
|
Nuclear synthesis of this cobalt isotope
: Radioactive cobalt-60 is used to study defects in vitamin B12 absorption because cobalt is the metallic atom at the center of the vitamin B12 molecule. The nuclear synthesis of this cobalt isotope involves a three-step process. The overall reactio..
|
Write a logic program that simplifies formulas
: Formulate a different logic program for addition which is based on the recursive presentation - The logic program for addition described above can also be used for subtraction. How?
|
What is the intrinsic value and market value of kmart
: The operating income of Kmart has shown a declining trend. Year 2014 and 2013 was loss making years for the company. What is the intrinsic value of Kmart? What is the market value of Kmart?
|
What type of anemia does ms. a most likely have
: Considering the circumstances and the preliminary workup, what type of anemia does Ms. A most likely have? In an essay of 500-750 words, explain your answer and include rationale.
|
Aqueous solution of potassium iodide
: You add an aqueous solution of lead nitrate to an aqueous solution of potassium iodide. Draw highly magnified views of each solution individually, and the mixed solution including any product that forms.
|
Significant figures in the naoh molarity
: If 2.00 MNaOH is available, how would the student prepare the solution? To help insure three significant figures in the NaOH molarity, to how many significant figures should the volumes and mass be determined?
|