I prepared a sample which contains mixture of compounds and i got XRD pattern for the same but I need to calculate the percentage of composition of each compound through Rietveld refinement theoretically. Can someone suggest how to calculate the different compositions in a simple way?