All pastes #53638 Raw Edit

there's a long way to the top

public java v1 · immutable
#53638 ·published 2006-05-05 02:24 UTC
rendered paste body
class pemba{	public static void main (String args[]){		double R=Double.parseDouble(args[0]);		double vi=Double.parseDouble(args[1]);		double a, b, c, d, e;		a=b=c=d=e=vi;		for (int i=1; i<=100; i++) {			a = (R+1)*a - R*(a*a);			b = (R+1)*b - (R*b)*b;			c = ((R+1) - R*c) * c;			d = R*d + (1 - R*d)*d;			e = e + R*(e - e*e);			System.out.printf("(%d) a: %E\n", i ,a);			System.out.printf("(%d) b: %E\n", i, b);			System.out.printf("(%d) c: %E\n", i, c);			System.out.printf("(%d) d: %E\n", i, d);			System.out.printf("(%d) e: %E\n", i, e);		}	}}