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...
(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)
Obtain the combinational circuit diagram of the following 1. ((p ∨ q) ↔ r) ↔ p 2. (¬q ∧ ¬r) ↔ (p → (q ∨ r))
Expert Q&A Done ) Find the transfer function from input r(t) to the output p(f) in the following circuit
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.
R + 1. Analyze the following circuit. Calculate the capacitor voltage as a function of time for 5V step input. (R=1k, C=200nF). Assume initial capacitor voltage is zero. (5%) 2. Simulate the circuit in the figure with the parameters in your lab document" Put the schematic. (5%) Transient Simulation result -10% + vs(t) RS vc(t) С an 3. Search internet, choose application circuit that will generate square wave oscillation using LM555. Adjust the frequency by properly selecting R and C...
QUESTION 4 Consider the following circuit. Find the output of the circuit corresponding to the input P = 1, Q = 0, and R = 1 AND NOT AND ) S OR