diff options
Diffstat (limited to '3871/CH4/EX4.4/Ex4_4.sce')
-rw-r--r-- | 3871/CH4/EX4.4/Ex4_4.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3871/CH4/EX4.4/Ex4_4.sce b/3871/CH4/EX4.4/Ex4_4.sce new file mode 100644 index 000000000..8f01e491a --- /dev/null +++ b/3871/CH4/EX4.4/Ex4_4.sce @@ -0,0 +1,23 @@ +//===========================================================================
+//chapter 4 example 4
+clc;
+clear all;
+
+//variable declaration
+theta1 = 90; //deflection in °
+x = 0.5; //I2/I1
+
+//calculations
+//Td proprtional to I
+//theta proprtional to I
+theta2 = theta1*(x); //deflection for the current equal to the half of the current in spring controlled instrument in °
+//Tc proprtional to sin(theta)
+//sin(theta) proprtional to I
+y = sin((%pi/(2)))
+theta21 = asin(x*y); //deflection for the current equal to the half of the current in gravity controlled instrument in °
+theta22 = (theta21*180)/(%pi);
+
+//result
+mprintf("deflection for the current equal to the half of the current in spring controlled instrument = %3.2f °",theta2);
+mprintf("\ndeflection for the current equal to the half of the current in gravity controlled instrument = %3.2f °",theta22);
+
|