summaryrefslogtreecommitdiff
path: root/42/CH3/EX3.1/sadiku_3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '42/CH3/EX3.1/sadiku_3_1.sce')
-rwxr-xr-x42/CH3/EX3.1/sadiku_3_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/42/CH3/EX3.1/sadiku_3_1.sce b/42/CH3/EX3.1/sadiku_3_1.sce
new file mode 100755
index 000000000..741cb0b8c
--- /dev/null
+++ b/42/CH3/EX3.1/sadiku_3_1.sce
@@ -0,0 +1,7 @@
+clear;
+clc;
+B1=[0,5,0],B2=[5,%pi/2,0],C1=[0 5 10],C2=[5 %pi/2 0],D1=[5 0 10],D2=[5,0,10],p=5;
+BC=integrate('1','Z',0,10);
+disp(BC); //as dl will be along dz
+CD=integrate('5','Q',0,%pi/2);
+disp(CD); //dl will be along d(phi) \ No newline at end of file