I am trying to calculate the yield of a discounted mortgage note - this website is build with javascript functions but I am trying to replicate in filemaker - any help would be appreciated - when I look at the javascripts, i dont know how I would replicate that with filemaker calculations

forgot the example - here it is - Discounted cashflow, discounted mortgage, note buyer, note broker, discounted cashflows.