From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3640/CH8/EX8.2/Ex8_2.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 3640/CH8/EX8.2/Ex8_2.sce (limited to '3640/CH8/EX8.2/Ex8_2.sce') diff --git a/3640/CH8/EX8.2/Ex8_2.sce b/3640/CH8/EX8.2/Ex8_2.sce new file mode 100644 index 000000000..0c60516a0 --- /dev/null +++ b/3640/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,15 @@ +clc +x=0.01 //length in metres +L=0.03+(270*x*x) //equation provided in the textbook +mprintf("L(0.01)=%fH\n",L) +w=377 //angular frequency in rad/sec +XL=w*L +mprintf("XL=wL=%fΩ\n",XL)//ans may vary due to toundoff error +I=1 //current in ampere +V=I*XL +mprintf("V=IXL=%fV\n",V)//ans may vary due to toundoff error +a=540 //comes from an equation in textbook,unit is henry/metre +f=(1/2)*(a*x) +mprintf("f=%fN\n",f) + + -- cgit