ex3 function

Example 3--Mixing