The mid point of the segment joining (2a,4) and (−2,2b) is (1,2a+1), then value of b is
Mid point of two points (x1,y1) and (x2,y2) is calculated by the formula (x1+x22,y1+y22)
Given, midpoint of (2a,4) and (−2,2b)=(1,2a+1)
=>(2a−22,4+2b2)=(1,2a+1)
=>2a−22=1;4+2b2=2a+1
=>2a−2=2;4+2b=4a+2
=>a=2
So, 4+2b=8+2
=>4+2b=10
=>2b=6
b=3