summaryrefslogtreecommitdiff
path: root/3630/CH15/EX15.1/Ex15_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3630/CH15/EX15.1/Ex15_1.sce')
-rw-r--r--3630/CH15/EX15.1/Ex15_1.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3630/CH15/EX15.1/Ex15_1.sce b/3630/CH15/EX15.1/Ex15_1.sce
new file mode 100644
index 000000000..9d07ee2db
--- /dev/null
+++ b/3630/CH15/EX15.1/Ex15_1.sce
@@ -0,0 +1,7 @@
+clc;
+V1=2;
+V2=[4 0];
+Vdiff1=V2(1,1)-V1;
+Vdiff2=V2(1,2)-V2;
+disp('V',Vdiff1,"Vdiff1=");
+disp('V',Vdiff2,"Vdiff2=");