ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 4 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 12 May 2017 My Price 9.00

Functional Programming – Assignment

Question:

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)
1. Write the Scala code to calculate the mean
2. Write the Scala code to calculate the mean of square values 
3. Write the Scala code to calculate the standard deviation on these points 

Please, submit the following:
        1. The Scala code
        2. The output generated by the code
Please see attached as well.

 

Functional Programming – Assignment*Given the following list of valuesval values = List(1.0, -10.0, 3.0, 20.0, 53.0, -8.0, 25.0)1.Write the Scala code that produce the mean2.Write a function that calculate the mean of the squaresσ °2±3.Write a function that calculates the standard deviation of the points(standard deviation is defined asΣ =σ(°²−³)2±)*For this assignment you must have installed the Spark Shell

Answers

(11)
Status NEW Posted 12 May 2017 07:05 AM My Price 9.00

-----------

Not Rated(0)