Verify this logic:
For every packet sent the window size increases by 2. So when
wind=2...... RTT =1
wind=4..... RTT= 1+2
wind=8...... RTT=1+2+3
.....
wind=2048..... RTT=1+2+3+4+....11=66
Now after this for every ack 2 packets so to send remaining 1951/2
when window size reaches 2048 66 round trips. Now for remaining packets 3999-2048=1951. For every ack one packet will be sent so required RTT = 1951/2=975.5. so total would be 1041
is it right approach?