summaryrefslogtreecommitdiff
path: root/343/CH2/EX2.1/ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '343/CH2/EX2.1/ex2_1.sce')
-rwxr-xr-x343/CH2/EX2.1/ex2_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/343/CH2/EX2.1/ex2_1.sce b/343/CH2/EX2.1/ex2_1.sce
new file mode 100755
index 000000000..1f442453e
--- /dev/null
+++ b/343/CH2/EX2.1/ex2_1.sce
@@ -0,0 +1,11 @@
+t=3*10^-3; //Assigning values to parameters
+w=314;
+Im=141.4*sin(%pi/2);
+f=w/(2*%pi);
+T=1/f;
+t=3*(10^-3);
+i=141.4*sin(w*t);
+disp("Amperes",Im,"Maximum value of current");
+disp("Hertz",f,"Frequency");
+disp("Seconds",T,"Time period");
+disp("Amperes",i,"Instantaneous value of current at t=3 msec"); \ No newline at end of file