Volume of a bead with square hole- Program approach?
|
11-07-2023, 04:07 PM
(This post was last modified: 11-07-2023 07:52 PM by Albert Chan.)
Post: #30
|
|||
|
|||
RE: Volume of a bead with square hole- Program approach?
(11-05-2023 04:16 PM)Albert Chan Wrote:(06-16-2020 12:35 PM)Albert Chan Wrote: For unit diameter (d=1), with square hole, b=a To show hole volume is over-estimated, we check sign of errors lua> taylor(hv2 - b^2 * √(1 - (2b^2)/3), b, 10) - b^6/45 - 23*b^8/945 - 143*b^10/5670 + b^12*order_size(b) Negative under-estimated error → RMS formula over-estimated hole volume. Quote:Last term (estimated average height) is equivalent to RMS(d, d, sqrt(d*d-a*a-b*b)) height of rect cap (both of them), h = 1-k // 1 is diameter, k is corner height mean([1,1,k]) = 1 - h/3 = (1-h) + 2/3*h MEAN formula under-estimated hole volume, if rect cap mean height > 2/3*h XCas> ratio := (hv2/(b*b)-k) / (1-k) XCas> taylor(ratio, b, 8, polynom) 2/3 + 4/45*b^2 + 5/63*b^4 + 23/252*b^6 + 1997/16632*b^8 Small hole, h and b^2 about the same size: k = 1-h = sqrt(1-2*b^2) ≈ 1-b^2 Ratio converge faster (smaller coefficients), if we use variable h. XCas> taylor(ratio(b=sqrt((1-(1-h)^2)/2)), h, 6, polynom) 2/3 + 4/45*h + 11/315*h^2 + 1/84*h^3 + 25/8316*h^4 Compare mean height ratio with spherical cap. V = pi*h/6 * (3*a^2 + h^2) A = pi*a^2 ratio = V/A/h = 1/2 + (h/a)^2/6 > 1/2 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)