summaryrefslogtreecommitdiff
path: root/3826/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3826/CH1/EX1.2/Ex1_2.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3826/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3826/CH1/EX1.2/Ex1_2.sce36
1 files changed, 36 insertions, 0 deletions
diff --git a/3826/CH1/EX1.2/Ex1_2.sce b/3826/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..728194a34
--- /dev/null
+++ b/3826/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,36 @@
+//Example 1_2 page no:23
+clc;
+//given
+//solving a sub part
+voltage = 500;//in v
+current = 32;//in A
+arm_res = 0.4;//in ohm
+fl_win_res = 250;//in ohm
+rpm = 450;
+field_current = 2;
+input_pow = (voltage*current)/1000;
+arm_current = current - field_current;
+//when running at 600rpm
+rpm1 = 600;
+k_phi = (voltage - 12)/rpm1;
+//when running at 450rpm
+R = -(k_phi*rpm-voltage)/arm_current;
+R = R - arm_res;
+disp("To decrease the speed to 450 rev/min");
+disp(R,"the resistance added with the armature is (in ohm)");
+disp(current,"the current is (in A)");
+disp(input_pow,"the kw-input taken from the supply is(in kW)");
+//solving b sub part
+disp("To increase the speed to 700 rev/min");
+flux_ratio = 600/700;
+res_added = (fl_win_res/flux_ratio)- fl_win_res;
+disp(res_added,"the resistance to be added is (in ohm)");
+arm_current = arm_current*(1/flux_ratio);
+fld_current = 1.25;
+tot_current = arm_current + fld_current;
+pow = tot_current * voltage/1000;
+disp(arm_current,"the armature current is (in A)");
+disp(fld_current,"the field current is (in A)");
+disp(tot_current,"the total current is (in A)");
+disp(pow,"the kw-input taken from the supply is(in kW)");
+//the resistance value is rounded off in text book so armature current, total current , input power vary slightly with text book