diff options
Diffstat (limited to '2414/CH2/EX2.2/Ex2_2.sce')
-rwxr-xr-x | 2414/CH2/EX2.2/Ex2_2.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2414/CH2/EX2.2/Ex2_2.sce b/2414/CH2/EX2.2/Ex2_2.sce new file mode 100755 index 000000000..54a0d91d0 --- /dev/null +++ b/2414/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,14 @@ +clc;
+
+//page no 32
+//problem 2.2
+//i(t)=4cos50t + 3sin50t
+A=4;
+B=3;
+C=sqrt(A^2+B^2); //right triangle
+theta=-1*atan(3/4); //in rad
+disp('rad',theta,'(a) The current is expressed as 5cos(50t + theta),where theta is');
+phi=acot(3/4); //from figure 2.5 in radian
+disp('rad',phi,'(b) The current is expressed as 5sin(50t+phi), where phi is');
+phi=phi*180/%pi;
+disp('degree',phi,'or');
|