Find Docs

Astronomical Applications Department, U.S. Naval Observatory - Sensitivity Integral (Page 6)

Wodocs >> Science : Astronomy >> Astronomical Applications Department, U.S. Naval Observatory Sensitivity Integral Page 6
Astronomical Applications Department, U.S. Naval Observatory - Sensitivity Integral
(
)
cost
(
)
optimize tmp
+
+
+
+
119 additions
186 multiplications
91 divisions
26 functions
108 assignments
This is about as simplified as we can possibly make this integration result. Finally, create a fortran
subroutine from the Maple procedure and write it to disk.
fortran sensitivity_expr optimized
=
mode
double
=
precision
double
,
,
,
,
(
=
filename
"d:/FAMEStuff/PhotonSensitivity/SensitivityIntegral.f" )
For reference, both the indefinite integration result and the optimized fortran subroutine are shown
in the
Appendix
.
3. Check of the Indefinite Integral
Differentiate the indefinite integration result and check that it is equal to the integrand.
:=
gawdawfulmess




expand
-




x
(
)
rhs indef
integrand
1
(
)
cost %
+
+
+
+
5770 additions
27247 multiplications
2328 divisions
5754 functions
2243 subscripts
(
)
collect
,
,
gawdawfulmess [
]
,
,
,
sin cos
(
)
seq
,
a
k
=
k
..
0
4
x
factor
(
)
cost %
+
+
+
54 additions
174 multiplications
13 functions
55 subscripts
(
)
factor
(
)
combine %%
0
Whew.
4. Definite Integration by Parts
=
(
)
S , , , ,
,
r s g T
1
2
d
1
2
integrand
1
x
=
(
)
S , , , ,
,
r s g T
1
2
d
1
2
(
)
+
+
+
+
a
0
a
1
x
a
2
x
2
a
3
x
3
a
4
x
4
(
)
sin s x
2
(
)
-
(
)
sin r x
(
)
sin r g x
2
x
:=
integral
(
)
rhs %
Page 6

<< Previous       1 2 3 4 5 6 7 8 9 10 11 12 13 14 15       Next >>



Other Documents:
3 D plot fits, lyap2, NAO 150, Rotate Vector, lyapcalc, wedges, Scifull, Precession Memo, Precession Maple, Curves 3 D, NOVAS 2004 Overview, NOVAS 2006 Overview, thesis, Ranson,


WODocs | |
All rights reserved. wodocs.com© 2009
WODocs


New Docs

Documents Category:
Arts (Design, Movies, Music, Radio, Television)
Automotive (Cars, Marine, Motorcycle, ATV, Snowmobiles)
Business (Biotechnology and Pharmaceuticals, Chemicals, Construction and Maintenance, Materials, Real Estate, Services)
Electronics (Computers, Motion Control, Power Supply)
Games (Board, Family, Party, Card, Construction, RC Toys)
Health (Animalm, Beauty, Healthcare, Medicine, Pharmacy, Surgery, Weight Loss)
Home (Accessories, Cooking, Decor and Design, Electrical, Family, Pets)
News (Newspapers, Sports, Television)
Recreation (Collecting, Hiking, Scouting, Survival, Travel)
Reference (Education, Libraries and Archives, Museums)
Science (Agriculture, Astronomy, Biology, Chemistry)
Shopping (Antiques and Collectibles, Clothing, Flowers, Food, Home and Garden)
Sports (Bicycle, Snowboard, Skiing, Other)