-7technical contributions
))];V'Tl!7;i'~E.~];Cli,.h':"+L. Muk~l
Babu
F 312~ I oI.T. '.~!~L.I !Yl lTt &.'- T" ':::!
~%Nf>.•...Y!7:',];~777; Agrawal
];N
and
,r' f:~,.>t..,+.., ........ l... Vijay
Kumar
Garg
Hall One Kanpur, INDIA
;~
"~" ~"1 (.;-;:
]]t ;i. IYfm!"iiii. :i. O!"t17[.
r:.' 0 ',:., (~-7 ?
.~]i: ~,. t;.. (-7.,igl F:, "l]. ,']>
".t.%C)
:i. !"! 'P, T" C7 Ci LI C;" (.>)
i t"~ r:.' i" (:.',::~.:iT'ii~:nirn :i. r'+.:..~ '.1..~!!:l"+::;:::Li•:'r'i '.,i!. ;i. C) l"+ !S .~,
"- ~.,, r',... ,,,,:i.cJ ;i.!']:.';.I d ;LIf+(.:.:, r'T':'ii. :i.?~ ~ii:'~.,. .~i~: I.',!.1.r' -i ' ~ i . ,'..': In .~!:S~ .~!: +:.'. 'I"T"0 r'~:~:.:i :i.m ~:'.' ::!:: (::-"[. •t:.ot,,~.~:~.,ci,:~ .~: new ~::,T'i::+::;.:::'r'.~:mn';:i.rt.~.~,~I, e.~"]'.i.e.:.:,~" .~vL.'t:.,:.:-:,m~:,.'L. :i.r'~ '~'..h:i.s. c.Ii, +',e e t. :i.o n b,:~ ,,.".I.0 6 um. :i.!"~::.:.~d ~.:.:, ~' :i.v,:.:.~ d -I:.. ,;.:~ ~:,,:.:.:, ~!~. Iii:I.i;! 'f"a :i.I .m, 'I',o .~-c"h :i.,:.:,,',., :. !i~ :i.~i~ cJ (-:~ ~!!.,;:?'f":i.]'.),;.:..~ ('J r't,:.:.:, ?.("[',., SIGPLANNotices~
Vi9
#3,
March
1984
.....' " ~
o "ff
'I.h e
-8-
'!.,o u s e b~a ~i~: d:Lr,,', d,:.:~,ol.~:r.~i~:t, i o n ( :i.n "dec.]..:ii:r,x, b,:.:-:.for'e u s e " :::...~;.irit. of PASCAL ) ~.Ir, c:,L~]" :[r~'~Plemenl:,.i~:'t:i. or~ t h e dim dec:..i..~;~".~!:;t.:i, o n is m,~;d~;:.:, ...;,..Is!, .:~:f't.er :l..~i:b,:-:.:,l dee]..:.e,..:;~J.;. l~i::be:l. :1.~,2 !; dim i"iASS :, L E N G T H ~., T I M E i:;
TIME tL,'me
This which METRE
decl~:i:res 3 d i m @ n s i o n . ~ > n.~i:n,::.:-~,l.;:~MA:F!:S m.ii~::~ n,:::,~.,,'b e u s e d to define t'='.Fes.:. = ~"e.~ii:/ d i m I. Et.!GTH = > :I end * :i..:.0 ~ NEWTON = ~-(.:.:,.:~:]. d i m i'IASS => I 0 LENGTH = > 1!; 'T I b t E = > ....2 end * :!..,0 i:~
LENGTH
,~:;~~d
T h e n u m t ~ e r i:~r',':.1t h e o;,.'.er~:~!..~:~-,:!~t. t.he e n d ,:::,f t.he :.~efns.:. denote ~; c - o n v e r s i o n f~:,:::.'t.or w....r.~t:..~ some k~.~:s:i.,::: u n i t of I:.~,::,se d :i. m e n s :i. ,::~r~s :. t t . r,~~ ~:¢ b,e o b s e ~"v,:.~,d t ~,.~::~t the u r , i t.:::. ,.,..,:i. 'i: i , ,::~: conversion f~ei:.or ,:::,f :1..:.0 m~i~'=,' b e cor'~s:i.d,:...,r,x.:,d ~-~. b.~.:.s:J.o u n i t s .;. def:i.r,ed t.L,'Pe:~!., e,:d.;. JOULE = NEWTON t ' I E ) R E ;~ is .:~: v,:i~l:i.d •l:..,=.'F.e d e c l a ~ r e . t : L o n , . T h e ,.iuxt..i!~:,os:i.t.:i. o n ~., :in ~:~ec,::,rd~i::n,:..e w:i.t.h ' L h e d,:~'..a L o d.~'..,~ u s e o i " d:i. m e r ' ~ s i o r , s.,, mea...ns .muit:i.:.,..Iic.:~i~t:i.c,r~.~It. :i.s eeu:i.v~!~lent to the 1"c, llmwir,~.;.~ d e f i r ~ : i . L : i . o r ~ .!. JOULE = ~"e.~i~:l. d:i.m M A S S => :1, ;~ L.ENGTH => 2 TIME ::::> ....2 end * :t.,,0 ;~
Ar, othe'P n o t e w o rth:,~ 9e.~Lu r e :i.s ~.~u t o m.~b i c' c:onve r s i o n with:i.n ,Jnits of the s ~ - m e d:i. m e r ~ s i o r , .~ e,,~.~, ~i:s s t . ~ " u c t u r e com,,,:..~!~tibilit~.::: -~i~:~",d d i m e n s i o n . ~ : l c o m ; > ~ t : :L b :i. 1 :i. t.~:~ .:.
-9-
, :~= ,. check
is
"~:='~,'¢".~.," ...... ~: same
~, '+' , "-' ,,,' * ' ~, " / "
"q:i.mer~.~;:i.or~s.~Henc.e
.::~llowed
or',l'~::~ i f
.~::n ex,,,,~"ess:i.,:0n
both
of'
the
:i.d....o:f....s',,,,eed....dii~ .f' :i.d....of.._t:i.me_d:i.m S:i.m:i.].,:!::'r'].':~:~ ~., id....o't"_m.li~ss.._d:i.m::".=:i.d_of.....i!~,~'e.!!:;_d:i.m ~!i:S
the
m.:~.::de ,:ii:s f o l l o w s + o~.:..e~'~':~nds .i!~.re
of
followir',;~:J
is
would
be
t'::m.e
~"er'~de'r'ed
e "1'" "T" 0 )" +
:*"~,'/"
.':; T h e s e
o::.,.e~"~.:,.tors ch,.:~.n:.:Je t h e
dimensions
of
the
resu~ltir~::.:.~ e × m ~ ' e s s i o r , b'::.; .~ddir,::...~ o~" d:i. ffer.er,,:::.ir,.~.:.~i c~o~"~"es:..:.ondir,~.::.i d:i.mens:i, ons., Fo~'" e.:.:.,.:~.~ .~:,.n .~s.:~i.:i.:-::.~nment. o f " l:,he k i n d :i.d....o¢.....~!~:re.-::~:....d:i.m:!:=id_of'_].er,:,ith_dir~'~ ~.:: :i.d....of_].en:.:.~th_d:i.m !.~ :!.en::.:;:th = > 1 4. :I.~ :i.s va::l:i.d b e c , : i i : u s e d : i . m e n s : i , or~s o f R.:,I..!,,S b e c o m e Or, t . h e o t h e r h.:~..'.nd ' . / ' ,::):,,:.er.s.tor :, :i. nste,::~:d o'f" " , * " wo,..~:!.d n,:::,t, b e h,.'i~.s d:i.m F.e-cm:i. ss:i. b l e :i.n t h e sl:,;.:~t.ement bec.~use then n.,h.:.s ].er~.:..it.h =>l - :!. w h i c h :i.s d:i.ffer,::..:..nt, f ~ " o m t . h . ~ t o f ' L~H.~S.., All ss •~-e.~ :!. s w h :i.c:h ,....:..re d e c !.~::: ',"ed w :i. t ho,..~t D]:M ..:~r e "1.'....:~.'k, e n d:i.mension].ess c~u.~i.::r~t:i,t i e s , , A s'b,.!..:nd~"d P u n e t : i . or*~ l:,her'~ n e e d s t.o b e ~.:.~"o v :i. d e d ~. f',..m~cbior, i~!AG(X I: r ' e . ~ : ~ ] . _ w i t h _ d : i . m e r ' , s : i . or'~s) 1: ~'e..;~]. This function converts dimer~::!i, i o n ] . e s s r',:.:.:,~i~:l.:.Them n e m o n i c
.s.n ':::~ NAG
dimens ic, n ~ l st..-~.nds f o r
st-!!!:tements .:. e.:.~.:.~o S F ' E E D ~:::: 3~.0 M E T R E < B~!F !,:::,vet's > ::.':~ .... :.:'. ::::= d i m ..:::i.d_!:i.st> ~',~:=:i.d { , :i.d }
:'..:
SEC
to
.:.
1:= < s i m _ d : i . m > ', .::'.com~.:...dim> = re~;~:], d i m ::".:.:'.:::: d:i.m....id = > :i, n t _ c . o n s t . CUMULATIVE ~= C U M U L A T I V E + FORCE*D:I:STANCE*.D:i:STANCI:.::/(G*BO~:~YMASS) { Note the a.,.ul.~oma.'.t.:i.c c . o n v e P s : i . o n o 9 KMs t.o M E T R E s :}. C O U N T ~:: C O U N T + i end .; E A R T H M A S S .'.,'= C U M U L A T I V E / COUNT WR:I:TELN('AveP~.~:':Ie m{.~ss :,: - ' ~ E A R T H M A S S , " k:.::..i~!~')
:~:$:*************:~,~*************~:*********:~********************
:~k
-11-
(::ON£L.USiONS The
text
!::: does
not
,::~]..~im ar, e x h ~ i : u s t i v e
tre~!~.t:i,s e c,n the thou~.;iht i~", ..:..~dv...~..'.nt~::...-~es
subject b u t attem~.:.ts t o ,:::,~:.en .~i~ dif'f'erent lir',e o f .~..'.chin:.,.':i.n£." .~: :-ir,'..:..~.~i.~ter " r ' e l : i . ~ . b i t i t ' : : : ' . off S o f t w , . ~ : r e . . , The ,:::,i: t . h e a b o v e ,:.:.,::.~nsk~"uc.'ts ~!~:~",:.:.:, ~.'. (:!.) E.{{{se in
~,,Y'o~:~r~mmin: