uhoh's answer shows how to derive combined ISP from momentum and rate. Here is the practical application of that, using the list of variables that's usually available:
- $M_{p} = \text{mass of payload}$
- $M_{c0} = \text{gross mass of core}$
- $M_{c1} = \text{dry mass of core}$
- $M_{b0} = \text{gross mass of boosters}$
- $M_{b1} = \text{dry mass of boosters}$
- $F_{c} = \text{thrust of core engines}$
- $F_{b} = \text{thrust of booster engines (combined)}$
- $v_{c} = \text{exhaust velocity of core engine}$
- $v_{b} = \text{exhaust velocity of booster engines}$
When the engines are burning together, we can get the combined average exhaust velocity the same way from trust and flow rate:
$$v_{avg} = \frac{F}{\frac{dm}{dt}} = \frac{F_c + F_b}{\frac{dm_c}{dt}+\ \frac{dm_b}{dt}} = \frac{F_c + F_b}{\frac{F_c}{v_c} + \frac{F_b}{v_b}}$$
The burn will be in two parts. First the core and boosters burning together, and then the boosters will be detached and the core use its remaining propellant.
First, we find the mass flow of the boosters:
$$\frac{dm_b}{dt_b} = \frac{F_b}{v_b}$$
From that, we can find the booster burn time:
$$T_{boosters} = \frac{v_b \left(M_{b0} - M_{b1}\right)}{F_c}$$
From which we can find how much mass the core has used in the same time:
$$M_{core\ partial} = \frac{F_c}{v_c} \cdot T_{boosters}$$
$$M_{core\ partial} = \frac{v_b \left(M_{b0} - M_{b1}\right)}{v_c}$$
We now have the mass ratio and the combined average exhaust velocity for the first burn:
$$\Delta v_1 = v_{avg} \cdot \ln{\left(\frac{M_p + M_{c0} + M_{b0}}{M_p + M_{c0} - M_{core\ partial} + M_{b1}}\right)}$$
And for the second part, just the core alone, with the remaining propellant:
$$\Delta v_2 = v_{c} \cdot \ln{\left(\frac{M_p + M_{c0}- M_{core\ partial}}{M_p + M_{c1}}\right)}$$
Or combined and expanded:
$$\Delta v_{total} = \Delta v_1 + \Delta v_2$$
$$\Delta v_{total} = v_{avg} \cdot \ln{\left(\frac{M_p + M_{c0} + M_{b0}}{M_p + M_{c0} - M_{core\ partial} + M_{b1}}\right)} + v_{c} \cdot \ln{\left(\frac{M_p + M_{c0}- M_{core\ partial}}{M_p + M_{c1}}\right)}$$
$$\Delta v_{total} = \frac{F_c + F_b}{\frac{F_c}{v_c} + \frac{F_b}{v_b}} \cdot \ln{\left(\frac{M_p + M_{c0} + M_{b0}}{M_p + M_{c0} - \frac{v_b \left(M_{b0} - M_{b1}\right)}{v_c} + M_{b1}}\right)} + v_{c} \cdot \ln{\left(\frac{M_p + M_{c0}- \frac{v_b \left(M_{b0} - M_{b1}\right)}{v_c}}{M_p + M_{c1}}\right)}$$