Current situation: a bullet is fired towards a block that is connected to a string which is connect to a ceiling. The bullet is embedded to the block and the object(block+bullet) swings up to a certain height.
Consider this scenario: if there is friction when the bullet is embedding into the block, energy will be converted to internal energy, then the maximum height it reached will be decreased as KE decreases. But if KE decreases, that means the momentum of the block and the bullet after collision is reduced( consider the block and the bullet together as a system, hence frictional force within will not be considered), then I will arrive to a violation of conservation of momentum?