summaryrefslogtreecommitdiff
path: root/662/CH4/EX4.26
diff options
context:
space:
mode:
Diffstat (limited to '662/CH4/EX4.26')
-rwxr-xr-x662/CH4/EX4.26/ex4_26.JPGbin0 -> 15864 bytes
-rwxr-xr-x662/CH4/EX4.26/ex4_26.sce7
2 files changed, 7 insertions, 0 deletions
diff --git a/662/CH4/EX4.26/ex4_26.JPG b/662/CH4/EX4.26/ex4_26.JPG
new file mode 100755
index 000000000..7f6b0491d
--- /dev/null
+++ b/662/CH4/EX4.26/ex4_26.JPG
Binary files differ
diff --git a/662/CH4/EX4.26/ex4_26.sce b/662/CH4/EX4.26/ex4_26.sce
new file mode 100755
index 000000000..5d23331c9
--- /dev/null
+++ b/662/CH4/EX4.26/ex4_26.sce
@@ -0,0 +1,7 @@
+ //Example 4.26
+//use of uppercase conversion characters in printf function
+
+a = hex2dec('80ec');
+b = 0.3e-12;
+printf("%4x %10.2e\n\n", a, b);
+printf("%4X %10.2E", a, b); \ No newline at end of file