diff options
Diffstat (limited to '3835/CH4/EX4.3/Ex4_3.sce')
-rw-r--r-- | 3835/CH4/EX4.3/Ex4_3.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3835/CH4/EX4.3/Ex4_3.sce b/3835/CH4/EX4.3/Ex4_3.sce new file mode 100644 index 000000000..a44645e7d --- /dev/null +++ b/3835/CH4/EX4.3/Ex4_3.sce @@ -0,0 +1,19 @@ +clear +// +//given +//i=14.14*sin(314t)-->i=im*sin(omega*t) +//case a +im=14.14 +i=14.14/1.414 //1.414 is the value of root 2 +printf("\n i= %0.1f A",i) +//case b +//omega=314=2*3.14*f +f=314/(2*3.14) +printf("\n f= %0.1f A",f) +//case c +t=0.002 +//i=im*sin(omega*t) +p=0.01096 //value of sin(omega*t) +i=im*p +printf("\n i= %0.1f A",i) +printf("\n NOTE:Answer calculated wrongly in textbook for i obtained here") |