Calculating listing angle?

So I have a model plane and I want to use sin or cos or both to create a listing effect this is very simple and I know how to do it. But, I want to be able to say something like max list angle both left and right is math.rad(45) and min listing angle on either side math.rad(5) mainly the max list angle. Does anyone know how to do this?