Skip to main content
Question

Sine Inverse Calculation

  • February 7, 2014
  • 3 replies
  • 33 views

venu
Contributor
Forum|alt.badge.img+5
Hi all,

 

 

Angle 37 Sine value is "0.60181502".

 

 

But I have "0.60181502" from this i need to find angle 37 in fme.

 

 

Please guide me

 

 

Thanks in advance
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

takashi
Celebrity
  • February 7, 2014
Hi,

 

 

The inverse function of sine is arcsine, and FME Math Functions include "@asin". You can use the function in some transformers. e.g. ExpressionEvaluator, AttributeCreator etc..

 

Just be aware the unit of returned angle from the function is radian. To convert radian to degree, multiply radian value by 180 / PI (PI: circular constant = 3.14159265...).

 

In addition, since PI is an infinite decimals, you cannot avoid a slight computational error. If necessary, consider using the AttributeRounder transformer to round the result value.

 

 

Takashi

venu
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 7, 2014
In Atrributecreator I have tried like below shown the result angle 37 is not coming.please correct me.

 

 

@asin(0.60181502)/(180/3.14159265)

takashi
Celebrity
  • February 7, 2014
Multiply and evaluate.

 

@Evaluate(@asin(0.60181502)*(180/3.14159265))

 

 

If you type the expression using the Arithmetic Editor, no need to type @Evaluate. The AttributeCreator add it automatically after closing the editor.