This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Question 9 | |
# | |
# Suppose X1 and X2 are IID from the discrete uniform distribution on | |
# {1, 2, ... , 5}. Derive the sampling distribution of (X1 + X2)/2. Verify | |
# your result by means of simulation. | |
from random import randint | |
# number of trials, more the trials accuracy increases | |
TRIALS = 10000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// VERSION: 1.1.0 | |
/// Please note that the following APIs (function name, args and return values) may be changed to | |
/// incorporate proper logic in ES whitepaper. Please recheck that your contracts use the latest version. | |
/// This gist is intended for reference purpose of the Era Swap Team and buidlers building dApps that | |
/// will be a part Era Swap Ecosystem. | |
pragma solidity 0.7.0; | |
/// KYC DApp |
NewerOlder