If we have 2 batteries one of emf x and the other is of emf y and we connect them in series we get an effective emf of x+y.
But what if we connect them in parallel, how to calculate the emf now?
In ideal circuit theory, the parallel connection of two voltage sources results in an inconsistent equation, e.g., a 3V and 2V source connected in parallel, by KVL, gives the equation: 3 = 2.
In the real world, batteries are not ideal voltage sources; batteries can supply a limited current and the voltage across the battery does, in fact, depend on the supplied current. This is represented as a series internal resistance.
So, the circuit diagram for the two batteries in parallel must include the internal resistances which will give consistent results.
The bottom line is that one of the batteries will supply power to the other and it is possible that one or both batteries will be damaged and, possibly, violently so.
You should not connect different batteries in parallel.
If you do, the battery with the highest voltage will discharge into the other one, until they end up with equal voltages. If the second battery (the lower voltage one) is a rechargeable, then it will be charged by the first one, again until the two have the same voltage. In this case the end voltage will be intermediate between the two starting voltages.
The current flowing between the batteries during this process will be quite high: it is equal to the different between the 2 voltages divided by the sum of the internal resistances of the batteries: $$I=(V1-V2)/(R1+R2)$$
This current may damage one or both of the batteries.
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?