473,387 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Network Calculations

34
Hi,

I need help with the following calculations i am having trouble with i dont want someone to do them just so me how to work them out they are as follows

• In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
• In a given system, IP packets are used to convey CD quality music samples generated by various sources. The sampling rate at each source is 44 KHz (44000 samples are made per second) and each sample is encoded using 16 binary bits. Assuming the bandwidth to be 100 Mbps, how many sources can be accommodated?

• Calculate the delay associated with the transmission of a packet (15 Kbytes long) from source to destination, with a physical distance
Mar 29 '07 #1
26 3545
alrite dude! hows she going? this is my first reply, losing my virginity, first for everything :P. in my humble opinion... 1 microsecond is one millionth of a second(10−6). if there is 13mbps or 13631488 bits per second, or 13.631488 bits per microsecond... 1703.936 bits transferred in 125 microseconds... or one source.

yeah?! lol... been a while!

is this a masters, or phd question! now way this is undergrad!
Mar 29 '07 #2
sorry man one more thing 1 us(microsecond) is the cycle time of 1MHz.
Mar 29 '07 #3
Banfa
9,065 Expert Mod 8TB
1 microsecond is one millionth of a second(10−6). if there is 13mbps or 13631488 bits per second, or 13.631488 bits per microsecond... 1703.936 bits transferred in 125 microseconds... or one source.
Unfortunately all of this is correct except the last (highlighted step) which is wrong.
Mar 29 '07 #4
Banfa
9,065 Expert Mod 8TB
• In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
• In a given system, IP packets are used to convey CD quality music samples generated by various sources. The sampling rate at each source is 44 KHz (44000 samples are made per second) and each sample is encoded using 16 binary bits. Assuming the bandwidth to be 100 Mbps, how many sources can be accommodated?
The method I would use for this is calculate the bandwidth of the source in bps (or kbps or Mbps). Then having done that you can get the number of sources that can be accommodated by dividing the link bandwidth by the bandwidth per source.
• Calculate the delay associated with the transmission of a packet (15 Kbytes long) from source to destination, with a physical distance
Physical distance is not really relevant to electrical links (OK it is a bit but it is not normally thought of in those terms) it is normal to quantify the speed of link is bps which is not directly related to distanced travelled.
Mar 29 '07 #5
thats why you're the admin and im the newbie :P
Mar 29 '07 #6
thinboy
34
Can someone please do the calculations 4 me as they are
Thanks
Mar 29 '07 #7
Cyberdyne
627 Expert 512MB
Is this a homework question?

Can someone please do the calculations 4 me as they are
Thanks
Mar 30 '07 #8
thinboy
34
Hi,

Is not homework i need them for work

Thanks
Mar 31 '07 #9
thinboy
34
Hi,

Any chance someone could show me how to work each calculation out slowly in steps

Thanks
Apr 1 '07 #10
Banfa
9,065 Expert Mod 8TB
It's really not hard, all you have to do is identify the amount of data that is passing in a given amount of time. The convert it to bits per second by multiplying by relevant factors.

Taking the first example

In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
You are told that a source generates an 8 bit sample every 125 microseconds. You need to convert that to bits per second before you compare it with the available bandwidth.

So what factor do you need to use to convert 125 micro seconds to 1 second?

If you times your given bit rate (8 bits per 125 microseconds) by the same factor you will convert it to bits per second.

That is always how you do it, identify how much data you are getting how often, then multiply it by a factor to convert it to bits per second.
Apr 1 '07 #11
thinboy
34
is there any chance someone could do them for me as i really need help
Apr 1 '07 #12
thinboy
34
Hi,

Is there any chance someone could please do these for me as i really need help with them

• In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
• In a given system, IP packets are used to convey CD quality music samples generated by various sources. The sampling rate at each source is 44 KHz (44000 samples are made per second) and each sample is encoded using 16 binary bits. Assuming the bandwidth to be 100 Mbps, how many sources can be accommodated?

