Given is the circuit shown in Fig. (a) In terms of V, Rs and R, obtain an expression for the power…
Given is the circuit shown in Fig.
(a) In terms of V, Rs and R, obtain an expression for the power P delivered to R.
(b) Write a script that receives as input the values of V and Rs, and makes a vector R with element values that range from 0.1*Rs to 10*Rs in increments of 0.1*Rs. Use a for loop to create a vector of power delivered to each element value of R. Then, plot the power P versus R. Do this for V = 10 volts, Rs = 10 Ohms and Rs = 100 Ohms. For each case, from inspection of the plots, give a value of R such that V delivers the maximum power to R. Provide a program listing and plots, including axes labels and titles.
(c) Vectorize your expression for P, and repeat part(b) without using a for loop.
(d) In general, for a given value of Rs, what value of R enables the resistor R to receive the most power from the voltage source V?