diff options
Diffstat (limited to '3809/CH26/EX26.1')
-rw-r--r-- | 3809/CH26/EX26.1/EX26_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3809/CH26/EX26.1/EX26_1.sce b/3809/CH26/EX26.1/EX26_1.sce new file mode 100644 index 000000000..93f321c2c --- /dev/null +++ b/3809/CH26/EX26.1/EX26_1.sce @@ -0,0 +1,14 @@ +//Chapter 26, Example 26.1 + +clc +//Initialisation +n=24 //no of bits + + +//Calculation +ad=2**n //no of locations + + +//Results +printf("No of Locations = %d ",ad) + |