Experimental and optimized studies of some pyrimidine derivatives