diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1241/CH2/EX2.25 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1241/CH2/EX2.25')
-rwxr-xr-x | 1241/CH2/EX2.25/exa2_25.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1241/CH2/EX2.25/exa2_25.sce b/1241/CH2/EX2.25/exa2_25.sce new file mode 100755 index 000000000..198d7af43 --- /dev/null +++ b/1241/CH2/EX2.25/exa2_25.sce @@ -0,0 +1,16 @@ +//Example 6-25//
+//Solve multiple output equation using mapping//
+clc
+//clears the window//
+clear
+//clears all existing variables//
+x=hex2dec('1A3')
+y=hex2dec('89')
+//Decimal conversion of the hexadecimal numbers//
+z=x*y
+//multiplication//
+a=dec2hex(z)
+//decimal to hexadecimal conversion//
+disp(' multiplication of the 2 hexadecimal numbers is ')
+disp(a)
+//answer in hexadecimal form//
|