These are some example last calculations. I have some snippets of Java and Smalltalk code that do these. I worked this out in early 2003, when I was studying this topic, after reading Ab Hoving's book about Witsen and his article in the book, The Heyday of Sail. Probably not many people know this, but the "patriarch" of the Dutch fleet in the First Anglo-Dutch War, the Noorderkwartier ship Eenhoorn, built in 1625, was measured at 200 lasts (measured is perhaps too strong a term). More likely, she was estimated to be 200 lasts. My 200 last example is for the Eenhoorn. All the dimensions are in Amsterdam feet of 283 mm and the notation is: Length x Beam x Depth in hold. The divisor is the "Last factor" that is chosen to make the "lasts" figure a round number that is plausible.
l2b = ratio of length to beam
l2d = ratio of length to depth (in hold)
116.0 x 26.5 x 11.5 / 235.6733333333 150 lasts
120.0 x 27.5 x 12.0 / 232.9411764706 170 lasts
122.0 x 28.0 x 12.5 / 237.2222222222 180 lasts
125.0 x 29.0 x 13.0 / 235.625 200.0 lasts
145.0 x 33.25 x 14.75 / 237.0447916667 300 lasts
134.0 x 31.0 x 13.5 / 233.6625 240 lasts
125.0 x 30.0 x 12.5/233.0 200 lasts
118.0 x 28.0 x 12.0/233.0 170 lasts
116 x 25 x 12.5 => const=242, l2b=4.64 l2d=1/9.28 150 lasts
112.0 x 25.5 x 11.5/233.0 140 lasts
109.0 x 25.0 x 11.0 / 233.0 130 lasts
103.0 x 24.0 x 10.5/233.0 110 lasts
100.0 x 23.0 x 10.0/233.0 100 lasts
80.0 x 18.0 x 8.0/233 50 lasts