Find the maximum of the function f = −2x5 +4.2x4 +2x3 - x
2 +20x − 5 in the range −8 ≤ x ≤
10 using the Particle Swarm Optimization method. Use 4 particles with the initial
positions x1 = −2, x2 = 0, x3 = 1, and x4 = 3. Solve the numerical using MATLAB coding
for 2 iterations.
Compute the total resistance of you to following the procedure in the resistance measurement using the ohmmeter and color coding chart compare the reading very (measured value)with the color-coded value
If two events, A and B, are such that P(A) = .5, P(B) = .3, and P(AnB) = 1, find
the following
a. P(A|B)
b. P(B|A)
c. P(A|A UB)
d. P(A|ANB)
e. P(ANB|AUB)
Consider the following events in the toss of a single die: A: Observe an odd number,
B: Observe an even number. C: Observe a l or 2.
a. Are A and B independent events?
b. Are A and C independent events?
The following information is given in connection with the parallel series circuit of Fig 3.4b:E = 48, R1 = 6, R2 = 12, R3 = 3, R4 = 15, R5 = 90, R6 = 30. Calculate (a) the total equivalent resistance of the entire circuit, (b) the total current, (c) the voltage drop across each section, (d) the current through each resistor, (e) the total power taken by the entire circuit. Rs R2 .Ro (6) Parallel-series circuit
The no-load voltage of a single phase transformer is 3300 / 400 V. It takes 7A at a power factor of 0.3 lagging on no-load. Determine the following:
(a) The magnetizing current of the transformer.
(b) The magnetizing reactance of the transformer.
(c) The core loss current of the transformer.
(d) The core loss resistance of the transformer
(e) The iron losses of the transformer.
(f) The primary current if the load on the secondary is 80 A at a power factor of 0.85 leading.
write a python program
In a supermarket, when paying your bill amount, if your amount exceeds RO.100, You have an option of Cash or Credit Card. If you pay as cash you will get 6% of discount from your original amount, but for Credit Card there is no discount. When your amount is less than RO.100 you will have to pay by cash only with the discount of 3%.
A 400 mH coil is connected to an AC source, an RMS current of 6 mA is flowing. Find out the voltage across the coil if the frequency is 1000 Hz.
In electrical circuit subject, where do you think you will be able to apply the knowledge that you will through this course in your career as a Computer Engineering?
write a python program
In a supermarket, when paying your bill amount, if your amount exceeds RO.100, You have an option of Cash or Credit Card. If you pay as cash you will get 6% of discount from your original amount, but for Credit Card there is no discount. When your amount is less than RO.100 you will have to pay by cash only with the discount of 3%.