import java.rmi.*;
import java.rmi.server.*;

class mathCalcImp extends UnicastRemoteObject implements mathCalc
{
   float interestRate = (float)7.5;

   mathCalcImp() throws java.rmi.RemoteException
   {
   }

   public schedule amortizeSchedule( float ammount, int duration ) throws 
java.rmi.RemoteException
   {
      System.out.println("Amortizeing Schedule.");
      return( new schedule( interestRate, ammount, duration ) );
   }    

   public void printRate() throws java.rmi.RemoteException
   {
      System.out.println("Current Interest Rate is " + interestRate );
   }
}






