Compute portfolio beta β_p = Σ wᵢ·βᵢ from the weights and betas of two assets (w₁ + w₂ = 1).
输入两资产权重 w₁、w₂ 与 β₁、β₂(w₁+w₂=1),求组合 β。