Real-Life Math
A client who runs a national art gallery wants to put images of
all of their exhibits and paintings on the Internet. She says the current
programs on the market are too slow and difficult to use.
Could you
customize a new program for her that would allow her to have large and small
images on the site? She wants it to be easy to put them on the site and have
users access them.
You're more than happy to design a new program
to suit the art gallery's needs. You will make the program as user-friendly
as possible. You want to make it easy to put the images on the computer. And
you want to make it faster for those pictures to appear on the screen.
After
discussing all the art gallery's needs, you begin to design a new program.
As you type in program codes, you aren't using many math calculations.
But you do need to keep file sizes in mind.
How big can the image files
be in order to keep the speed of the program intact?
"Although software
engineers may not use math on a daily basis, a very sound grounding math is
required," says Ken Kyler. He is a software engineer.
As you conduct
a trial run of the program, you plug in an image file that is 171,000 bytes.
You want to keep a record of file sizes, but this number is rather large and
cumbersome. How big is this file in kilobytes?
Next, you put in a larger
image that is 2,034 kilobytes. How many megabytes is this file? Remember:
1,024
bytes = 1 kilobyte
1,024 kilobytes = 1 megabyte