Exemple #1
0
        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());
        }
Exemple #2
0
        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());
        }