Calculate the delay associated with the transmission of a packet (15 Kbytes long) from source to destination, with a physical distance between them of 106 m. The transmission rate is 10 Mbits/s. Assume the propagation speed of the signal in the transmission medium to be 2*10 8 m/s


Thanks

So Much
Apr 18 '07 #13
thinboy
34
Hi,

Is there any chance someone could please do these for me as i really need help with them

• In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
• In a given system, IP packets are used to convey CD quality music samples generated by various sources. The sampling rate at each source is 44 KHz (44000 samples are made per second) and each sample is encoded using 16 binary bits. Assuming the bandwidth to be 100 Mbps, how many sources can be accommodated?

Calculate the delay associated with the transmission of a packet (15 Kbytes long) from source to destination, with a physical distance between them of 106 m. The transmission rate is 10 Mbits/s. Assume the propagation speed of the signal in the transmission medium to be 2*10 8 m/s


Thanks

So Much
Apr 18 '07 #14
Banfa
9,065 Expert Mod 8TB
Please do not double post your questions.

Please do read this.

Please do attempt your problems yourself first and then post questions about the parts you do not understand.

Banfa
Administrator
Apr 18 '07 #15
thinboy
34
Hi, i cannot attempt the questions because i need to know how to work each one out

Thanks
Apr 18 '07 #16
Banfa
9,065 Expert Mod 8TB
Hi, i cannot attempt the questions because i need to know how to work each one out
They are all basically the same. You use the data suuplied to get a bit rate in whatever units are provided, for instance bits per micro second.

You then multiply or divide that value my the factors required to convert it to the unit you require.

I have explained this already in this thread and someone else has in fact done most of the work for you.
Apr 18 '07 #17
thinboy
34
hi, what is a sources thn, could someone do one of the questions 4 me

Thanks
Apr 19 '07 #18
MMcCarthy
14,534 Expert Mod 8TB
We are not here to do your work for you. We are a resource that's more than willing to help you do the work for yourself. Attempt one the the calculations yourself first and then post the results of your attempt. The experts will be more than happy to correct any errors you have made.

However, as I previously said no one is going to do it for you. You have already been given enough information to attempt the problem yourself. If you are not willing to do so then we can't help you.

ADMIN
Apr 19 '07 #19
thinboy
34
Hi i have had a go at what i think you do ive done this so far

8*125*13 = 13000 bits
13000 bits / (13*1000) = 100000
Apr 19 '07 #20
thinboy
34
Hi i need help with the last one

Thanks
Apr 19 '07 #21
Banfa
9,065 Expert Mod 8TB
Hi i have had a go at what i think you do ive done this so far

8*125*13 = 13000 bits
13000 bits / (13*1000) = 100000
• In a given system, IP packets are used to convey speech samples generated by various sources. For each source a sample is generated every 125 microseconds, and the sample is encoded using 8 binary bits. For a bit rate of 13 Mbps, how many sources can be accommodated?
OK looks like you need to learn how to compare and adjust units, the values you are given are

8 bit sample
produced every 125 microseconds
with a maximum stream bandwidth of 13Mbps

The units on 2 sides of any equation are always the same (assuming the equation is correct) so when you do

8*125*13 = 13000 bits

the result is not bits because the equation is

8 bits * 125 microseconds * 13Mbps = 13000 bits microseconds Mbps

since micro is 10e-6 and M(mega from the Mbps) is 10e6 10e-6 * 10e6 = 1 so these cancel, you also have seconds and per second (ps from the Mbps) these also cancel leaving bits and bits (from the Mbps) or bits squared so

8*125*13 = 13000 bits squared

Did you want a result with a unit of bits squared?

Read this it will help explain how units and added, subtracted multiplied and divide, particularly the section at the bottom labeled "Calculations with Units".

You actually want the number of streams that can be accomodated, this is in fact a unitless number so you need to have canceled all the units out of the numbers you have been given by combining them in the correct manor.


