Post Reply 
HP42s first major program (Double Integral) Best way to approach?
05-28-2020, 08:51 PM (This post was last modified: 05-29-2020 12:39 AM by Albert Chan.)
Post: #32
RE: HP42s first major program (Double Integral) Best way to approach?
If we assume drilling though the pipe, penetrating both side, we do not need "2 /" correction.
In other words, I = bore-hole removed volume

XCas> [a,b,c] := [24,29,12] .* 2      // convert to diameter values
XCas> gaussquad(sqrt(c^2-x^2) * (sqrt(b^2-x^2) - sqrt(a^2-x^2)), x = 0 .. c) → 4651.24643662

// intersection of 2 cyclinders with radius 1 (diameter 2), volume = 16/3

XCas> b := c := 2
XCas> int(sqrt(c^2-x^2) * sqrt(b^2-x^2), x = 0 .. c) → 16/3
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP42s first major program (Double Integral) Best way to approach? - Albert Chan - 05-28-2020 08:51 PM



User(s) browsing this thread: 23 Guest(s)