How to prove a program is right

I have a program about the partial wave analysis, but I cant’t prove whether it’s right, who can help me? Thank you!

Hi,

Bad news: if you prove it correct it will be incomplete, says Kurt Gödel.

Kidding aside - I think this is a philosophical question. Be happy if it gives the right results for your application domain.

Cheers, Axel.

when i add the number events of denominator, the pull distribution is good.Thanks