proj/proj0/Planet.java
public double calcForceExertedByY(Planet p) {
        double F = this.calcForceExertedBy(p);
        double r = this.calcDistance(p);
        double dy = p.yyPos - this.yyPos;
        return (F * dy) / r;
    }
/** Describe the force exerted in the Y directions.
        Args(Planet):
            Planet Object p.
        Returns(double):
            Force exerted in the Y direction.
    */
Describe the force exerted in the Y directions.
Describe the force exerted in the Y directions .
public double calcForceExertedByY(Planet p) {
        double F = this.calcForceExertedBy(p);
        double r = this.calcDistance(p);
        double dy = p.yyPos - this.yyPos;
        return (F * dy) / r;
    }
public double calcForceExertedByY ( Planet p ) { double F = this . calcForceExertedBy ( p ) ; double r = this . calcDistance ( p ) ; double dy = p . yyPos - this . yyPos ; return ( F * dy ) / r ; }
Describe the force exerted in the Y directions.
Describe the force exerted in the Y directions .