Theoretical and experimental studies on the influence of Cr incorporation on the structural, optical, and magnetic properties of Bi0.5K0.5TiO3 materials