In the double precision implementation of the IEEE standard for binary floating
ID: 670013 • Letter: I
Question
In the double precision implementation of the IEEE standard for binary floating point numbers, what is the decimal value of an IEEE standard single precision normal number in which all 64 bits are ones? Convert the number 64.8125 to binary format? Convert the binary number 10110001.001101 to decimal format. Write a computer program to calculate e -2.5x as an approximate series summation, to an accuracy of 10-12. The value of X should be supplied to the program with the "input" command. Do not run the program. Generate a vector of random numbers a = rand( 10,1). Write a program to sort the vector in descending order. Plot the function over a range of x values sufficient to show the 1st positive root. Use the function "fzero" to find that root.Explanation / Answer
Convert in binary-
64.8125= 64 + 2-1= 0.5 + 2-2= .25 + 2-4= 0.0625
100000.110
in matlab use function
for binary to decimal-
bin2dec(10110001.001101);