DRVCalculator Calcutors for Discrete Random Variables. To use, place your own values in the main loop, where the array pxc is the probabilities, and c the values to find the EV and VAR.