Hi Ziv,
In your case, i assume th following calibration (note that i change 0.005 to 0.2 for simplicity in calculation)
'B(0.57, 0.48, 0.2, 0.3)'
First, you can fix \theta_1 and \theta_2 to the values that make the pdf continuous at the t_L and t_U respectively.
That said, we find out \theta_1 that satisfy 0.2 * \theta_1/0.58 = 0.5/(0.57-0.48), and \theta_2 that satisfy 0.3*\theta_2 = 0.5/(0.57-0.48)
After figuring out the values of \theta_1 and \theta_2, we can calculate the mean by simply sampling the 3 distributions with a probability of 0.2, 0.5, 0.3 and calculating the mean. Certainly this can also be calculated analytically, which is also easy enough. But i think the most important part is to find out the values of \theta_1 and \theta_2 and after this evetything becomes easy to understand. Thanks!
best,
sishuo