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(" ");
System.out.println(Math.pow((1+1/d),d));
}
}
}
//pow(double a, double b)
//Returns the value of the first argument raised to the power of the second argument.
//http://docs.oracle.com/javase/7/docs/api/index.html?overview-summary.html

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...

https://www.youtube.com/watch?v=LAfYPIxkqCw&feature=youtube_gdata_player

Video - How to make great looking Mathematics

https://www.youtube.com/watch?v=jNuBXoqPL3s&feature=youtube_gdata_player