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 /1376/CH9/EX9.4 | |
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 '1376/CH9/EX9.4')
-rwxr-xr-x | 1376/CH9/EX9.4/9_4.sci | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1376/CH9/EX9.4/9_4.sci b/1376/CH9/EX9.4/9_4.sci new file mode 100755 index 000000000..a21cd987a --- /dev/null +++ b/1376/CH9/EX9.4/9_4.sci @@ -0,0 +1,15 @@ +//9.4
+clc;
+n=1000/5;
+Ie=0.7*1000/100;
+Tp=1;
+n=200;
+Ts=200;
+R_actual=Ts+(7/5);
+Error_ratio=(200-R_actual)*100/R_actual;
+printf("Ratio error=%.2f percent",Error_ratio)
+Ts=200-(0.5*200/100);
+n=199/1;
+R_actual=Ts+(7/5);
+Error_ratio=(200-R_actual)*100/R_actual;
+printf("\nRatio error=%.2f percent",Error_ratio)
\ No newline at end of file |