Answer:
//This Program is written in C++
// Comments are used for explanatory purpose
#include <iostream>
using namespace std;
enum mailbox{open, close};
int box[149];
void closeAllBoxes();
void OpenClose();
void printAll();
int main()
{
closeAllBoxes();
OpenClose();
printAll();
return 0;
}
void closeAllBoxes()
{
for (int i = 0; i < 150; i++) //Iterate through from 0 to 149 which literarily means 1 to 150
{
box[i] = close; //Close all boxes
}
}
void OpenClose()
{
for(int i = 2; i < 150; i++) {
for(int j = i; j < 150; j += i) {
if (box[j] == close) //Open box if box is closed
box[j] = open;
else
box[j] = close; // Close box if box is opened
}
}
// At the end of this test, all boxes would be closed
}
void printAll()
{
for (int x = 0; x < 150; x++) //use this to test
{
if (box[x] = 1)
{
cout << "Mailbox #" << x+1 << " is closed" << endl;
// Print all close boxes
}
}
}
Explanation:
Answer:
an attachment is below
Explanation:
1) the formula for damping coefficient id for RLC series circuit.
For \xi =0 you can make c=0 but inductor will still have some capacitance.
2) the responses of critically damped system and under damped system are shown with comments on their time response.
4) There can be many different answers to this question, but the 4 I have mentioned are the most important parameters we need to know about an unknown op-amp if we are to use it in our circuit.
Hope it answers all your questions.
Answer:
Digital electronics deals with the discrete-valued digital signals. In general, any electronic system based on the digital logic uses binary notation (zeros and ones) to represent the states of the variables involved in it. Thus, Boolean algebraic simplification is an integral part of the design and analysis of a digital electronic system.
Explanation:
Hi please follow me also I you can and thanks for the points. Have a good day.
Answer:
Explanation:
From the question we are told that:
Voltage
Power
Initial Power factor
Final Power factor
Generally the equation for Reactive Power is mathematically given by
Q=P(tan \theta_2-tan \theta_1)
Since
And
Therefore
Therefore
The size of the capacitor in vars that is necessary to raise the power factor to 0.9 lagging is
• Use the reference on "Practical Considerations for Rectangular Reinforced Concrete Beams"
• Include references to ACI code – see slides from second class
• Include references to Tables from Appendix A
• Draw a sketch of the reinforced concrete beam showing all dimensions, number and size of rebars, including stirrups.
Answer:
Beam of 25" depth and 12" width is sufficient.
I've attached a detailed section of the beam.
Explanation:
We are given;
Beam Span; L = 20 ft
Dead load; DL = 0.50 k/ft
Live load; LL = 0.65 k/ft.
Beam width; b = 12 inches
From ACI code, ultimate load is given as;
W_u = 1.2DL + 1.6LL
Thus;
W_u = 1.2(0.5) + 1.6(0.65)
W_u = 1.64 k/ft
Now, ultimate moment is given by the formula;
M_u = (W_u × L²)/8
M_u = (1.64 × 20²)/8
M_u = 82 k-ft
Since span is 20 ft, it's a bit larger than the average span beams, thus, let's try a depth of d = 25 inches.
Effective depth of a beam is given by the formula;
d_eff = d - clear cover - stirrup diameter - ½Main bar diameter
Now, let's adopt the following;
Clear cover = 1.5"
Stirrup diameter = 0.5"
Main bar diameter = 1"
Thus;
d_eff = 25" - 1.5" - 0.5" - ½(1")
d_eff = 22.5"
Now, let's find steel ratio(ρ) ;
ρ = Total A_s/(b × d_eff)
Now, A_s = ½ × area of main diameter bar
Thus, A_s = ½ × π × 1² = 0.785 in²
Let's use Nominal number of 3 bars as our main diameter bars.
Thus, total A_s = 3 × 0.785
Total A_s = 2.355 in²
Hence;
ρ = 2.355/(22.5 × 12)
ρ = 0.008722
Design moment Capacity is given;
M_n = Φ * ρ * Fy * b * d²[1 – (0.59ρfy/fc’)]/12
Φ is 0.9
f’c = 4,000 psi = 4 kpsi
fy = 60,000 psi = 60 kpsi
M_n = 0.9 × 0.008722 × 60 × 12 × 22.5²[1 - (0.59 × 0.008722 × 60/4)]/12
M_n = 220.03 k-ft
Thus: M_n > M_u
Thus, the beam of 25" depth and 12" width is sufficient.
(b) 75 kHz
(c) 80 kHz
(d) 160 kHz
(e) None of the above.
Answer:
Option D
160 kHz
Explanation:
Since we must use at least one synchronization bit, total message signal is 15+1=16
The minimum sampling frequency, fs=2fm=2(5)=10 kHz
Bandwith, BW required is given by
BW=Nfs=16(10)=160 kHz
Answer:
I = Line Current = 242.58 A
Q = Reactive Power = 41.5 kVAr
Explanation:
Firstly, converting 100 hp to kW.
Since, 1 hp = 0.746 kW,
100 hp = 0.746 kW x 100
100 hp = 74.6 kW
The power of a three phase induction motor can be given as:
where,
P in = Input Power required by the motor
V = Line Voltage
I = Line Current
Cosα = Power Factor
Now, calculating Pin:
a) Calculating the line current:
b) Calculating Reactive Power:
The reactive power can be calculated as:
Q = P tanα
where,
Q = Reactive power
P = Active Power
α = power factor angle
Since,
Therefore,