void setup() { println( quadFormula(1,-3,-10) ); } void draw() { } float quadFormula(float a, float b, float c) { float top = -1*b+sqrt( square(b)-4*a*c ); float bottom = 2*a; return top/bottom; } int triple(int x) { return 3*x; } void flower(int x, int y) { stroke(#00FF00); strokeWeight(5); line(x,y,x,y+60); noStroke(); fill(#ff0000); ellipse(x,y,30,30); } int square(int x) { return x*x; }