14.02.2013 Views

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

Thesis - Leigh Moody.pdf - Bad Request - Cranfield University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix I / Utilities / Trigonometrical Functions<br />

_ _<br />

TAN_F ERROR<br />

0.8<br />

0.6<br />

0.4<br />

0.2<br />

0<br />

-0.2<br />

-0.4<br />

-0.6<br />

-0.8<br />

x 10-3<br />

1<br />

-1<br />

0 10 20 30 40 50 60 70 80 90<br />

ANGLE (DEGREES)<br />

Figure 22-12 : Tangent Function Error<br />

[ − 2 ⋅ π , − 3 ⋅ π 2 ] ⇒ X ( X ) → [ 0 , π 2 ]<br />

XI ∈<br />

I<br />

22.11-4<br />

Equation 22.11-14<br />

[ 3 ⋅ π 2 , 2 ⋅ π ] ⇒ X ( X ) → [ − π 2 , 0 ]<br />

XI ∈<br />

I<br />

Equation 22.11-15<br />

The error in this function is [-0.02 , 0.02] for inputs [0° , 85.8°] as shown in<br />

Figure 22-12.<br />

22.11.4 Arc-sine Approximation<br />

ASIN_F takes the sine of (XI) in the range [-1 , 1] and returns (XI) in the<br />

range [-π , π].<br />

y<br />

: = ASIN_F<br />

2<br />

XI<br />

⋅ ( 4.<br />

13564 − 2.<br />

49527 ⋅ 1 − XI<br />

)<br />

( X ) : =<br />

I<br />

1.<br />

63755 + X<br />

2<br />

I<br />

Equation 22.11-16<br />

If the input is outside the specified input range it is truncated to sign (1 , XI).<br />

The error in this function is [-0.15° , 0.15°] as shown in Figure 22-13.<br />

22.11.5 Arc-cosine Approximation<br />

ACOS_F takes the cosine of (XI) in the range ]-1 , 1[ and returns (XI) in the<br />

range ]-π , π[ .<br />

( X ) : = ( π 2 ) ( X )<br />

y : = ACOS_F − ASIN_F<br />

I<br />

I<br />

Equation 22.11-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!