Answer:
(N-1) × (L/2R) = (N-1)/2
Explanation:
let L is length of packet
R is rate
N is number of packets
then
first packet arrived with 0 delay
Second packet arrived at = L/R
Third packet arrived at = 2L/R
Nth packet arrived at = (n-1)L/R
Total queuing delay = L/R + 2L/R + ... + (n - 1)L/R = L(n - 1)/2R
Now
L / R = (1000) / (10^6 ) s = 1 ms
L/2R = 0.5 ms
average queuing delay for N packets = (N-1) * (L/2R) = (N-1)/2
the average queuing delay of a packet = 0 ( put N=1)
Answer:
void bubble_sort( int A[ ], int n ) {
int temp;
for(int k = 0; k< n-1; k++) {
// (n-k-1) to ignore comparisons of already compared iterations
for(int i = 0; i < n-k-1; i++) {
if(A[ i ] > A[ i+1] ) {
// swapping occurs here
temp = A[ i ];
A[ i ] = A[ i+1 ];
A[ i + 1] = temp ;
}
}
}
}
You have to show the story or experiment so we know
Answer:
load factor = 0.782
Shrink Factor = 0.833
no of truck is 62500
Explanation:
given data
soil weighs in situ condition = 2,520 lbs/CY
soil weighs in loose condition = 1,970 lb/CY
soil weighs in embanked state = 3,025 lbs/CY
average volume = 16 LCY
soil from a borrow pit = 1 million CCY
solution
first we get here Load Factor that is express as
load factor =
load factor = 0.782
and Shrink Factor will be as
Shrink Factor =
Shrink Factor = 0.833
and
no of truck will be
no of truck =
no of truck is 62500
Answer:
1st Harmonic:

3rd Harmonic:

5th Harmonic:

7th Harmonic:

Explanation:
The general form to represent a complex sinusoidal waveform is given by

Where A is the amplitude in volts of the sinusoidal waveform
Where f is the frequency in cycles per second (Hz) of the sinusoidal waveform
Where
is the phase angle in radians of the sinusoidal waveform.
1st Harmonic:
We have A = 50, f = 1000 and φ = 0

3rd Harmonic:
We have A = 9, f = 3000 and φ = 0

5th Harmonic:
We have A = 6, f = 5000 and φ = 0

7th Harmonic:
We have A = 2, f = 7000 and φ = 0

Note: The even-numbered harmonics have 0 amplitude that is why they are not shown here.