summaryrefslogtreecommitdiff
path: root/2252/CH6/EX6.1/Ex6_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2252/CH6/EX6.1/Ex6_1.sce')
-rwxr-xr-x2252/CH6/EX6.1/Ex6_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2252/CH6/EX6.1/Ex6_1.sce b/2252/CH6/EX6.1/Ex6_1.sce
new file mode 100755
index 000000000..ec52e74ab
--- /dev/null
+++ b/2252/CH6/EX6.1/Ex6_1.sce
@@ -0,0 +1,14 @@
+
+//plotting graph for i1
+theta=linspace(0,2*%pi,100)
+i1=50*sin(theta)+50*sin(theta-%pi/4)
+plot(theta,i1)
+//plotting graph for i2
+theta=linspace(0,2*%pi,100)
+i2=50*cos(theta)+50*cos(theta+%pi/4)
+plot(theta,i2,"o")
+//plotting graph for i3
+i3=50*cos(theta)-20*sin(theta)
+plot(theta,i3,"-*")
+xtitle("Graphs of i1(-),i2(oo) and i3(-*)","theta","current")
+//round off error while plotting graphs