Functional Programming Assignment the Scala code to calculate the mean

computer science

Description

Functional Programming Assignment

Given the following list of integer values:
val values = List(1.0, -10.0, 3.0, 20.0, 53.0, -8.0, 25.0)
Write the Scala code to calculate the mean
Write the Scala code to calculate the mean of square values 
Write the Scala code to calculate the standard deviation on these points 

Please, submit the following:
       The Scala code
       The output generated by the code


Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.