WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Evaluation des fonctions usuelles sur des variables complexes: algorithmisation des calculs et programmation

( Télécharger le fichier original )
par Ruffin Benoit NGOIE MPOY
Université pédagogique nationale - Licence en mathématique informatique 2008
  

précédent sommaire suivant

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

3.3.10. Fonction arc sinus hyperbolique

Interface visuelle

Propriétés

Propriété

valeur

Name

shcplx

Caption

Fonction hyperbolique réciproque : Arsh

Back color

&H00FFC0C0&

StartUpPosition

CenterScreen

Codes

Dim A, B, k, l As Long

Private Sub Cmdcal_Click()

A = Val(Txta)

B = Val(Txtb)

If (Txta = "" Or Txtb = "") Then

MsgBox "Verifiez que vous avez rempli tous les champs", vbInformation, "Information"

Txta = ""

Txtb = ""

Lbla = ""

Lblb = ""

Txta.SetFocus

Else

A = Val(Txta)

B = Val(Txtb)

k = Sqr((Sqr(A ^ 4 + B ^ 4 + 2 * A ^ 2 * B ^ 2 - 2 * A ^ 2 - 2 * B ^ 2 + 1) + A ^ 2 - B ^ 2 + 1) / 2)

l = Sqr((Sqr(A ^ 4 + B ^ 4 + 2 * A ^ 2 * B ^ 2 - 2 * A ^ 2 - 2 * B ^ 2 + 1) - A ^ 2 + B ^ 2 + 1) / 2)

If (A + k) = 0 Then

Lblb = -1.57079632679

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

ElseIf (A * B) > 0 Then

Lblb = Atn((B + l) / (A + k))

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

ElseIf (A * B) <= 0 Then

Lblb = -1 * Atn((B + l) / (A + k))

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

End If

End If

End Sub

Private Sub Command1_Click()

Txta = ""

Txtb = ""

Lbla = ""

Lblb = ""

Txta.SetFocus

End Sub

Private Sub Command3_Click()

Unload Me

accueil1.Show

End Sub

Private Sub Command4_Click()

End

End Sub

Private Sub Txta_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtb.SetFocus

End If

End Sub

Private Sub Txtb_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Cmdcal.SetFocus

End If

End Sub

3.3.11. Fonction arc cosinus hyperbolique

Interface visuelle

Propriété

Propriété

valeur

Name

chcplx

Caption

Fonction hyperbolique réciproque : Ch

Back color

&H00FFC0C0&

StartUpPosition

CenterScreen

Codes

Dim A, B, k, l As Long

Private Sub Cmdcal_Click()

If (Txta = "" Or Txtb = "") Then

MsgBox "Verifiez que vous avez rempli tous les champs", vbInformation, "Information"

Txta = ""

Txtb = ""

Lbla = ""

Lblb = ""

Txta.SetFocus

Else

A = Val(Txta)

B = Val(Txtb)

k = Sqr((Sqr(A ^ 4 + B ^ 4 + 2 * A ^ 2 * B ^ 2 - 2 * A ^ 2 + 2 * B ^ 2 + 1) + A ^ 2 - B ^ 2 - 1) / 2)

l = Sqr((Sqr(A ^ 4 + B ^ 4 + 2 * A ^ 2 * B ^ 2 - 2 * A ^ 2 + 2 * B ^ 2 + 1) - A ^ 2 + B ^ 2 + 1) / 2)

If (A > -1 And A < 1 And A <> 0) And B = 0 Then

Lblb = Atn(Sqr((1 - A ^ 2) / A ^ 2))

Lbla = 0

ElseIf A = 0 And B = 0 Then

Lblb = 1.57079632679

Lbla = 0

ElseIf (A + k) = 0 Then

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

Lblb = 1.57079632679

ElseIf (A * B) >= 0 Then

Lblb = Atn((B + l) / (A + k))

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

ElseIf (A * B) < 0 Then

Lblb = -1 * Atn((B + l) / (A + k))

Lbla = Log(Sqr((A + k) ^ 2 + (B + l) ^ 2))

End If

End If

End Sub

Private Sub Command1_Click()

Txta = ""

Txtb = ""

Lbla = ""

Lblb = ""

Txta.SetFocus

End Sub

Private Sub Command2_Click()

End Sub

Private Sub Command3_Click()

Unload Me

accueil1.Show

End Sub

Private Sub Command4_Click()

End

End Sub

Private Sub Txta_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Txtb.SetFocus

End If

End Sub

Private Sub Txtb_KeyPress(KeyAscii As Integer)

If KeyAscii = 13 Then

Cmdcal.SetFocus

End If

End Sub

précédent sommaire suivant






Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy








"Je ne pense pas qu'un écrivain puisse avoir de profondes assises s'il n'a pas ressenti avec amertume les injustices de la société ou il vit"   Thomas Lanier dit Tennessie Williams