a2_09s - DALHOUSIE UNIVERSITY(Department of Engineering...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
DALHOUSIE UNIVERSITY (Department of Engineering Mathematics) ENGM-3052 Numerical Methods and Linear Algebra ASSIGNMENT #2 DUE: Sept 29, 2009 1. (a) An “uint16” consist of unsigned positive numbers that are stored with 16 bits registers. What is the range of numbers that can be stored with this data type? (b) X represents a 1000 by 1000 matrix with the elements stored as real 64 bit floating (matlab default). (i) How many bytes of memory does it take to store matrix X? (ii) The command X = int16(X) converts all the elements of matrix X to signed 16 bits. What would the size of matrix X be after the int16 function is executed? (iii) For what element values would matrix X in (i) be the same as matrix X in (ii)? (c) Convert the following binary “float” data type to a real number using the IEEE standard. 1 10000000011 011110000000 0000000000 0000000000 0000000000 0000000000 2. Consider the evaluation of ) sin( 1 ) ( δ + - = + x x f and ) sin( 1 ) ( cos ) ( 2 + + + = + x x
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 4

a2_09s - DALHOUSIE UNIVERSITY(Department of Engineering...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online