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 /343/CH2/EX2.48/ex2_48.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 '343/CH2/EX2.48/ex2_48.sce')
-rwxr-xr-x | 343/CH2/EX2.48/ex2_48.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/343/CH2/EX2.48/ex2_48.sce b/343/CH2/EX2.48/ex2_48.sce new file mode 100755 index 000000000..ffeda8488 --- /dev/null +++ b/343/CH2/EX2.48/ex2_48.sce @@ -0,0 +1,14 @@ +clc;
+L=0.01; //Assigning value sto parameters
+fr=50;
+function v=f(t), y=400*sin(3000*t-10),endfunction; //Defining functions
+function i=f1(t),i=10*sqrt(2)*cos(3000*t-55), endfunction;
+V=278.54-%i*49.11;
+I=8.191+5.7*%i;
+Z=V/I;
+R=real(Z);
+Xl=3000*L;
+Xc=50;
+C=1/(2*%pi*fr*Xc);
+disp("Ohms",R,"resistance R");
+disp("Farad",C,"Capacitance C");
\ No newline at end of file |