Hey guys I really need help with this standard deviationfunction for my project. Here is the RME
//REQUIRES: v contains at least 2 elements
//EFFECTS: returns the corrected sample standard deviation of thenumbers in v
//http://en.wikipedia.org/wiki/Standard_deviation#Corrected_sample_standard_deviation
double stdev(std::vector<double> v);
And here are the libraries I have access to and what thefunction stub looks like
double stdev(vector<double> v)
#include <cassert>
#include <vector>
#include <iostream>
#include <cmath>
#include <string>
using namespace std;
Thanks!
Expert Answer
An answer will be send to you shortly. . . . .