Value of dot product
Public  12/25/17  7xp  Probability  15.9% 
There are two random vectors $\mathbf{a} = [a_1, a_2]$ and $\mathbf{b} = [b_1, b_2]$. Let $s$ be the dot product of these two vectors, that is $s = \mathbf{a}\cdot\mathbf{b} = a_1 b_1 + a_2 b_2$.
Assume $a_1$, $a_2$, $b_1$, $b_2$ are mutually independent random variables of the uniform distribution on the interval [0, 2]. Find the probability of value $s$ less than 5 and the expected value of $s$. Give your answer rounded to 8 digits after the decimal point.
Answer format: [probability],[expected value]
(Sample input: 0.12345678,1.23456789)
Thanks to baihacker for the idea.
Assume $a_1$, $a_2$, $b_1$, $b_2$ are mutually independent random variables of the uniform distribution on the interval [0, 2]. Find the probability of value $s$ less than 5 and the expected value of $s$. Give your answer rounded to 8 digits after the decimal point.
Answer format: [probability],[expected value]
(Sample input: 0.12345678,1.23456789)
Thanks to baihacker for the idea.
New Members
 choiyd 4d:12h
 phacks 5d:7h
 MemorySlices 5d:12h
 n3chto 1w
 2997ms 1w:1d
Fresh Problems

Special Squares 4d:19h
solved by 8 
Sum of phi 1w:1d
solved by 4 
Decomposable Triangles 1w:4d
solved by 6 
A cubic form 1w:6d
solved by 4 
Automatic typewriter 2w:1d
solved by 5