Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Q1) Q2) What is the term for programming directly using the instruction set of a

ID: 2995993 • Letter: Q

Question

Q1)

Q2)

What   is   the   term   for   programming   directly   using   the   instruction   set   of   a   specific  
chip   architecture?

Q3)

You   have   a   matrix   with 42323 times 42323 entries double   precision   floating   point   numbers   (64   bit).   How  many   Mb   and   how   many   Gb   do   you   need   to   store   that   matrix?   (write   the   entire  
calculation   down)

A greatly simplified mathematical model of a car's velocity, ignoring drag, is the following differential equation: mv(t) = F(t) where m is mass, v(t) is velocity at time t, and the force from the engine is F(t). Suppose a cruise control system is implemented with F(t) = k(v* - v(t)), where v* is some target velocity. Compute what the response of the car is to some initial condition v(0) = v*. What would be a good choice of k?

Explanation / Answer

2) machine code

3) total entries = 42323 * 42323

total size = total entries * 64 bits ( since each number occupies 64 bits)

size in bytes = total size/8 bytes ( 8 bits = 1 byte )

= total size/(8*1024*1024) Mega Byte

= total size/(8*1024*1024*1024) GigaByte

= 13.345750 GigaByte