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
ryzh [129]
3 years ago
15

Translate each statement into a logical expression. Then negate the expression by adding a negation operation to the beginning o

f the expression. Apply De Morgan's law until each negation operation applies directly to a predicate and then translate the logical expression back into English.
Sample question: Some patient was given the placebo and the medication.
∃x (P(x) ∧ D(x))
Negation: ¬∃x (P(x) ∧ D(x))
Applying De Morgan's law: ∀x (¬P(x) ∨ ¬D(x))
English: Every patient was either not given the placebo or not given the medication (or both).
(a) Every patient was given the medication.
(b) Every patient was given the medication or the placebo or both.
(c) There is a patient who took the medication and had migraines.
(d) Every patient who took the placebo had migraines. (Hint: you will need to apply the conditional identity, p → q ≡ ¬p ∨ q.)
Computers and Technology
1 answer:
kotegsom [21]3 years ago
6 0

Answer:

P(x): x was given the placebo

D(x): x was given the medication

M(x): x had migraines

Explanation:

(a) Every patient was given the medication

Solution:

∀x D(x)

∀ represents for all and here it represents Every patient. D(x) represents x was given the medication.

Negation: ¬∀x D(x).

This is the negation of Every patient was given the medication.

The basic formula for De- Morgan's Law in predicate logic is:

¬(P∨Q)⇔(¬P∧¬Q)

¬(P∧Q)⇔(¬P∨¬Q)

Applying De Morgan's Law:

          ∃x ¬D(x)

∃ represents there exists some. As D(x) represents x was given the medication so negation of D(x) which is ¬D(x) shows x was not given medication. So there exists some patient who was not given the medication.

Logical expression back into English:

There was a patient who was not given the medication.

(b) Every patient was given the medication or the placebo or both.

Solution:

∀x (D(x) ∨ P(x))

∀ represents for all and here it represents Every patient. D(x) represents x was given the medication. P(x) represents  x was given the placebo . V represents Or which shows that every patient was given medication or placebo or both.

Negation: ¬∀x (D(x) ∨ P(x))

This is the negation or false statement of Every patient was given the medication or the placebo or both.

Applying De Morgan's Law:

∃x (¬D(x) ∧ ¬P(x))

∃ represents there exists some. As D(x) represents x was given the medication so negation of D(x) which is ¬D(x) shows x was not given medication. As P(x) represents x was given the placebo so negation of P(x) which is ¬P(x) shows x was not given placebo. So there exists some patient who was neither given medication nor placebo.

Logical expression back into English:

There was a patient who was neither given the medication nor the placebo.

(c) There is a patient who took the medication and had migraines.

Solution:

∃x (D(x) ∧ M(x))

∃ represents there exists some. D(x) represents x was given the medication. M(x) represents x had migraines.  ∧ represents and which means patient took medication AND had migraines. So the above logical expression means there exists a patient who took medication and had migraines..

Negation:

¬∃x (D(x) ∧ M(x))

This is the negation or false part of the above logical expression: There is a patient who took the medication and had migraines.

Applying De Morgan's Laws:

∀x (¬D(x) ∨ ¬M(x))

∀ represents for all. As D(x) represents x was given the medication so negation of D(x) which is ¬D(x) shows x was not given medication. As M(x) represents x had migraines so negation of ¬M(x) shows x did not have migraines. ∨ represents that patient was not given medication or had migraines or both.

Logical expression back into English:

Every patient was not given the medication or did not have migraines or both.

(d) Every patient who took the placebo had migraines.

Solution:

∀x (P(x) → M(x))

∀ means for all. P(x) represents  x was given the placebo . M(x) represents x had migraines. So the above logical expressions represents that every patient who took the placebo had migraines.

Here we are using conditional identity which is defined as follows:

Conditional identity, p → q ≡ ¬p ∨ q.

Negation:

¬∀x (P(x) → M(x))

¬∀ means not all. P(x) implies M(x). The above expression is the negation of Every patient who took the placebo had migraines. So this negation means that Not every patient who took placebo had migraines.

Applying De Morgan's Law:

∃x (P(x) ∧ ¬M(x))

∃ represents there exists some.  P(x) represents  x was given the placebo . ¬M(x) represents x did not have migraines. So there exists a patient who was given placebo and that patient did not have migraine.

Logical expression back into English:

There is a patient who was given the placebo and did not have migraines.

You might be interested in
In Java: Write a class called Shelf that contains instance data that repre-sents the length, breadth, and capacity of the shelf.
disa [49]

Answer:see explanation

Explanation:

Hello, the solution is the following:

in a file named Shelf.java :

public class Shelf{

   int length;

   int breadth;

   int capacity;

   boolean occupied;

   Shelf(int length,int breadth, int capacity){

       this.length = length;

       this.breadth = breadth;

       this.capacity = capacity;

       this.occupied = false;

   }

   

   //set methods

   public void setLength(int length){

       this.length = length;

   }

   public void setBreadth(int breadth){

       this.breadth = breadth;

   }

