Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Formula
#15
"How?"

Don't tell, offer the 2 choices:
Code: (Select All)
Print ArcSinDegrees$(Sin(_Pi / 4))
Print ArcSinDegrees$(Sin(_Pi(3 / 4)))
Print ArcSinDegrees$(Sin(_Pi(5 / 4)))
Print ArcSinDegrees$(Sin(_Pi(7 / 4)))

Function ArcSinDegrees$ (xRadians)
    a1 = _R2D(_Asin(xRadians))
    If a1 > 0 Then
        diff = 90 - a1
        a2 = 90 + diff
    Else
        diff = -90 - a1
        a2 = -90 + diff + 360
        a1 = a1 + 360
    End If
    ArcSinDegrees$ = _Trim$(Str$(a1)) + " or " + _Trim$(Str$(a2))
End Function

Big Grin
b = b + ...
Reply


Messages In This Thread
Formula - by Chris - 10-02-2024, 07:46 PM
RE: Formula - by bplus - 10-02-2024, 07:50 PM
RE: Formula - by Chris - 10-02-2024, 08:16 PM
RE: Formula - by bplus - 10-02-2024, 08:51 PM
RE: Formula - by SMcNeill - 10-02-2024, 09:02 PM
RE: Formula - by Chris - 10-02-2024, 09:10 PM
RE: Formula - by bplus - 10-02-2024, 09:23 PM
RE: Formula - by bplus - 10-02-2024, 09:28 PM
RE: Formula - by SMcNeill - 10-02-2024, 09:35 PM
RE: Formula - by SMcNeill - 10-02-2024, 09:30 PM
RE: Formula - by Jack - 10-02-2024, 10:01 PM
RE: Formula - by bplus - 10-02-2024, 10:19 PM
RE: Formula - by SMcNeill - 10-02-2024, 10:24 PM
RE: Formula - by vince - 10-03-2024, 12:14 AM
RE: Formula - by bplus - 10-03-2024, 04:06 AM
RE: Formula - by Chris - 10-03-2024, 08:59 AM
RE: Formula - by bplus - 10-03-2024, 02:39 PM
RE: Formula - by SMcNeill - 10-03-2024, 06:18 PM
RE: Formula - by bplus - 10-03-2024, 06:51 PM
RE: Formula - by bert22306 - 10-04-2024, 04:11 AM



Users browsing this thread: 13 Guest(s)