What is the fastest way to draw a timing diagram, given a synchronous Flip Flip and multiple inputs, along with things like ClrN and PreN.
In: Electrical Engineering
Submit your calculation/answer for Part 1 and MATLAB code/result/answer for Part 2 below:
Servicing Customers A supermarket you work part-time at has one express lane open from 5 to 6 PM on weekdays (Monday through Friday). This time of the day is usually the busiest since people tend to stop on their way home from work to buy groceries. The number of items allowed in the express lane is limited to 10 so that the average time to process an order is fairly constant at about 1 minute. The manager of the supermarket notices that there is frequently a long line of people waiting and hears customers grumbling about the wait. To improve the situation he decides to open additional express lanes during this time period. If he does, however, he will have to "pull" workers from other jobs around the store to serve as cashiers. Hence, he is reluctant to open more lanes than necessary. Knowing that you are a college student studying probability, your manager asks you to help him decide how many express lanes to open. His requirement is that there should be no more than one person waiting in line 95% of the time. With the task at hand, you set out to study the problem first. You start by counting the number of customer arrival in the express lane on a Monday from 5 to 6pm. There are a total of 81 arrivals. You repeat the experiment on the following four days (Tuesday through Friday) and note the total arrivals of 68, 72, 61 and 66 customers, respectively.
Part 1: Analysis (2% of final grade) In order to solve the problem, you decide to answer the following set of questions:
1)
2)Ans= 1.16
3) Ans = 67.71%
4) Ans= 96.53%
Part 2: Simulation (2% of final grade)
Before telling your manager your recommendation, you decide to simulate the problem first to verify your solution:
1) You decide to approximate the customer arrival process as follows. You treat each one-second interval as a Bernoulli trial. Assign it to be a one, if there is a customer arrives during that interval, zero if no customer arrives.
2) You count the number of customers arrives during a one-minute interval.
3) You count the total number of minutes out of a one-hour period that have two or fewer customers arrive. Does this number give your probability close to your calculation in Part 1 Prob 3?
4) Now based on your answer to Part 1 Prob 4, assign the arrivals in Part 2 Prob 1 with equal probabilities to the number of express lanes you recommend.
5) You count the number of customers arrives at each lane during a one-minute interval.
6) You count the total number of minutes out of a one-hour period that all lanes have two or fewer customers arrive. Does this number give you probability close to your calculation in Part 1 Prob 4?
Done in MatLab please.
In: Electrical Engineering
Q4- A 480V, 50Hz, 20KVA Y-connected eight-pole synchronous
generator has a per-phase synchronous impedance of 0.15+??1.1 ?.
The total mechanical and stray losses are 1.5kW. The core losses
are neglected. Assume that the magnetization curve of the generator
is linear. If the generator operates at full load at a unity power
factor, calculate the following:
a.The speed of rotation of the generator at full load.
b.The voltage regulation of the generator.
c.The developed torque on the shaft of the generator.
d.The efficiency of the generator at full load.
In: Electrical Engineering
What are the differences between the single and cascaded bi-quad filters?
In: Electrical Engineering
A 450-V-rms, 50-Hz eight-pole delta-connected synchronous motor
operates with a developed power (including losses) of 150 kW and a
power factor of 0.9 lagging. The synchronous
reactance is Xs = 1.6 ?. How much must the field current be
increased to produce 100 percent power
factor? Assume that Br is proportional to If with no magnetic
saturation.
(I would be very grateful if you could write neatly :) )
In: Electrical Engineering
why is it hard to a achieve fusion of earth?
In: Electrical Engineering
what is fusion and why is it considered the future energy?
In: Electrical Engineering
Convert the following pieces of code in just a single line of code. In all cases, A and B are arrays of size 5 x 5. Important: The expression "single line of code" implies a single command or equality. In other words, the code: X=A+1; X=X+B; is considered to be TWO lines.
(a) (4%) for i=1:5,
for j=1:5
A(i,j)=B(i,j)+1;
end
end
_________________________________
(b) (4%) for i=1:3
for j=2:4
A(i,j)=B(i,j);
end
end
_________________________
(c) (5%) for i=1:3
for j=2:4
A(i,j)=B(i+2,j+1);
end
end
_________________________________
(d) (4%) for i=1:5
for j=1:5
A(i,j)=1/(B(i,j))^2;
end
end
_________________________________
(e) (5%) for i=1:5
for j=1:5
A(i,j)=B(6-i,j);
end
end
_________________________________
In: Electrical Engineering
1. Open m file of sampandquant, uniquan and Prelab4 in MATLAB.
a. Set the quantization levels of PCM (L) as 2 and 32. Compare your results.
b. Why did we choose the cut-off frequency of the ideal LPF as 30 Hz. What happens for small or very big values of the cut-off frequency?
c. Change the message signal as : xsig = cos(2pit) + cos(2pit)
d. First set the quantization levels of PCM (L) as 2 and 32. Compare your results. Then, set different values of L and compare your results.
e. What should be the cut off frequency of the ideal low pass filter for the signal given in part (c) so that the original and the recovered signals will look like each other?
In: Electrical Engineering
Assume that A and B are MATLAB arrays with 10 rows and an equal number of columns (the number of columns is not given). Important: Next, the expression "a single line of code" implies a single command or equality. In other words, the code:
X=A+1; X=X+B; is considered to be TWO lines of code, even though it can be written as one line.
(a) (3%) Write a single line of code which saves the first two rows of array A as a new array X.
(b) (4%) Write a single line of code which replaces rows 4 and 5 of array A with rows 2 and 6 of array B.
(c) (3%) Write a single line of code which divides all elements in array A by the corresponding elements in array B and saves the resulted array as X.
(d) (4%) Write a single line of code which adds the transpose of array A to array B and saves the result in array X. What should the number of columns of A and B be so that this operation does not result in an error?
(e) (4%) Write a single line of code which uses the MATLAB function "sum()" to find the sum of each row
(f) (3%) Lets call N the unknown number of columns of arrays A and B. What is the size of array X = [A B]; ?
(g) (3%) Again, N is the number of columns of arrays A and B. What is the size of array X = [A;B]; ?
(h) (3%) Assume that the arrays A and B have more than 5 columns. Write a single line of code that divides all elements in A by the B element located at row 3 and column 4.
(i) (5%) Write a single line of code using the MATLAB function "find()" which finds the location of all elements in A which are greater than 1. Then, write another line of code which replaces all these elements in A by the number 2.
In: Electrical Engineering
Explain how the clamping circuit adds or subtracts a DC component to an input voltage.
In: Electrical Engineering
Homework 5 (Work Cell Safety)
1) Explain the operation of the Safety (Light) Curtain.
2) Explain the role of 'three safety zones' in robot work cells?
3) In your opinion, what is the difference between safety and security?
Note: I need those questions to be typed in a Word Document
In: Electrical Engineering
Write a C or Matlab code for E11(1, 6), consider the point G = (2, 7). Compute the multiples of G from 2G through 13G
In: Electrical Engineering
Q2.Draw the equivalent circuit of separately excited DC machine, and show current and power paths for generator operation.
In: Electrical Engineering
create verilog source files for a seven segment
display using the software vivado.
show your steps.
In: Electrical Engineering