diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3250/CH5/EX5.1/Ex5_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3250/CH5/EX5.1/Ex5_1.sce')
-rwxr-xr-x | 3250/CH5/EX5.1/Ex5_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3250/CH5/EX5.1/Ex5_1.sce b/3250/CH5/EX5.1/Ex5_1.sce new file mode 100755 index 000000000..fcfef018b --- /dev/null +++ b/3250/CH5/EX5.1/Ex5_1.sce @@ -0,0 +1,16 @@ +clc +// Given that +A = 20 // Value of A in voltage length characteristic equation +B = 40 // Value of B in voltage length characteristic equation +v= 80 // Open circuit voltage in V +I = 1000 // Short circuit current in amp +// Sample Problem 1 on page no. 285 +printf("\n # PROBLEM 5.1 # \n") +l=poly(0,"l") +i = ((v-A)-(B* l))*(I/v) +V = (A+B*l)// Given in the question +P = V*i +k = derivat(P) +L=roots(k) +Pmax=((v-A)-(B* L))*(I/v)*(A+B*L) +printf("\n Maximum power of the arc = %d kVA",Pmax/1000) |