summaryrefslogtreecommitdiff
path: root/42/CH7/EX7.5/sadiku_7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '42/CH7/EX7.5/sadiku_7_5.sce')
-rwxr-xr-x42/CH7/EX7.5/sadiku_7_5.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/42/CH7/EX7.5/sadiku_7_5.sce b/42/CH7/EX7.5/sadiku_7_5.sce
new file mode 100755
index 000000000..6c15dbcb5
--- /dev/null
+++ b/42/CH7/EX7.5/sadiku_7_5.sce
@@ -0,0 +1,11 @@
+clear;
+clc;
+i0=-10,i4=10;
+H0=.5*i0*-1;// in the positive Y direction
+H4=.5*i4*-1*-1;//in the positive Y direction
+H=H0+H4;
+disp(H, 'H at (1,1,1) =')
+H0=.5*i0*-1;//in the positive Y direction
+H4=.5*i4*-1;//in the negative Y direction
+H=H0+H4;
+disp(H,'H at (0,-3,10 =)'); \ No newline at end of file