//--------------------------------------------------------------------------- // Miranda Moore // COS488/MAT474 // Problem Set 9, Q3 //--------------------------------------------------------------------------- // The command "java Supernecklace" // plots the derivative of the supernecklace EGF. // // Dependencies: Complex.java, ComplexFunction.java, Plot2Dez.java //--------------------------------------------------------------------------- public class Supernecklace implements ComplexFunction { // The derivative of the supernecklace EGF public Complex eval(Complex z) { // {1 \over (1-z)(1-ln(1/(1-z)))} Complex one = new Complex(1, 0); Complex a = one.minus(z); Complex b = a.times(one.minus((a.reciprocal()).log())); return b.reciprocal(); } public static void main(String[] args) { Plot2Dez.show(new Supernecklace(), 512); } }