diff options
Diffstat (limited to '3554/CH2/EX2.1/Ex2_1.sce')
-rw-r--r-- | 3554/CH2/EX2.1/Ex2_1.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3554/CH2/EX2.1/Ex2_1.sce b/3554/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..68775e314 --- /dev/null +++ b/3554/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,21 @@ +// Exa 2.1
+
+clc;
+clear all;
+
+// Given data
+
+N= 100; // Number of turns
+W=20; // Width of coil(mm)
+D= 30; // Depth of coil(mm)
+B= 0.1; // Flux density (wb/m^2)
+I= 10; // Current in coil(mA)
+K= 2*10^-6; // Spring constant(Nm/degree)
+
+// Solution
+A= W*10^-3*D*10^-3; // Area of coil(m^2)
+Td= B*N*A*I*10^-3; // Deflecting torque(Nm)
+disp("As deflecting torque = restoring torque(K*Theta)");
+Theta= Td/K;
+printf(' The defecting torque = %.1f * 10^-6 Nm \n ', Td*10^6);
+printf('Therefore, the deflection = %d degrees \n ' , Theta);
|