summaryrefslogtreecommitdiff
path: root/1076/CH4/EX4.6
diff options
context:
space:
mode:
Diffstat (limited to '1076/CH4/EX4.6')
-rwxr-xr-x1076/CH4/EX4.6/4_6.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1076/CH4/EX4.6/4_6.sce b/1076/CH4/EX4.6/4_6.sce
new file mode 100755
index 000000000..fa6446781
--- /dev/null
+++ b/1076/CH4/EX4.6/4_6.sce
@@ -0,0 +1,8 @@
+clear;
+clc;
+k=.1;
+n=4;
+for i=1:4
+ z(i)=2*cosh((i-.5)*sqrt(k))*sinh(.5*sqrt(k))/sinh(n*sqrt(k));
+end
+mprintf("v1= %.3fV, v2= %.3fV, v3= %.3fV, v4= %.3fV", z(1), z(2), z(3), z(4))