I tried using the Log(x) function but it keeps giving me an error saying "expected array". i'm using a Double type variable for x. thanks for any help.