whats the priority of ^ symbol?

Shashank Jain
IIIrd year
Computer Engineering
Delhi College of Engineering



On Thu, Aug 4, 2011 at 1:52 PM, Arun Vishwanathan <[email protected]>wrote:

> there are 12 black and 12 white socks....
> p(bb)+p(ww) is what we want...
>
> p(bb)=12/24*11/23
> p(ww)=12/24*11/23
>
> so it is just 2*12/24*11/23=11/23
>
> On Wed, Aug 3, 2011 at 9:08 PM, Prakash D <[email protected]> wrote:
>
>> no.. it's really easy to find it out
>>
>> there are 12 black and 12 white pieces.
>>
>> let black =1  and white =0
>>
>> the possible results are 11, 00, 10, 01
>>
>>
>> number of ways of 11 solutions=  12 * 11 =  132
>> number of ways of 00 solutions = 12 * 11 = 132
>> number of ways of 10 solutions = 12 * 12 = 144
>> number of ways of 01 solutions = 12 * 12 = 144
>>
>>
>> we need the prob of 10 + prob 01 ==>  (144+144)/(132+ 132 + 144 + 144)
>>
>> =288/552 =  36/69 = 12/23
>>
>> I think 11/23 is wrong
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to