+0  
 
+5
595
0
avatar+111 

Does this work for calculating max ram memory of a x-bit computer?

$${f}{\left(\left({\mathtt{x}}\right), \left({\mathtt{y}}\right)\right)} = {{\mathtt{2}}}^{\left({\mathtt{x}}{\mathtt{\,-\,}}\left({\mathtt{y}}{\mathtt{\,\times\,}}{\mathtt{10}}\right)\right)}$$

$${\mathtt{y}} = {\mathtt{0}}$$  for Bytes

$${\mathtt{y}} = {\mathtt{1}}$$  for Killobytes

$${\mathtt{y}} = {\mathtt{2}}$$  for Megabytes

$${\mathtt{y}} = {\mathtt{3}}$$  for Gigabytes

$${\mathtt{y}} = {\mathtt{4}}$$  for Treabyte

$${\mathtt{y}} = {\mathtt{5}}$$  for Petabyte

$${\mathtt{y}} = {\mathtt{6}}$$  for Exabyte

$${\mathtt{y}} = {\mathtt{7}}$$  for Zettabyte

$${\mathtt{y}} = {\mathtt{8}}$$  for Yottabyte

Ex:

$${f}{\left(\left({\mathtt{32}}\right), \left({\mathtt{3}}\right)\right)} = {\mathtt{4}}$$

 
 Feb 12, 2015

0 Online Users