import com.imsl.finance.*; import java.text.NumberFormat; public class fvscheduleEx1 { public static void main(String args[]) { double principal = 10000.0; double[] schedule = {.050, .051, .052, .053, .054}; double fvschedule; fvschedule = Finance.fvschedule(principal, schedule); System.out.println("After 5 years the $10,000 investment will have " + "grown to " + NumberFormat.getCurrencyInstance().format(fvschedule)); } }