summaryrefslogtreecommitdiff
path: root/371/CH8/EX8.8/8_8.sci
diff options
context:
space:
mode:
Diffstat (limited to '371/CH8/EX8.8/8_8.sci')
-rwxr-xr-x371/CH8/EX8.8/8_8.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/371/CH8/EX8.8/8_8.sci b/371/CH8/EX8.8/8_8.sci
new file mode 100755
index 000000000..d76b5d0b5
--- /dev/null
+++ b/371/CH8/EX8.8/8_8.sci
@@ -0,0 +1,9 @@
+//Harmonic and Powerfactor with the Converter system//
+//Example 8.8//
+Wv=18.6;
+h=6;
+C=sqrt(h^2-(Wv^2*((h^2-1)^2)/2*10^4))*10^6/sqrt(h^2-1);//cosine of triggering angle//
+C=sqrt(14.68/35);
+printf('cosine of triggering angle=C=%f',C);
+A=acos(C)*180/%pi;
+printf('\ntriggering angle of the device=A=%fdegrees',A);//endof program//