at joel ’ s bookstore , the current inventory is 30 % historical fiction . of the historical fiction books , 30 % are new releases , while 40 % of the other books are new releases . what fraction of all new releases are the historical fiction new releases ?
"let there be 100 books in all historic fiction books = 30 % of total = 30 other books = 70 new historic fiction = 30 % of 30 = 9 other new books = 40 % of 70 = 28 total new books = 37 fraction = 9 / 37 ans : b"
divide(divide(multiply(30, 30), const_100), add(divide(multiply(30, 30), const_100), divide(multiply(40, subtract(const_100, 30)), const_100)))