   public void setCapacity(int capacity){

       this.capacity = capacity;

   }

   public void setOccupied(boolean occupied){

       this.occupied = occupied;

   }

   

   //get methods

   public int getLength(){

       return this.length;

   }

   public int getBreadth(){

       return this.breadth;

   }

   public int getCapacity(){

       return this.capacity;

   }

   public boolean getOccupied(){

       return this.occupied;

   }

   

   //tostring method

   

   public String toString(){//overriding the toString() method  

 return "Shelf: \n"+" length: "+Integer.toString(this.length)+" breadth: "+Integer.toString(this.breadth)+" capacity: "+Integer.toString(this.capacity)+" occupied: "+Boolean.toString(this.occupied);

}  

}

in another file named ShelfCheck.java

public class ShelfCheck {

 public static void main(String[] args) {

   Shelf s1=new Shelf(100,150,300);

   Shelf s2=new Shelf(200,200,234);  

   Shelf s3=new Shelf(300,222,543);  

   Shelf s4=new Shelf(400,434,654);

   System.out.println(s1);

   System.out.println(s2);

   System.out.println(s3);

   System.out.println(s4);

   s4.setLength(5);

   System.out.println(s4);

   s2.setBreadth(2);

   System.out.println(s2);

   s3.setCapacity(1);

   System.out.println(s3);

   s1.setOccupied(true);

   System.out.println(s1);

 }

}

OUTPUT:

Shelf:

length: 100 breadth: 150 capacity: 300 occupied: false

Shelf:

length: 200 breadth: 200 capacity: 234 occupied: false

Shelf:

length: 300 breadth: 222 capacity: 543 occupied: false

Shelf:

length: 400 breadth: 434 capacity: 654 occupied: false

Shelf:

length: 5 breadth: 434 capacity: 654 occupied: false

Shelf:

length: 200 breadth: 2 capacity: 234 occupied: false

Shelf:

length: 300 breadth: 222 capacity: 1 occupied: false

Shelf:

length: 100 breadth: 150 capacity: 300 occupied: true

5 0
2 years ago
A network administrator plugs a new pc into a switch port. the led for that port changes to solid green. what statement best des
gayaneshka [121]

The port is operational and ready to transmit packets.

<h3>What is transmission mode explain?</h3>

Transmission mode refers to the mechanism of transferring of data between two. devices connected over a network. It is also called Communication Mode. These. modes direct the direction of flow of information.

<h3>What is used to transfer data packets?</h3>

A router is a networking device that forwards data packets between computer networks. Routers perform the traffic directing functions on the Internet.

To learn more about Transmission mode, refer

brainly.com/question/18590710

#SPJ4

3 0
1 year ago
In which utility is the file search option found in windows
OLEGan [10]

Press Windows logo key + X Key.

Click on Control Panel.

Double Click on Troubleshooting.

Click on View all option, on left hand side of the window.

Click on Search and indexing and follow the on screen instructions.

5 0
3 years ago
Discuss the potential problems using biometrics can present to society, and in particular, what effect the loss of biometric rec
tamaranim1 [39]

Answer:

Biometrics in this sense refers to any human information that can be used as unique identifiers such as fingerprints, iris scan, facial scan, voice patterns and typing cadence.

The advantage of biometrics is that they can not be duplicated. That is, two people can never share the same biometric information except if they are clones of each other.  

Given that this kind of unique identifiers can be also be stored as data, it thus creates a cyber risk. If stolen, it may be used to access any part of the user's life. The loss of biometric data to hackers is so detrimental that it can be used to falsify legal documents, identifications documents, or other forms of and even credit card details.

Cheers!

7 0
3 years ago
I want to take several courses of MIT OCW, and I'm searching for study groups. Is this website the place to find them?
Ymorist [56]
No, this website is not for study groups. It's more of a 'question and answer' website. There is no actual communication on one certain subject. Although I do know a few websites that have worked really well for me,where you can create and participate in study groups;
-studyblue
- studyhall
- getstudyroom
all of these are safe websites that are used by wide variety of students, therefore i'm sure you can find plenty of people interested in learning the same things as you!
3 0
2 years ago
Other questions:
  • Which cell formatting is most likely to use $?
    11·2 answers
  • What ipconfig command line option can be used to delete cached dns information from memory?​?
    9·1 answer
  • When you're working with a word processing document and you press the del key, what happens?
    5·1 answer
  • Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of th
    14·1 answer
  • How should a Salesforce Admin fulfill those requirements? Universal Containers launches a Partner Community for their resellers
    13·1 answer
  • E-What is the important of Recycle bin?<br>Ans:​
    12·1 answer
  • This standard library function returns a random floating-point number in the range of 0.0 up to 1.0 (but not including 1.0).
    10·1 answer
  • Charlie makes pizza at a restaurant. The customers always compliment how great the pizza tastes. But Charlie takes a long time t
    7·2 answers
  • I ONLY HAVE 5 MIN HELPPPPPP
    15·2 answers
  • Animals living in burrows under the ground is an interaction between the biosphere and the
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!