I provided code for above circuit:
#include <iostream>
using namespace std;
int main() {
int p,q,r;
cout << "enter the input signals :"
<< endl ;
cin >> p;
cin >> q;
cin >> r;
if(p==q){
if (q!=r){
cout
<< "output :" << 1 << endl;
}
else{
cout
<< "output :" << 0 << endl;
}
}
else{
cout << "output :"
<< 0 << endl;
}
return 0;
}
if you have any queries regarding code ,please ask me at comment section.
please give like.
thank you.
design with C++ . Design a circuit to take input signals P, Q, and R and...
(11) [CH 2] Design a circuit that takes input signals p, q and r and outputs a 1 if, and only if, all three of p, q and r have the same value. (multi input gates are permitted)
(11) [CH 2] Design a circuit that takes input signals p, q and r and outputs a 1 if, and only if, all three of p, q and r have the same value. (multi input gates are permitted)
Solve parts a, b, c, and d
2. Design a differentiator circuit with an input signal that varies in frequency from 100Hz to 1KHz. Follow the differentiator guideline procedure. Select the capacitor value to be 0.1uf. Use the differentiator schematic shown on the next page. a. Draw the complete circuit showing values being used +s b. Write the expression for Vo. c. If a sine wave of 20mvp at a frequency of 1khz is applied to the input circuit. With...
A piezoelectric pressure transducer is equipped with a charge amplifier that generates analog voltage signals on the output. For further processing of these signals, an engineer is tasked to design an active, inverting, low-pass, 1st-order RC filter. The filter should have a cutoff frequency 6 kHz and a static sensitivity 5.5. The engineer can use only the following components: type-741 operational amplifiers, resistors of any values, and 0.5-microfarad capacitors. (a) Draw the circuit diagram of the active, inverting, low-pass, 1st-order...
1. Design and simulate a class-AB driver circuit to trigger an infrared diode. The driver circuit should generate required output voltage and output current to drive the infrared diode. Show the input signal (voltage signal only) and output signals (both output voltage and output current signals). Use input pulse frequency of 38 KHz.
1. Design and simulate a class-AB driver circuit to trigger an infrared diode. The driver circuit should generate required output voltage and output current to drive the...
Obtain the combinational circuit diagram of the following 1. ((p ∨ q) ↔ r) ↔ p 2. (¬q ∧ ¬r) ↔ (p → (q ∨ r))
Consider the procedure implementing quicksort: Quicksort(A,p,r){ if (p < r): q = Partition(A,p,r) Quicksort(A,p,q-1) Quicksort(A,q+1,r) } If instead of calling Quicksort(A,p,q-1) , the call is Quicksort(A,p,q), What would be the consequence on correctness or running time when: a) The array is already sorted b) The array is filled with n copies of the same value
(a) Determine a state variable matrix differential equation for the circuit of Figure 4 (a) where the input is 11 and the output is p. Let x,-p, r,-q Cart 2 Cart 1 M2 1 M11-1 te b2 Figure 4 (a)
(a) Determine a state variable matrix differential equation for the circuit of Figure 4 (a) where the input is 11 and the output is p. Let x,-p, r,-q Cart 2 Cart 1 M2 1 M11-1 te b2 Figure 4 (a)
Expert Q&A Done ) Find the transfer function from input r(t) to the output p(f) in the following circuit
Design a logic circuit that will allow the passage of an input signal only when control inputs B or C is LOW (use either B or C but not both are low) at the same time that D is HIGH. Otherwise, the output is LOW. Show the truth table and reduced expression for the output.
Problem 1. Sequential Circuit Design Using a decoder and AND gates, implement a 4-input multiplexer. . Using D-FFs, implement a 4-bit register. If using circuit verse, connect the Din signals to inputs blocks and connect Power to the enable lines. Do not forget the clock.