Go Back   Computer Forums > General Computing > Hardware
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-02-2009, 12:30 PM   #1
Daemon Poster
 
Join Date: Feb 2008
Posts: 758
Default Need math help

I have a file that is 2,618,793,984 bytes in size. I need to break it into 5 to 7 files broken into MB. How many MB do I need to make each file? I need it to be broken into an even integer. No .#### left over. Can the math guru's help me out plz. If needed you can break it into bytes instead.

thx
__________________

bruinator is offline   Reply With Quote
Old 01-02-2009, 09:49 PM   #2
Fully Optimized
 
Join Date: Aug 2008
Posts: 1,744
Default Re: Need math help

You could break it up into 6 files and then you'll have:
436465665 bytes in each file.

All I did is:
2,618,793,984 divided by 5 = 436465665

If you convert it to MB though it has a decimal point.
__________________

StratosP is offline   Reply With Quote
Old 01-03-2009, 01:36 AM   #3
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Need math help

1024 bytes in 1 Kilobyte.
1024 Kbytes in 1 Megabyte

2,618,793,984 / 1024 = 2,557,416

2,557,416 / 1024 = 2497.47

Now divide that number by 5, 6, or 7. Depending on how many files you want to break it up into.
JogaBonito1502 is offline   Reply With Quote
Old 01-03-2009, 01:40 AM   #4
Fully Optimized
 
_-..zKiLLA..-_'s Avatar
 
Join Date: Nov 2007
Posts: 3,952
Send a message via AIM to _-..zKiLLA..-_
Default Re: Need math help

go joga go joga
__________________
My beast lappy: Acer netbook, 1.6ghz atom dual core, 2gb ddr3
My PSN: Kalikid_420
_-..zKiLLA..-_ is offline   Reply With Quote
Old 01-03-2009, 01:41 AM   #5
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Need math help

Dude...math is with me lol.
JogaBonito1502 is offline   Reply With Quote
Old 01-03-2009, 02:16 AM   #6
Fully Optimized
 
Join Date: Aug 2008
Posts: 1,744
Default Re: Need math help

Quote:
Originally Posted by JogaBonito1502 View Post
Dude...math is with me lol.
Ha, I failed my Maths exam because I didn't study
StratosP is offline   Reply With Quote
Old 01-03-2009, 02:20 AM   #7
BSOD
 
Join Date: Dec 2008
Posts: 214
Default Re: Need math help

Quote:
Originally Posted by JogaBonito1502 View Post
1024 bytes in 1 Megabyte.

2,618,793,984 / 1024 = 2,557,416

Now divide that number by 5, 6, or 7. Depending on how many files you want to break it up into.
epic fail

1024 bytes in a kilobyte, 1024 KB in a MB, 1024 MB in a GB
CrazyTiger is offline   Reply With Quote
Old 01-03-2009, 02:21 AM   #8
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Need math help

Oops...I was short lol. I knew something was wrong.

edit: Let me fix.
JogaBonito1502 is offline   Reply With Quote
Old 01-03-2009, 02:55 AM   #9
BSOD
 
Join Date: Dec 2008
Posts: 214
Default Re: Need math help

the whole bit\byte thing is much like the rest of the imperial system (the system of measures the US uses). There not very practical.

1024 was used for a reason though, tough to explain so ill just write this

2^10 = 1024

there are only two types of data, 1s and 0s, so the system does make some sense
CrazyTiger is offline   Reply With Quote
Old 01-03-2009, 03:01 AM   #10
Guru
 
JogaBonito1502's Avatar
 
Join Date: Jan 2008
Location: U.S.
Posts: 7,841
Default Re: Need math help

Quote:
Originally Posted by CrazyTiger View Post
the whole bit\byte thing is much like the rest of the imperial system (the system of measures the US uses). There not very practical.

1024 was used for a reason though, tough to explain so ill just write this

2^10 = 1024

there are only two types of data, 1s and 0s, so the system does make some sense
Binary. But binary is grouped every 8 numbers. So I'm not so sure where you're getting 2^10 from.
__________________

JogaBonito1502 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0