400 Answered Questions for the topic logic

Did I Get This Simple Math Average Problem Right?

Hi! I need to find students to fill a classroom with. There are 2 classes that I need to fill 50% of each class and 7 classes that I need to fill 33.3% of each class. Overall, what is the average... more
Logic

06/19/22

How do you even start with this problem ?

It's been 2 hours that i am searching everywhere for an idea on how to start on this problem, so i come here to ask for help as i can't grasp the idea behind it. Considering the Signature Σ = (C... more

06/07/22

Hoare logic rules

using repeated addition, where a and b are any two arbitrary numbers. Prove the program is correct using Hoare logic inference rules (precondition and postcondition have been given).{b>=0}x:=... more

Find the expansion base 7 of 67 and Compute (37^15 + 27 × 43) mod 6 using modular arithmetic.

Find the expansion base 7 of 67Compute (3715 + 27 × 43) mod 6 using modular arithmetic (without the use of a calculator). Show all your work.

Check whether the following integers are multiplicative inverses of 3 mod 5.

Check whether the following integers are multiplicative inverses of 3 mod 5. a) 6 b) 7

We want to find 8 in the following list: 2, 6, 5, 1, 11, 18, 8, 0.

We want to find 8 in the following list: 2, 6, 5, 1, 11, 18, 8, 0.a) Can we use Binary Search Algorithm? Justify your answer. b) If a Linear Search Algorithm is used to find 8, how many comparison... more

Look at the following algorithm:

Look at the following algorithm:Input: n: real numberOutput: undisclosed procedure x(n) t := 1 For i := 3 to n t := t + n End-for Return(t) What is returned by the algorithm on the input 7, i.e. n... more

Determine which statements are false or true. Justify your answer.

Determine which statements are false or true. Justify your answer.(a) {0, 1} ∈ {0, {0}, {1}, 1} (b) {a, b, c} ⊂ {a, {a, b}, c, {a, c}, {{{a, b, c}}}} (c) ∅ ⊆ {a, b, c} (d) {1} ∈ {{1}, 0, {{1}}}

Let f(x) = 4x - 7 and g(x) = 6 - 2x where f(x) : R → R, and g(x) : R → R. Find (f ◦ g)(x).

Let f(x) = 4x - 7 and g(x) = 6 - 2x where f(x) : R → R, and g(x) : R → R. Find (f ◦ g)(x).

Determine whether the function f(x) = 8 − 2x^2 , where f(x) : R → R, is bijective and explain why.

Determine whether the function f(x) = 8 − 2x2 , where f(x) : R → R, is bijective and explain why.

For the sets A = {a, b, c, d, e}, B = {a, c, e, g, n}, C = {b, c, d, e, n, w} and the universal set is U = {a, b, c, d, e, g, n, w}. Find

For the sets A = {a, b, c, d, e}, B = {a, c, e, g, n}, C = {b, c, d, e, n, w} and the universal set is U = {a, b, c, d, e, g, n, w}. Find (a) |A ∩ B ∩ C| (b) C¯(c) A¯∪(B − C)

Rewrite the statement ¬∃x (∀y∃tS(x, y, t) ∧ ∃tR(x, t)) so that negations appear only within predicates.

Rewrite the statement ¬∃x (∀y∃tS(x, y, t) ∧ ∃tR(x, t)) so that negations appear only within predicates.

Microinstructions code phrases.

Suppose you come across the following binary microinstructions in the format described in class.  Describe the micro-operations that each one executes. Write the phrases for each.1.    0001 0001... more

03/18/22

How to use natural deduction to prove a statement.

Prove the following statement using natural deduction rules (such as conjunction elimination, implication introduction, etc.)[(p ∧ q) ∨ (p ∧ r)] ⊢ [p ∧ (q ∨ r)]

03/18/22

How to use natural deduction to prove a statement.

Prove the following statements using natural deduction rules (such as conjunction elimination, implication introduction, etc.)a. [(p ∧ q) ∨ (p ∧ r)] ⊢ [p ∧ (q ∨ r)]b. [¬p, p ∨ q] ⊢ [q]c. [¬p ∧ ¬q]... more

03/18/22

What is the last digit of 3 raise to 278,885

What is the last digit of 3278,885?a. 3b. 9c. 7d. 1I have answered a) 3. Am I correct?

03/16/22

Which of the Following is a Binary Operation if a and b are in S?

Which of the Following is a Binary Operation if a and b are in S?a. a*b = ab + b2, S = set of negative numbersb a*b = square root of a+b ; S = set of positive numbersc a*b = ab-a; S = set of real... more

03/05/22

Find the missing base

Find the missing base.Write your answer as a whole number.a3 =27I've tried a few different methods but none work right please help!!!kind of in home school as in I teach myself a lot of the stuff... more
Logic

02/17/22

Why is a bowl more useful when empty?

Logic

02/14/22

On the island of knights and knaves

On the island of knights and knaves you come across a group of 30 people wearing tags numbered 1 to 30. Person 1 says exactly one of us is a knave. Person 2 says exactly two of us are knaves,... more
Logic

12/16/21

Derivation help please!!!

I'm racking my brains out trying to remember!!!!!!! It looks so simple but I'm totally lost??? please help!!!(Ǝx)Rx answer:(Ǝx)(Rx v Dx)
Logic Philosophy

12/16/21

help with this derivation

need help with this one derivation problem please and thank[(Ǝx)Cx v Fa) > (∀y)Hy,(Ǝx)Cx] |- (∀y)Hy v (Ǝz)Kz

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.