1. Write the binary representation of -18.15625 for a 32-bit computer. 2. What is the decimal representation of a binary number written in a 32-bit system as Mantissa = 111111111111111111000 (24 bits) Exponent = 11111011 (8 bits)
Added by Sabrina T.
Close
Step 1
To convert 18.15625 to binary, we need to convert the integer part and the fractional part separately. - Integer part: 18 Divide 18 by 2 repeatedly until the quotient becomes 0: 18 ÷ 2 = 9 remainder 0 9 ÷ 2 = 4 remainder 1 4 ÷ 2 = 2 remainder 0 2 ÷ 2 = 1 Show more…
Show all steps
Your feedback will help us improve your experience
Rupsa Sarkar and 100 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Use vector and scalar multiplication to evaluate the following linear combination: 2 0 3 + 1.52 2 0 4 1 13 4 10 Do not write out elements of the vectors explicitly. You can first create 3 column vectors, then calculate the linear combination by multiplying these vectors by the appropriate scalars. 2. Rewrite the above linear combination as vector-matrix multiplication. You may reuse the vectors created in Problem 1.
Sri K.
$$ \text { Problems 3-8 require the Symbolic Math Toolbox. The others do not. } $$ Compute to 15 digits the following quantities. (a) $\cosh (0.1)$. (b) $\ln (2)$. (Hint: the natural logarithm in MATLAB is called $l o g$, not $\ln$.) (c) $\arctan (1 / 2)$. (Hint: the inverse tangent function in MATLAB is called atan, not arctan.)
How to write a code in matlab to be able to find the function represented in this graph
Frank D.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD