Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

for each problem, document all steps you took to solve the problem. This can be handwritten, but must be legible for credit. If the problem

for each problem, document all steps you took to solve the problem. This can be handwritten, but must be legible for credit. If the problem states 'By hand', do not use any program/function to solve the problem, however, you may use a non-programmable calculator to help in determining the numerical results of individual steps;
submit to Gradescope your complete solution to this homework, including a printout of any graphs. Include printouts of source code (if requested in the Required Submission list of the individual problem);
on Gradescope associate/select your answer pages with the corresponding problem numbers. Failure to do so may result in no points given initially and will require a re-grade request to fix.
If the problem header contains MatlabGrader, you must submit your function solution to Matlab Grader using the Course Navigation Bar Link Matlab Grader-Homework & Recitation and any potential other parts to Gradescope;
If the problem header contains Recitation, the problem is covered in Recitation;
Each problem is worth 1 bonus point for Exam 1.
Problem 1
By hand, convert the binary number 1001.010 into a decimal number.
Problem 1 required submission:
Handwritten (or printed) all steps to obtain the answers, incl. the final answers.
Problem 2
By hand, convert the decimal number 21.625 to
a) a binary number;
b) a binary floating point number in engineering notation (keep the exponent as a decimal number).
Problem 2 required submission:
Handwritten (or printed) all steps to obtain the answers, incl. the final answers.
Problem 3/ MatlabGrader / Recitation
a) Develop a Matlab function decimal2binary that converts a decimal number x into a binary floating point number in engineering notation. The function shall take as input the decimal number x and the number of bits to be used in the mantissa N(excluding the hidden bit) and shall output the vector m containing the N mantissa bits (excluding the hidden bit), the exponent p in decimal of the binary floating point number in engineering notation, and the remainder r of the transformation. Do not print out results to screen within the function.
b) Using the function decimal2binary convert the decimal number 0.1 to a binary floating point number in engineering notation using 10,50, and 60 mantissa bits and report the remainders.
c) Why does Matlab report the remainder as 0 when 60 mantissa bits are used, even though infinitely many bits would be required to convert the decimal number 0.1 into a binary floating point number?
Problem 3 required submission:
Printout of well commented script you coded included in your Gradescope submission;
Binary floating point numbers in engineering notation and their remainders;
Handwritten (or printed) answer to c);
Problem 4
Using the function decimal2binary from problem 3, determine if a computer can tell the numbers 1.23456 and 1.2345 apart if bfloat16 numbers are used.
Problem 4 required submission:
Printout of well commented script you coded included in your Gradescope submission;
Printout of supporting evidence;
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions

Question

Define induction and what are its objectives ?

Answered: 1 week ago

Question

Discuss the techniques of job analysis.

Answered: 1 week ago

Question

How do we do subnetting in IPv6?Explain with a suitable example.

Answered: 1 week ago

Question

Explain the guideline for job description.

Answered: 1 week ago

Question

What is job description ? State the uses of job description.

Answered: 1 week ago

Question

Understand the use of different performance-rating techniques

Answered: 1 week ago