Wednesday, 18 June 2014

Crazy maths with Python

Python2 + maths = ?
This is for Python2. A bit of binary, hex and decimal etc. Fun..

Thursday, 5 June 2014

Fermat's Last Theorem

See attached image

Fermat's Last Theorem

My explanation of it...

Wednesday, 23 April 2014

Euler's number - derive 'e' using Java

//deriving 'e' or Euler's number. The equivalent would be (1+1/n)^n on a spreadsheet or using LaTex.

public class MathHell5 {

public static void main(String[] args) {
for (double d = 0; d <= 1000; d++) {
System.out.println(" ");
//pow(double a, double b)
//Returns the value of the first argument raised to the power of the second argument.

API for Java.lang.Math - Java 8
API for Java.lang.Math - Java 7
Beyond Basic Arithmetic  - Java Tutorials 

Tuesday, 11 March 2014

Maths plus music equals...

Video - How to make great looking Mathematics