[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: mathlib
- From: Jeremy Ong <jeremycong@...>
- Date: Fri, 4 Apr 2014 17:40:26 -0700
You may have seen it in physics/calculus even as a non-math major to
describe the curve of a catenary. I suspect it would come up in any
intro course on differential equations as well as they are a very
natural solution (cosh and sinh are mutual derivatives of each other).
Software engineering, though, perhaps would eschew them.
On Fri, Apr 4, 2014 at 2:47 PM, Max Danielsson <maxdata1@gmail.com> wrote:
>
>
>
> On Fri, Apr 4, 2014 at 6:12 PM, Roberto Ierusalimschy
> <roberto@inf.puc-rio.br> wrote:
>>
>> > There is no logic in having sinh but not asinh. Therefore Lua should
>> > provide asinh, acosh and atanh. These functions are the staple of
>> > any first-year calculus student and are called "elementary" in books
>> > about mathematical functions.
>>
>> I must confess that I did an entire course of Eletrical Engineering
>> and have no recollection of ever met them. Maybe it is just my memory...
>>
> I recall hearing from one of my math professors that the hyperbolic
> functions are much more popular in
> North American academia and education than in European (and assumingly the
> rest of the world).
> Here in Scandinavia it seems that only "math majors" ever get aquainted with
> them. Doing a masters program in software engineering,
> i haven't had any courses that mention them in any detail.
>>
>>
>> > To assist the team, here are the functions ready-coded in C89.
>> > These versions have been in use (by me only, AFAIK, although
>> > they are on my GitHub site in a package that I have not advertised)
>> > for more than a year.
>>
>> If those definitions are good enough, they can easily be implemented
>> in Lua itself by those that need them.
>>
>> -- Roberto
>>
>