//Euler-Cromer Method for Laminar Air Drag in p5js
    g = 9.81;
    y = 500;
    vy = 0;
    dt = 1/30;
    t = 0;
        
    function draw(){
        display();      

        a1 = -g - 0.2*vy;
        vy1 = vy1 + a1*dt;
        y1 = y1 + vy1*dt;
        
        drawBox(x1,y1,vx,vy1);
        t = t + dt;
    }