Write some statements to simulate spinning a coin 50 times using 0–1
vectors instead of a for loop. Hints: generate a vector of 50 random
numbers, set up 0–1 vectors to represent the heads and tails, and use
double and char to display them as a string of Hs and Ts.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment