# Question: hey guys i really need help with this standard deviation...

###### Question details

Hey guys I really need help with this standard deviation function for my project. Here is the RME

//REQUIRES: v contains at least 2 elements

//EFFECTS: returns the corrected sample standard deviation of the
numbers 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 the function stub looks like

double stdev(vector<double> v)

#include <cassert>

#include <vector>

#include <iostream>

#include <cmath>

#include <string>

using namespace std;

Thanks!