summaryrefslogtreecommitdiff
path: root/1445/CH4/EX4.1/ch4_ex_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '1445/CH4/EX4.1/ch4_ex_1.sce')
-rw-r--r--1445/CH4/EX4.1/ch4_ex_1.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1445/CH4/EX4.1/ch4_ex_1.sce b/1445/CH4/EX4.1/ch4_ex_1.sce
new file mode 100644
index 000000000..df7e6aede
--- /dev/null
+++ b/1445/CH4/EX4.1/ch4_ex_1.sce
@@ -0,0 +1,20 @@
+//CHAPTER 4- MEASURING INSTRUMENTS
+//Example 1
+
+disp("CHAPTER 4");
+disp("EXAMPLE 1");
+
+//VARIABLE INITIALIZATION
+N=10; //number of turns
+I=5; //in amperes
+B=500; //flux density in Wb/m^2
+ar=15/10000; //area in m^2
+
+//SOLUTION
+T_d=N*B*I*ar;
+disp(sprintf("The deflecting torque exerted on the coil is %f N-m",T_d));
+
+//END
+
+
+