diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH4/EX4.6/Ex4_6.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3871/CH4/EX4.6/Ex4_6.sce')
-rw-r--r-- | 3871/CH4/EX4.6/Ex4_6.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/3871/CH4/EX4.6/Ex4_6.sce b/3871/CH4/EX4.6/Ex4_6.sce new file mode 100644 index 000000000..22896cc90 --- /dev/null +++ b/3871/CH4/EX4.6/Ex4_6.sce @@ -0,0 +1,23 @@ +//===========================================================================
+//chapter 4 example 6
+
+clc;
+clear all;
+
+//Variable declaration
+I1 = 10; //current in A
+theta1 = 60; //deflection in °
+theta2 = 40; //deflection in °
+
+
+//calculations
+I2 = (I1)*(theta2/(theta1)); //current in case spring controlled ammeter in A
+x = sin(((theta2*%pi)/(180)));
+y = sin((theta1*%pi)/(180));
+I21 = (I1)*(x/y); //current in case gravity controlled ammeter in A
+
+
+//result
+mprintf("current in case spring controlled ammeter = %3.2f A",I2);
+mprintf("\ncurrent in case gravity controlled ammeter = %3.2f A",I21);
+
|