You are required to design an automated water pump regulator for a large farm. The pump is required to draw water from a dam and store it in three tanks all connected to one another, while the regulator is responsible for automatically closing and opening the single valve that leads to the first tank. The tanks will only overflow when they are all full, so as long as one of them is not full, the valve must remain open. The valve is incorporated to prevent any possible overflow. For the design of the automated regulator, the following specifications have been provided:If the dam is not empty and any tank is not full, open the valve;If a tank is full but does not overflow, the valve must remain open;If any tank is full and starts to overflow, close the valve.Define and present the propositional logic variables needed to represent the conditions within these specifications, avoiding using negative propositions. So, for example, you cannot write P: "item is not state", you can write P: "item is state". You must create the minimum number of necessary propositional variables only.
Question
You are required to design an automated water pump regulator for a large farm. The pump is required to draw water from a dam and store it in three tanks all connected to one another, while the regulator is responsible for automatically closing and opening the single valve that leads to the first tank. The tanks will only overflow when they are all full, so as long as one of them is not full, the valve must remain open. The valve is incorporated to prevent any possible overflow. For the design of the automated regulator, the following specifications have been provided:If the dam is not empty and any tank is not full, open the valve;If a tank is full but does not overflow, the valve must remain open;If any tank is full and starts to overflow, close the valve.Define and present the propositional logic variables needed to represent the conditions within these specifications, avoiding using negative propositions. So, for example, you cannot write P: "item is not state", you can write P: "item is state". You must create the minimum number of necessary propositional variables only.
Solution
To represent the conditions within these specifications, we can define the following propositional logic variables:
- D: The dam is empty.
- T1: The first tank is full.
- T2: The second tank is full.
- T3: The third tank is full.
- O1: The first tank is overflowing.
- O2: The second tank is overflowing.
- O3: The third tank is overflowing.
- V: The valve is open.
These variables can be used to represent the conditions in the specifications. For example, the condition "If the dam is not empty and any tank is not full, open the valve" can be represented as "(not D and (not T1 or not T2 or not T3)) implies V". Similarly, the condition "If any tank is full and starts to overflow, close the valve" can be represented as "((T1 and O1) or (T2 and O2) or (T3 and O3)) implies not V".
Similar Questions
Answer the questions independently of each other.There are four water tanks A, B, C and D. Water flows from one tank to another through different taps as follows:Tap 1: from A to B @ 25 litres/minuteTap 2: from B to C @ 30 litres/minuteTap 3: from C to D @ 20 litres/minuteTap 4: from D to A @ 22 litres/minuteTap1 is opened and then closed after 15 minutes. This process is followed for each tap. After each tap is used once, it is found that only one tank is fully filled. Which is this tank?(Assume each tank has enough water to flow through its outlet for 15 minutes)DCannot be determined.A or BC
Two pipes A and B are attached to an empty water tank. Pipe A fills the tank while pipe B drains it. If pipe A is opened at 2 pm and pipe B is opened at 3 pm, then the tank becomes full at 10 pm. Instead, if pipe A is opened at 2 pm and pipe B is opened at 4 pm, then the tank becomes full at 6 pm. If pipe B is not opened at all, then the time, in minutes, taken to fill the tank is
Three taps A, B and C can fill a tank in 12, 15 and 20 hours respectively. If A is open all the time and B and C are open for one hour each alternatively, the tank will be full in :Select one:a. 6 hrsb. 7 hrsc. 6.5 hrsd. 7.5 hrs
4 pipes can fill a tank in 15, 20, 30 & 60 hours respectively. The first was opened at 6 a.m., second at 7 a.m., third at 8 a.m. and fourth at 9 a.m. When will the tank be full?
The check valve of the fuel pump closes to maintain the remaining pressure in the fuel line when the fuel pump is stopped.Group of answer choicesTrueFalse
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.