Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8791 > unrolled thread
| Started by | Martin <Martin@spam.spam> |
|---|---|
| First post | 2015-12-08 09:32 +0000 |
| Last post | 2015-12-16 06:08 -0800 |
| Articles | 9 — 6 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Where is ASin()? Martin <Martin@spam.spam> - 2015-12-08 09:32 +0000
Re: Where is ASin()? Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-12-08 11:06 +0100
Re: Where is ASin()? "Glen Townsley" <glent@pronamics.com.au> - 2015-12-09 04:28 +1000
Re: Where is ASin()? Martin <Martin@spam.spam> - 2015-12-15 15:00 +0000
Re: Where is ASin()? dlzc <dlzc1@cox.net> - 2015-12-08 12:43 -0800
Re: Where is ASin()? Martin <Martin@spam.spam> - 2015-12-15 15:03 +0000
Re: Where is ASin()? sherlocksoftware@gmail.com - 2015-12-16 01:02 -0800
Re: Where is ASin()? Mathias <mathias.hakansson@consultec.se> - 2015-12-16 04:17 -0800
Re: Where is ASin()? dlzc <dlzc1@cox.net> - 2015-12-16 06:08 -0800
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2015-12-08 09:32 +0000 |
| Subject | Where is ASin()? |
| Message-ID | <n467u2$d7s$1@dont-email.me> |
OK Using Sin Cos and Tan But I NEED ArcSin Where is it? Thanks Martin
[toc] | [next] | [standalone]
| From | Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> |
|---|---|
| Date | 2015-12-08 11:06 +0100 |
| Message-ID | <3pad6b538bq66l18v2bcbldm4o5okcrqfe@4ax.com> |
| In reply to | #8791 |
Martin, >OK Using Sin Cos and Tan > >But I NEED ArcSin >Where is it? what about wikipedia? asin(x) = sgn(x)*atan( sqr( x^2/(1-x^2) ) Karl > >Thanks > >Martin
[toc] | [prev] | [next] | [standalone]
| From | "Glen Townsley" <glent@pronamics.com.au> |
|---|---|
| Date | 2015-12-09 04:28 +1000 |
| Message-ID | <n477ib$q75$1@speranza.aioe.org> |
| In reply to | #8791 |
I got these quite a long time ago (I can' remember where).
FUNCTION ArcCos( x AS FLOAT ) AS FLOAT // returns the Inverse Cosine of X
(IN radians)
DO CASE
CASE x == 1
RETURN 0
CASE x == -1
RETURN PI
OTHERWISE
RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) )
ENDCASE
RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) )
FUNCTION ArcSin( x AS FLOAT ) AS FLOAT // returns the Inverse Sine of X (IN
radians)
RETURN ATan( x / SQRT( 1 - x * x ) )
Cheers
Glen
"Martin" wrote in message news:n467u2$d7s$1@dont-email.me...
OK Using Sin Cos and Tan
But I NEED ArcSin
Where is it?
Thanks
Martin
[toc] | [prev] | [next] | [standalone]
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2015-12-15 15:00 +0000 |
| Message-ID | <n4p9pp$7ld$1@dont-email.me> |
| In reply to | #8793 |
Thanks I'll test it On 08/12/2015 18:28, Glen Townsley wrote: > I got these quite a long time ago (I can' remember where). > > FUNCTION ArcCos( x AS FLOAT ) AS FLOAT // returns the Inverse Cosine of > X (IN radians) > DO CASE > CASE x == 1 > RETURN 0 > CASE x == -1 > RETURN PI > OTHERWISE > RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) ) > ENDCASE > RETURN PI / 2 - ATan( x / SQRT( 1 - x * x ) ) > FUNCTION ArcSin( x AS FLOAT ) AS FLOAT // returns the Inverse Sine of X > (IN radians) > RETURN ATan( x / SQRT( 1 - x * x ) ) > > > Cheers > > Glen > > "Martin" wrote in message news:n467u2$d7s$1@dont-email.me... > > OK Using Sin Cos and Tan > > But I NEED ArcSin > Where is it? > > Thanks > > Martin
[toc] | [prev] | [next] | [standalone]
| From | dlzc <dlzc1@cox.net> |
|---|---|
| Date | 2015-12-08 12:43 -0800 |
| Message-ID | <1eff64ef-c607-4f59-bba2-1aff9b9a49f5@googlegroups.com> |
| In reply to | #8791 |
Dear Martin On Tuesday, December 8, 2015 at 2:32:07 AM UTC-7, Martin wrote: > OK Using Sin Cos and Tan > > But I NEED ArcSin > Where is it? I think the Clipper Oasis site has code for the Arc functions, that could be tapped. http://www.the-oasis.net/ftpmaster.php3?content=ftpgenrl.htm trig.zip (authored by Ross McKenzie) David A. Smith
[toc] | [prev] | [next] | [standalone]
| From | Martin <Martin@spam.spam> |
|---|---|
| Date | 2015-12-15 15:03 +0000 |
| Message-ID | <n4p9v0$7ld$2@dont-email.me> |
| In reply to | #8795 |
I did have this!
CLIPPER ARCSIN( void )
{
_retnd(mradtodeg(asin(_parnd(1))));
}
On 08/12/2015 20:43, dlzc wrote:
> Dear Martin
>
> On Tuesday, December 8, 2015 at 2:32:07 AM UTC-7, Martin wrote:
>> OK Using Sin Cos and Tan
>>
>> But I NEED ArcSin
>> Where is it?
>
> I think the Clipper Oasis site has code for the Arc functions, that could be tapped.
>
> http://www.the-oasis.net/ftpmaster.php3?content=ftpgenrl.htm
> trig.zip (authored by Ross McKenzie)
>
> David A. Smith
>
[toc] | [prev] | [next] | [standalone]
| From | sherlocksoftware@gmail.com |
|---|---|
| Date | 2015-12-16 01:02 -0800 |
| Message-ID | <958f7897-e376-4945-87d0-8a92e1bf5a1e@googlegroups.com> |
| In reply to | #8791 |
Where is ASIN() ? A Church maybe.. Come on Vo'ers its XMAS... smile Phil McGuinness
[toc] | [prev] | [next] | [standalone]
| From | Mathias <mathias.hakansson@consultec.se> |
|---|---|
| Date | 2015-12-16 04:17 -0800 |
| Message-ID | <bc184845-c8f9-46ad-abc3-d7fb8b041509@googlegroups.com> |
| In reply to | #8815 |
:-) /MathiasH Den onsdag 16 december 2015 kl. 10:02:18 UTC+1 skrev sherlock...@gmail.com: > Where is ASIN() ? > > A Church maybe.. > > Come on Vo'ers its XMAS... smile > > > Phil McGuinness
[toc] | [prev] | [next] | [standalone]
| From | dlzc <dlzc1@cox.net> |
|---|---|
| Date | 2015-12-16 06:08 -0800 |
| Message-ID | <1e7016d5-a81e-4c17-b0e3-f60300ed87c4@googlegroups.com> |
| In reply to | #8815 |
Dear sherlock...: On Wednesday, December 16, 2015 at 2:02:18 AM UTC-7, sherlock...@gmail.com wrote: > Where is ASIN() ? > > A Church maybe.. INSIDE a brothel is ASIN()... or a FUN() David A. Smith
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web