';compStr+='
';s+='Compounding:
';compStr+=getDropdownHTML(my.comps,'calcDo','compSel');compStr+=' ⇒ ';compStr+='';my.inps=[{name:'PV',title:'Present Value',formula:'PV = FV(1+r)n',val:1000,dec:2},{name:'r',title:'Interest Rate',formula:'r = (FV/PV)(1/n) − 1',val:10,dec:3},{name:'n',title:'Periods',formula:'n = ln(FV / PV)ln(1 + r)',val:5,dec:2},{name:'FV',title:'Future Value',formula:'FV = PV (1+r)n',val:1610,dec:2}];my.styles=['Know','Want'];for(var i=0;i';s+='
';if(i==1)s+=compStr;}
s+=''+inp.title+' ('+inp.name+')'+':
';s+='';s+='';s+='
';s+=getRadioHTML('Want','want'+i,my.styles,'wantChg',i);s+='