Statistics Probability Densities

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
12 replies · 11K views
whitehorsey
Messages
188
Reaction score
0
1. It is known that the probability of being able to log on to a computer from a remote terminal at any given time is .7. Let X denote the number of attempts that must be made to gain access to the computer.
a) Find the first four terms of the density table.
b) Find a closed form expression for f(x).
c) Find P[X = 6].


3. I got this:
a) x P[X = x]
-------------
1 0.7
2 0.49
3 0.343
4 0.2401
b) f(x) = (0.7)^x where x = 1, 2, 3, 4, ...
0 elsewhere
c) f(x) = (0.7)^6
= 0.117649

I'm not sure if I did it correctly.
 
on Phys.org
LCKurtz said:
Remember that for the first successful attempt to be the second try, you must fail on the first try. That changes things..

Hmmm why do you have to fail on the first try? Couldn't you be successful on the first two tries?
 
haruspex said:
Because if you succeed the first time, you don't need to try again. You're only logging on once.

Oh so my table instead should be
1 0.7
2 0.21 (.3)*(0.7)
3 0.063
4 0.0189

I think?
 
LCKurtz said:
That's better.

Thank You! Could you also help me on this problem?

The basic storage unit of a digital computer is a "bit". A bit is a storage position that can be designated as either on (1) or off (0) at any given time. In converting picture images to a form that can be transmitted electronically, a picture element, called a pixel is used. Each pixel is quantized into gray levels and coded using a binary code. For example, a pixel with four gray levels can be coded using two bits by designating the gray levels by 00, 01, 10, and 11.
(a) How many gray levels can be quantized using a four bit code?
(b) How many bits are necessary to code a pixel quantized to 32 gray levels?

I'm not sure how to start it. I believe it has something to do with permutations and combinations.
 
whitehorsey said:
Thank You! Could you also help me on this problem?

The basic storage unit of a digital computer is a "bit". A bit is a storage position that can be designated as either on (1) or off (0) at any given time. In converting picture images to a form that can be transmitted electronically, a picture element, called a pixel is used. Each pixel is quantized into gray levels and coded using a binary code. For example, a pixel with four gray levels can be coded using two bits by designating the gray levels by 00, 01, 10, and 11.
(a) How many gray levels can be quantized using a four bit code?
(b) How many bits are necessary to code a pixel quantized to 32 gray levels?

I'm not sure how to start it. I believe it has something to do with permutations and combinations.

Not really. It has more to do with powers of two and how many binary digits you need to encode them. Sure you aren't overthinking this? You can encode 4 gray levels with 2 bits because you have two choices 0 and 1 for each bit. Since you have 2 bits you have 2*2 choices.
 
Dick said:
Not really. It has more to do with powers of two and how many binary digits you need to encode them. Sure you aren't overthinking this? You can encode 4 gray levels with 2 bits because you have two choices 0 and 1 for each bit. Since you have 2 bits you have 2*2 choices.

Oh! So for
a) Since I have 2 choices and 4 bits, I would have 2 * 4 = 8 gray levels.
b) 32/2 = 16 bits

Is this correct?
 
whitehorsey said:
Oh! So for
a) Since I have 2 choices and 4 bits, I would have 2 * 4 = 8 gray levels.
b) 32/2 = 16 bits

Is this correct?

Nope. If you had 3 bits you would have two choices for EACH bit and three bits. That's 2*2*2=8 total choices. With four bits you should have more. Think again.
 
Dick said:
Nope. If you had 3 bits you would have two choices for each bit and three bits. That's 2*2*2=8 total choices. With four bits you should have more. Think again.

Ah! So this is what I got,
a) 2 ^ 4 = 16
b) 2 ^ x = 32
x = 5 bits
 
Dick said:
Yes, that's it.

Thank You!