214k views
1 vote
You have 6 resistors in a circuit. The voltage on each is given. Use MATLAB to calculate the total power dissipated by the resistors. P = V2/R . You can use a loop or a vector solution. Watch units. Display the total power with units with proper significant figures. (Just write the code only.) Calculate the power dissipated in each resistor then add the individual power values to get the total. Show your code and the Total Power answer with units.

Resistance (kΩ) Voltage (V)

2.2 3.5

0.80 1.7

1.3 2.8

0.71 1.9

0.93 1.3

1.6 2.6

2 Answers

3 votes
Answer:










Step-by-step explanation:



0.80 1.7’




I hope this helps! :)
User Miguelmpn
by
4.0k points
3 votes

Answer:

Step-by-step explanation:

Given data,

R(kΩ)..............V(V)

2200...............3.5

800..................1.7

1300.............….2.8

710...................1.9

930.................1.3

1600....…...…..2.6

The power will be in W unit

Matlab code.

syms V;

syms R;

V = [3.5 1.7 2.8 1.9 1.3 1.6];

R = [2200 800 1300 710 930 1600];

P = V.^2 ./ R

Ptot = sum(P)

Or for vertical column

Matlab code.

syms V;

syms R;

V = [3.5; 1.7; 2.8; 1.9; 1.3; 1.6];

R = [2200; 800; 1300; 710; 930; 1600];

P = V.^2 ./ R

Ptot = sum(P)

You have 6 resistors in a circuit. The voltage on each is given. Use MATLAB to calculate-example-1
You have 6 resistors in a circuit. The voltage on each is given. Use MATLAB to calculate-example-2
User Lasitha Benaragama
by
4.7k points