Original Post
I have seen the symbol sin2(x) sin3(x) ... sin5(x) where the numbers are superscripted like power of, what function is this and how do I evaluate it?
Quote:
Original post by higherspeed
It's written like that because writing it the other way would be sheer lunacy.
sin^2(x) is clearly (sin(x))^2, sin(x)^2 is ambiguous, it could be (sin(x))^2, or it could be sin(x^2).
The concept of sin(sin(x)) rarely arises, due to the nature of the origins of sin and cos. Off the top of my head it would be needed when iterations are involved. Then it's the realm of contraction mappings and such like, so different notation is used, as often a different domain is chosen.
Quote:
Original post by b2b3
You can also use sin-1(x) for arcsin(x). This won't cause so much confusion, but I haven't seen this too much.
Quote:
Original post by staaf
It's not very hard to write arcsin(x) and it cannot be misunderstood.
Quote:
Original post by Dmytry
agreed. Same for (sin x)2
Quote:
Original post by higherspeed
Well b2b3, you're syntax is wrong, f^2(x) = f(f(x)) in the general case. There is no ambiguity in general.
Quote:
Original post by higherspeed
I probably shouldn't say 'you're wrong' in such certain terms, it's only notation. Most mathematicians would interpret it differently though. If it's just for your own working, etc then it doesn't matter. Still it's nice to be consistent with everyone else.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more