Generation

generate functionMon, 27 Mar 2023

Automatizar a través de Haskell la fórmula de desviación estándar Restricciones: *Sin uso de listas condicionales o por compresión. *Sólo se permiten funciones de haskell para obtener raíces y potencias.

f x = (sum x) / (fromIntegral (length x)) s x = sqrt (sum (map (\y -> ((y - f x)**2)) x))

Want to kickstart your project?Use the new AI Studio to create your code