Vous êtes sur la page 1sur 2

# 4/15/2015

search...

15 | 04 | 2015

Arcsin
Math Calculator

Home
General .NET
Inventor VB.NET
Excel VB
Access VB
MS Project .NET
Word VB

Trigonometry
Math Function

## ARCTAN, ARCCOS, ARCSIN

Visual Basic does not have a function to calculate ArcTan, ArcSin or ArcCos. Vb.Net has.

## In Vb.Net the arc functions are places in the System.Math namespace.

Import the name space and use the functions below.

User Name

ASin()
ACos()
ATan()

Remember Me
Search website
Find Enter search text

## Copy Listview Row(s) to

Excel or Word through
the Clipboard

## If Round(X, 8) = 1# Then Arccos = 0#: Exit Function

If Round(X, 8) = -1# Then Arccos = PI: Exit Function
Arccos = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1)

Create an account

2012, 2013, 2014, 2015
enabler

End Function

Multiple Columns in
Listbox
ArcTan, ArcCos, ArcSin
Insert Block
Database Driven Block
Manager [UPDATED]

BROCHURE

## Preview Webcam and

capture image
Excel

Help us to continue.....

## Public Function Arcsin(X As Double) As Double

If (Sqr(1 - X * X) <= 0.000000000001) And (Sqr(1 - X * X) >= -0.000000000001) Then
Arcsin = PI / 2
Else
Arcsin = Atn(X / Sqr(-X * X + 1))
End If
End Function

FIND A DEALER
DISCLAIMER

1518902

DRIVE AWAY2

FROM

TEST DRIVE

19,990 - 31,540
\$

Latest Articles

## Datagridview Select Row

on Right Click Mouse
Scroll to\Select
Datagridview Last Row

Create Polyline
Insert Dynamic Block and
set variables

Statistics

## Public Function ArcTan(ByVal X As Double, ByVal Y As Double) As Double

If X = 0 And Y = 0 Then
Arctan= 0
Else
If X = 0 Then X = 0.00000000001
Arctan = Atn(Y / X) - PI * (X < 0)
End If
End Function

Inventor Names of
Ribbons and RibbonTab
VB error numbers and
descriptions Overview
Shut Down Computer
Search file in directory by
name
Hide or Show all Sheets

Download the source code for an arc calculator below (registered users only).

## Excel Save and Recover

Formulas using VBA
text
Excel Remove all Custom
Styles

< Prev Next >