## Posts

### Viewing Java Applets

When you use an IDE there are many things you can take for granted. A section of an intro level computer science course at my university uses JGrasp to build Java Applets.

Following around using a normal text editor, I found that I couldn’t just compile and run the code like I have with my java programs in the past. To be able to help around and assist in the course, I need to be able to build and run these applications. The rest of this article describes the process I underwent to be able to use my existing setup to write and build java applets. Of course you can always install JGrasp and have that all built in, but it’s always nice to not have to change your workflow.

### Monte Carlo Pi

Using Monte Carlo methods, we can create a simulation that approximates pi. In this post, we will go over the math behind the approximation and the code.

### Simplifying Expressions with Octave

Octave is a high level programming language intended for numerical computations. One of the cool features of this is that with symbolic expressions, you can then simplify mathematical expressions.

### Uniformity of Math.random()

There are many cases where websites use random number generators to influence some sort of page behavior. One test to ensure the quality of a random number generator is to see if after many cases, the numbers produced follow a uniform distribution.

### Knit a Document in RStudio

In case you were wondering how I got all the R code and output for the “Do females live longer than males?” page. There is actually a function in RStudio that allows one to compile a report based on code and it’s output.