Modeling2.html

From 2013.igem.org

(Difference between revisions)
Line 240: Line 240:
     var odePart;  
     var odePart;  
 +
while (1===1){
 +
        if (this.yone[counter] < 2 )
 +
            if (this.yone[counter] > 0)
 +
                if (this.ytwo[counter] > 0)
 +
                    if (this.ytwo[counter] < 2)
 +
                        break;
 +
        odePart = odefunX(this.yone[counter], this.ytwo[counter]);
 +
        this.yone.push(- odePart[0]*dt + this.yone[counter]);
 +
        this.ytwo.push(- odePart[1]*dt + this.ytwo[counter]);
 +
        counter++;
 +
    }
 +
 +
    this.yone.reverse();
 +
    this.ytwo.reverse();
 +
 +
};
};

Revision as of 23:35, 27 September 2013

iGEM