Extended Trig Methods - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Extended Trig Methods (/showthread.php?tid=2388) Pages:
1
2
|
RE: Extended Trig Methods - SMcNeill - 01-15-2024 (01-15-2024, 06:42 PM)bplus Wrote: @dbox to be a total nag, it seems to me a more productive use of time to get _Maptriangle working than exotic math functions. What's wrong with _MapTriangle? RE: Extended Trig Methods - bplus - 01-15-2024 Nothing wrong in QB64 but there is no QBJS equivalent without using JS library or extension which trips me up getting equivalent results in QBJS that I get in QB64 without writing 2 sets of code. S'OK I haven't figured out using assets either. Getting too old for new tricks I guess. RE: Extended Trig Methods - BSpinoza - 01-16-2024 (01-15-2024, 02:34 PM)dbox Wrote: In the process of trying to expand QBJS' support for QB64 keywords I noticed a curiosity with the extended trigonometric functions. It looks like this has been the case for some time and predates "the incident".Arcus cosecant(x) is the same as sin^-1(1/x) Code: (Select All)
RE: Extended Trig Methods - dbox - 01-16-2024 (01-16-2024, 10:31 AM)BSpinoza Wrote: Arcus cosecant(x) is the same as sin^-1(1/x)Perfect, thanks! RE: Extended Trig Methods - Kernelpanic - 01-16-2024 This formula is in the wiki, but it always gives an error message: Code: (Select All)
Why? I have not find any explains in the Internet.Code: (Select All)
And the last result. . . Maybe a math guru can explain it. RE: Extended Trig Methods - bplus - 01-16-2024 The range of x and y for Trig formulas are intended to be from a unit circle st x^2 + y^2 = 1 Taking the SQR of a neg number will throw that error which happens when x > 1. RE: Extended Trig Methods - Kernelpanic - 01-17-2024 (01-16-2024, 11:54 PM)bplus Wrote: The range of x and y for Trig formulas are intended to be from a unit circle st x^2 + y^2 = 1Thanks! This works: Code: (Select All)
Unit circle! Yes, the “realization” slowly came back when I saw this. RE: Extended Trig Methods - TerryRitchie - 01-17-2024 Where were videos like this when I was a stupid teenager!? We would spend part of our Friday night laughing our ass off at the Dukes of Hazard (and drooling over Katherine Bach). Oh those Daisy Dukes. I would have much rather watched mushroom land (with a smidgen of Daisy sprinkled in for effect). RE: Extended Trig Methods - Kernelpanic - 01-17-2024 Quote:Oh those Daisy Dukes. I would have much rather watched mushroom land (with a smidgen of Daisy sprinkled in for effect).@Terry - do you mean this Daisy? RE: Extended Trig Methods - TerryRitchie - 01-18-2024 (01-17-2024, 11:24 PM)Kernelpanic Wrote:No, the original and only Daisy Duke.Quote:Oh those Daisy Dukes. I would have much rather watched mushroom land (with a smidgen of Daisy sprinkled in for effect).@Terry - do you mean this Daisy? |