Alternitively another way of performing the calculation is to divide the bit rate of the transport medium (give to you) by the bit rate of the media stream. The bit rate of the media stream is easy to calculate by dividing the number of bits that pass iby the time it takes them to pass.
Apr 19 '07 #22
RedSon
5,000 Expert 4TB
This thread is great, I have to subscribe!
Apr 19 '07 #23
Banfa
9,065 Expert Mod 8TB
13000 bits / (13*1000) = 100000
And just in case you are wondering having corrected the maths to

13000 / (13*1000) = 1

the 13000 is in bits squared and the 13 in Mbps so this is actually

1 bits squared / Mbps k

The little k is for kilo and siginfies that for some reason an extra 1000 was included, this is equivilent to

1 micro bit second

I have no idea what it represents.
Apr 19 '07 #24
RedSon
5,000 Expert 4TB
I think its also important to note the difference between KB and KiB or anything with a little i in the middle. Since you are talking about digital systems all of your measurements should be done in *iB since it is base 2. The distinction between KB and KiB might not matter for this particular question but be aware that it is out there, and it has an important distinction.

For more info: http://en.wikipedia.org/wiki/Kibibyte
Apr 19 '07 #25
thinboy
34
Hi i have done this for the first one

1 source = 125 microseconds 1 sec = 1000000 microseconds/125microseconds = 8000 bits, 13Mbps*8000 bits/8 binary bits = 13000 Sources

How do you do the third one?

Thanks
Apr 19 '07 #26
Banfa
9,065 Expert Mod 8TB
1 source = 125 microseconds 1 sec = 1000000 microseconds/125microseconds = 8000 bits,
13Mbps*8000 bits/8 binary bits = 13000 Sources
Yes but this is not the right answer. The first line is OK except that you have labelled the final value bits. How can the units be bits? Bits do not feature in either of the 2 values used in the calculation, they have units of microseconds per second and microseconds respectively. What is the unit of the value 8000 calculated? or put another way what does it represent?

The second line of this calculation is just wrong, again the final unit of the calculated value is wrong by your own labelling it would be bps. bps is clearly the wrong unit for number of sources. But you have the unit of the 8000 wrong anyway.

I strongly suggest you concentrate on working out the bit rate of the data stream first and leave attempting to work out the number of streams the transport machanism can carry till later (i.e. leave the 13 out of the equation for now).

How do you do the third one?
The third question does not included enough information to be able to calculate anything.
Apr 19 '07 #27

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: lduperval | last post by:
Hi, I`m trying to do date calculations in three types of time zones: local, GMT and specified. The issue I am facing is that I need to be able to specify a date in the proper time zone, and I`m...
3
by: brian kaufmann | last post by:
Hi, I had sent this earlier, and would appreciate any suggestions on this. I need to make calculations for unemployment rate for three different data sources (A,B,C) for many countries and age...
3
by: John M | last post by:
Hi, I've been coming up against a failure of a report to display the result of a simple calculation. I have realised that this calculation cannot take place unless the field I am working on is...
0
by: SJM | last post by:
There is a database which has combo boxes to allow users to select values from pre-set lists of common specifications. The form allows users to enter values that are not in the dropdown lists....
5
by: guy | last post by:
In the past I've used sockets in C++ to allow apps to communicate with each other over a local network. Is there anything better/more advanced in .NET or should I continue to use sockets and the...
1
by: john | last post by:
I want to check an IP address against a given network/netmask, but I am not sure how to do this. For example: ip=192.168.1.5 nw/nm=192.168.1.0/24 = match ip=192.168.1.5 nw/nm=192.168.2.0/24 =...
1
by: Grubsy4u | last post by:
Grubsy4u Newbie 7 Posts October 5th, 2007 11:31 AM #1 Report calculations --------------------------------------------------------------------------------
0
by: blaine | last post by:
Hey everyone, I was hoping to see some people out on the python list that are familiar with MDP (Modular Toolkit for Data Processing - http://mdp-toolkit.sourceforge.net/)? I am wanting to...
9
Catalyst159
by: Catalyst159 | last post by:
I have a form which is used to calculate residential Floor Area Ratio (FAR). The form is structured into seven parts as follows: Part A: Maximum FAR and Floor Area: Part B: Gross Floor Area of...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.