1 2 3 4 5 6 7 8 9
//Chapter 33 Ex5 clc; clear; close; PW=1100; td=110; bg=(td)^2/PW; bd=td+bg; mprintf("The bankers discount is Rs.%.0f and the bankers gain is Rs.%.0f",bd,bg);