blob: 5ab7f01be568bc6d61c368366629dbde6be9ad00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// To determine resistances in parallel.
clc;
clear;
I=25;
V=200;
P1=1500;
// Voltage remains the same in both the coils.
// Power Equation and Ohm's Law is being incorporated.
I1=P1/V;
R1=V/I1;
I2=I-I1;
R2= V/I2;
disp('ohms',R1,'The resistance of coil 1 =')
disp('ohms',R2,'The resistance of coil 2 =')
|