Square ABCD
∴AB=BC=CD=AD=4K,∠B=∠C=∠D=90
∫BE = BC/2
∴BE=2K
∴CE=BC-BE=2K
∫CF = CD/4
∴CF=K
∴DF=CD-CF=3K
∴AE? =AB? +BE? = 16K? +4K? =20K?
EF? =CE? +CF? =4K? +K? =5K?
AF? =AD? +DF? = 16K? +9K? =25K?
∴AE? +EF? =AF? =25K?
∴∠AEF=90
∴sin∠EAF=EF/AF=√(5K? )/√(25K? )=√5/5
cos∠EAF=AE/AF=√(20K? )/√(25K? )=2√5/5
The math tutoring group has answered your question, please adopt it as the best answer in time.