Skip to main content
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
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
In Atrributecreator I have tried like below shown the result angle 37 is not coming.please correct me.

 

 

@asin(0.60181502)/(180/3.14159265)
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.

Reply