writing angular resolution computation