Finding Pi - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: Finding Pi (/showthread.php?tid=1127) Pages:
1
2
|
RE: Finding Pi - PhilOfPerth - 11-16-2022 (11-16-2022, 01:17 AM)SMcNeill Wrote: Or, if I read the problem wrong (as it seems Pete and I have two different interpertations of the problem), you might want:But we don't know the height - it depends on two things, the side length and (half of) the base length (or the top angle), and the base length is what we want to find. RE: Finding Pi - PhilOfPerth - 11-16-2022 (11-16-2022, 02:17 AM)bplus Wrote: @PhilOfPerth are you attempting this:Yes! Looks like I'm a cupla hundred years late! The Archimedes method is exactly what I'm trying to do, but I've never heard of it before! I had drawn 3,6,8 and 12-sided shapes inside a circle but could only get the lengths of the sides using trig, which I wanted to avoid. Thanks both for your help! RE: Finding Pi - bplus - 11-16-2022 Well sir, if you are thinking like Archimedes it's a very good sign! That guy anticipated calculus with his Method of Exhaustion. RE: Finding Pi - jcm - 11-16-2022 C=2*A*SIN(T/2) RE: Finding Pi - PhilOfPerth - 11-16-2022 (11-16-2022, 03:06 AM)bplus Wrote: Well sir, if you are thinking like Archimedes it's a very good sign! That guy anticipated calculus with his Method of Exhaustion.The difference is, he did it - and without this Forum for help - and I still can't do it! I'm good at times-tables, but. RE: Finding Pi - Pete - 11-16-2022 Oh he came to the forum often, only back then it was called the QBasic Forum. Pete RE: Finding Pi - SMcNeill - 11-16-2022 (11-16-2022, 04:01 AM)PhilOfPerth Wrote: I'm good at times-tables, but. Times-tables butt? I'm good at that too! That's when you have multiple strippers come over to a table where you and multiple buddies of yours are sitting, and you have to sort out who is shoving their dollar bills where so that you keep the dancers' interest, without overlapping payment and using up your beer money too quickly. I'm an expert at times-table butt!! RE: Finding Pi - bplus - 11-16-2022 (11-16-2022, 12:30 AM)PhilOfPerth Wrote: One for the Math (or ”outside-the-box-thinking”) gurus: Trig tables do not rely on Pi. Sin, Cos, Tan... are Constant Ratios of various sides of a Right Triangle at various angles. And Pi itself is a Constant Ratio of Radius length to 1/2 circumference, no matter the length of radius. For example Sin of an angle = the length of the side opposite that angle divided by the length of hypotenuse of that right triangle RE: Finding Pi - bplus - 11-16-2022 (11-16-2022, 03:16 AM)jcm Wrote: C=2*A*SIN(T/2) Welcome @jcm to forum! Care to elaborate on A, C and T? A and C might be sides but using Phil's example being capital they would be Angles as sides get lower case letters by convention. Is that formula from a Trig Identity? |