Sorry, this entry is only available in 日本語.
Prohibited Activities and Penalties as Specified in the June 2019 Tobacco Rules and Ordinances in Adachi Ward, Tokyo
We have summarized the rules regarding tobacco in Adachi Ward, Tokyo. In Adachi Ward, the “Adachi Ward Smoking Prevention and Town Cleanup Ordinance” was enacted on , which includes regulations on tobacco, including penalties.
Continue reading Prohibited Activities and Penalties as Specified in the June 2019 Tobacco Rules and Ordinances in Adachi Ward, TokyoJava: Try, Catch, Finally Statement
I wrote the summary about try, catch and finally statement in Java.
Java: For Loop and For-Each Loop
I summarized for loop and for-each loop in Java.
Continue reading Java: For Loop and For-Each LoopSimulation of the Law of the Large Numbers
Simulation is important to develop our intuitive understanding. So when the difficult content appears, try considering a sample. If there’s no handy sample, creating a sample with R is very efficient, simulation in other words.
When we want to understand the law of the large number, we can also generate it virtually. Here, I will show you the simulation. Consider the function which takes (x in [0, 3)) and the value is in ([0, 1)), such as ( g(x) = frac{1}{4} x(3-x)(x-0.75)^2). ((g(x)) can’t be a density function for the random variable, because (int _0 ^1 g(x) dx neq 1). It is the probability to admit (x) value generated by randomly. It is for creating trial data.)
Continue reading Simulation of the Law of the Large Numbers