
title: "Buffon Needle Experiment"
output: html_document

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http:/rmarkdown.rstudio.com>.
When

title: "Untitled"
output: html_document

This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http:/rmarkdown.rstudio.com>.
When you click the *
MAT 3772 Stochastic Models: SpadeHomeworks
by Eric Lewis
CityTech CUNY  Semester: Fall 2015
Introduction to MonteCarlo Methods
1. If X and Y are drawn uniformly at random from the interval (5, 3), use 1 million computer simulations to estimate the prob
Markov Chain: Homework
Eric Lewis
December 9, 2015
Invariant Distribution
P = matrix(c(0.3,0.2,0.5,0.4,0.3,0.3,0.3,0.4,0.3),nrow=3,ncol=3,byrow=TRUE)
dimnames(P) = list(c("up","same","down"),c("up","same","down")
P
#
up same down
# up
0.3 0.2 0.5
# same 0