public Phanso hieu2(int x) { Phanso t1 = new Phanso(); t1.ts = this.ts * 1 - x * this.ms; t1.ms = this.ms * x; return(t1.thugon()); }
public Phanso hieu(Phanso t2) { Phanso t = new Phanso(); t.ts = this.ts * t2.ms - this.ms * t2.ts; t.ms = this.ms * t2.ms; return(t.thugon()); }