Compute portfolio beta β_p = Σ wᵢ·βᵢ from the weights and betas of two assets (w₁ + w₂ = 1).
輸入兩資產權重 w₁、w₂ 與 β₁、β₂(w₁+w₂=1),求組合 β。