summaryrefslogtreecommitdiff
path: root/2459/CH25/EX25.6/Ex25_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH25/EX25.6/Ex25_6.sce')
-rw-r--r--2459/CH25/EX25.6/Ex25_6.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2459/CH25/EX25.6/Ex25_6.sce b/2459/CH25/EX25.6/Ex25_6.sce
new file mode 100644
index 000000000..03e969187
--- /dev/null
+++ b/2459/CH25/EX25.6/Ex25_6.sce
@@ -0,0 +1,10 @@
+//chapter25
+//example25.6
+//page552
+
+S=0.01 //mm per volt
+V=400 // V
+
+spot_shift=S*V
+
+printf("spot shift = %.3f mm \n",spot_shift)