dt_slash
dt_slash

Reputation: 57

How to find sine^-1 (sine inverse) in lua

I just need a function that gives me the inverted sine. I've tried using

math.sin(x)^-1

but that doesn't work... How do you find the inverted sine of a number in lua?

Upvotes: 2

Views: 3952

Answers (2)

DarenW
DarenW

Reputation: 16916

I odn't know about Lua, but in most languages there's a function named asin() or arcsin().

Upvotes: 1

Egor Skriptunoff
Egor Skriptunoff

Reputation: 23757

Do you mean arcsin ?

math.asin(x)

Upvotes: 10

Related Questions