diff options
Diffstat (limited to '3802/CH1/EX1.2/Ex1_2.sce')
-rw-r--r-- | 3802/CH1/EX1.2/Ex1_2.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3802/CH1/EX1.2/Ex1_2.sce b/3802/CH1/EX1.2/Ex1_2.sce new file mode 100644 index 000000000..b5435d336 --- /dev/null +++ b/3802/CH1/EX1.2/Ex1_2.sce @@ -0,0 +1,15 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex1_2.sce.
+
+clc;
+clear;
+R25=120; //resistance of copper wire at 25 degree celsius
+T1=25; //temperature1 in degree celsius
+T2=55; //temperature in degree celsius
+alphazero=4.2e-3; //temperature coefficient
+R55=(R25*(1+(T2*alphazero)))/(1+(T1*alphazero)); //resistance of the copper wire at a temperature of 55 degree celsius
+printf("The resistance value for the resitor(copper wire)=%3.3f ohms",R55)
|