A Parallel Algorithm for Calculating the Potential Energy in DNA

Size: px
Start display at page:

Download "A Parallel Algorithm for Calculating the Potential Energy in DNA"

Transcription

1 Proceedngs of the 28th Annual Hawa Internatonal Conference on System Scences 995 A Parallel Algorthm for Calculatng the Potental Energy n DNA John S. Conery, * Warner L. Petcolas, Thomas Rush III, Kesavan Shanmugam, * and Jose Domnguez * * Department of Computer and Informaton Scence Department of Chemstry Unversty of Oregon Eugene, OR emal: conery@cs.uoregon.edu Abstract The Dredng force feld s a seven-term equaton that descrbes the potental energy n a molecule as a functon of the relatve postons of bonded atoms and electrostatc nteractons between atoms that do not share a bond. For large molecules such as DNA, wth several thousand atoms, the O( n 2 ) nonbonded terms can requre a sgnfcant amount of computaton. In ths paper we present a data-parallel algorthm that takes tme O( n) on n processors. We compare the executon tme of our algorthm on a MasPar MP- wth an effcent sequental program runnng on an SGI workstaton. Introducton The long polymerc structure of deoxyrbonuclec acd (DNA) may change sgnfcantly as t performs ts vtal functons n lvng cellular organsms. The two man functons of DNA nclude replcaton, whch s needed for growth and the passng along of heredtary nformaton, and the transcrpton of the rbonuclec acds whch make the protens that regulate most of our bologcal processes. To help understand DNA s role n such events, researchers have been expendng consderable effort n determnng the three-dmensonal structure, or conformaton, of DNA under a great varety of condtons. In the past, X-ray crystallography has been a tremendous help n determnng some of the conformatons that DNA may adopt. It has the advantage that t expermentally provdes the average Cartesan coordnates for every atom n a molecule, and therefore the overall conformaton, but t also has several dsadvantages when t comes to studyng bologcal molecules n ther natural envronment. Two maor dsadvantages are that good crystallne DNA samples are not always easy to obtan, and that DNA s not naturally found as a sold. A promsng approach to ths problem s to combne computer modelng wth expermental methods to provde a better descrpton of the structure of DNA. Ths approach uses an expermental technque such as Nuclear Magnetc Resonance (NMR) or Raman spectroscopy to provde an ntal conformaton and then uses a mnmzaton algorthm to fnd the lowest energy conformaton n the neghborhood of the startng pont (e.g [2]). In ths paper we descrbe a new data-parallel algorthm for calculatng the energy of a sngle conformaton of a DNA molecule. Our algorthm wll compute the potental energy n a molecule wth n atoms, takng nto account the O( n 2 ) nteractons between all the atoms. The parallel algorthm runs n tme O( n) on n processors, whch s an mprovement over the O( n 2 ) tme complexty of a seral algorthm runnng on one processor. In order to avod calculatng all n 2 nteractons, t s common to set a cutoff dstance beyond whch energes are not calculated; for example, by settng the cutoff to 0 angstroms (Å) the program wll not compute the coulombc attracton of any par of atoms further than 0Å apart. Snce our algorthm s lnear n the number of atoms t s easer to calculate all nteractons and thus acheve a more accurate value of the total energy. The dfference n the calculated energy s nontrval 5% n one example molecule contanng 264 atoms and thus t s worthwhle to compute all nteractons when possble. In Secton 6 we gve a table that shows the energy values wth and wthout cutoffs. We also compare the executon tmes of a seral algorthm runnng on a Slcon Graphcs Indgo workstaton (part of a commercal package named BIOGRAF []) and our parallel algorthm runnng on a MasPar MP /95 $ IEEE 23

2 2 Background: Raman Spectroscopy Over the past twenty years, Raman spectroscopy has been developed to dentfy partcular conformatons of olgonucleotdes (short synthetc strands of DNA) n soluton, crystal and fber forms [7]. Only recently has ths nformaton been able to be used to determne a reasonable set of Cartesan coordnates for a whole olgomer of DNA n soluton. To date, only a few soluton structures have been solved because wthout other supportng expermental data (such as NMR data) there are a large number of calculatons whch need to be performed. Raman spectroscopy provdes nformaton about the energy (frequency) of the vbratons wthn a molecule [5]. Data are obtaned by shnng a monochromatc laser on the sample and detectng the lght beng scattered. A monochromator separates the lght nto ts component frequences, and a photomultpler tube detects the ntensty of lght of the dfferent frequences. Dfferent vbratons wthn a molecule wll produce dfferent peaks at dfferent frequences. The most lkely structure for the olgomer n soluton s the one whch wll reproduce the Raman spectrum and have the lowest energy. It s also true, and very mportant for ths applcaton, that a partcular vbraton wll have a slghtly dfferent frequency dependng on the geometry of the molecule. An example of ths s the Guanne breathng vbraton, whch appears at 625 cm, 665 cm, and 680 cm dependng on three dfferent conformatons of the DNA molecule (the unt cm - s a wavenumber, whch s drectly proportonal to frequency). Over the past twenty years, researchers have compared Raman spectra of crystals wth known Cartesan coordnates to make a lst of Raman conformatonal markers (some theoretcal calculatons were also performed). Usng these markers, a Raman experment can determne most of the structural nformaton of a molecule wth unknown geometry. Ths rough guess at a geometry may then be entered nto an energy mnmzaton program where the expermental geometry s to be determned. The Raman data can potentally dctate a structure whch has torsonal angles (see Secton 3.3) whch fall wthn ±0 degrees of the average soluton conformaton of the molecule. Wth ths ntal guess at the structure and a well defned, constraned regon of the molecule s multdmensonal conformatonal space, t s possble to more easly search for the locally global mnma. The long range goal of our research s to provde a more accurate descrpton of the average conformaton of large bologcal molecules by combnng expermental and computatonal methods. Nether class of methods alone s accurate enough. X-ray crystallography analyzes DNA and other molecules n crystallne form, whch has nherent naccuraces, and Raman and NMR methods can gve only partal nformaton at well-known markers. Computatonal technques alone are also nadequate: mnmzaton algorthms are prone to becomng trapped n local mnma and are very expensve for larger molecules snce there are so many dmensons n the search space. A combned expermental and computatonal method may be able to overcome these dffcultes and provde a more accurate pcture than ether method alone. The combned Raman/mnmzaton technque wll consst of. usng Raman conformatonal markers to obtan an ntal guess at a structure; 2. mnmzng ths structure to obtan a refned ntal structure; 3. systematcally mnmzng many ntal conformatons wthn the conformatonal space descrbed by the vbratonal spectra; and fnally 4. analyzng these mnmzed structures to obtan a fnal average soluton structure. 3 Energy Calculatons The energy calculatons are performed usng the Dredng force feld [6], whch s the sum of seven ndependent components: bond energy: -- k 2 b ( R R 0 ) 2 b angle energy: --k 2 θ ( θ θ 0 ) 2 θ torson energy: p --k 2 τ, n [ d cos( nφ) ] τ n = nverson energy: --C ( cosω cosω 2 0 ) 2 Coulombc attracton: R Q Q C ε 0 R 24

3 van der Waals nteracton: hydrogen bond nteracton: The frst four terms n ths energy feld are the bonded terms. They represent contrbutons to the total energy arsng from atoms whch are drectly bonded to each other. The four stuatons whch are taken nto account here are:. the energy due to a bond beng stretched or compressed; 2. the energy due to an angle formed by three atoms beng dsplaced from ts equlbrum poston; 3. the energy due to the torsonal angle formed by four sequentally bonded atoms beng dsplaced from ts equlbrum poston; and 4. the energy due to an atom beng dsplaced from ts equlbrum poston above the plane of three nearby atoms (known as an nverson). The remanng nonbonded terms are the electrostatc nteracton energes of an atom wth another atom n the molecule or the surroundng envronment. In these calculatons we do not compute nonbonded energy terms for atoms that are bonded,.e. the electrostatc nteractons between two bonded atoms s accounted for n the bond energy. In a large molecule, wth a thousand or more atoms, calculatng the nonbonded terms s the most tme consumng part of the calculaton snce there are on the order of n 2 nteractons n a molecule of n atoms. The overall goal of the computaton s to mnmze ths energy term by varyng the conformaton usng an optmzaton algorthm such as a conugate gradent or Newton method. In ths paper we present an effcent parallel algorthm for computng the energy of a sngle conformaton; at the end of the paper we descrbe how our algorthm can be embedded n an optmzaton algorthm. 3. Bonds R 0 D R R0 6 R R R D 0 5 R R R0 0 4 cos θ R H In the four bonded nteractons bond, angle, torson, and nverson energes a contrbuton to the total energy arses when atoms are dsplaced from ther equlbrum postons. In the bond term, R 0 s the equlbrum bond dstance specfc for the par of atoms n the bond, R s the current bond dstance, whch s calculated from ther Cartesan coordnates, and k b s a constant whch s also specfc for the par of atoms. When R s dfferent from R o (ether a postve or negatve dfference) ths term contrbutes to the total energy. Ths s analogous to, and actually modelled after, two balls connected by a sprng (Fgure a). When the sprng s stretched out past ts natural length, t reacts by tryng to return to ts equlbrum poston because ts energy s too hgh. The same s true when you compress the sprng,.e. the bond s too short. 3.2 Angles The term for the energy due to the angle formed by three atoms s dentcal to the bond term, except nstead of current and equlbrum bond length we compare the equlbrum angle θ 0 to the current angle θ (Fgure b). k θ s agan a constant that s specfc for the three atoms n the angle. As wth the bond term, only dsplacements from the equlbrum angle cause an energy contrbuton. 3.3 Torsons Torson refers to the force requred to twst a bond about ts horzontal axs. A torsonal term wll arse when there are four atoms,, k, and l lnked by bonds -, -k, and k-l. The current torsonal angle φ s the angle between the kl plane and the k plane (Fgure c). The torsonal term has the same concept as the bond and angle terms but s wrtten slghtly dfferently because there may be several equlbrum torsonal angles at perodc ntervals. The parameters that are specfc to the four-atom combnaton makng up the torsonal angle are the perodcty p of the potental, the force constant k τ, n, and the locatons of the p mnma, whch are accounted for by the constant d shown n the formula. The conventon s to defne a postve angle as clockwse lookng from atom toward atom k. In the Dredng force feld, t s also customary to rescale the force constant by dvdng t by the number of torsons defned around that same bond n the molecule. 3.4 Inversons --k 2 b ( R R o ) 2 An nverson occurs when an atom l that s at equlbrum wth respect to three other atoms,, and k s pushed to the other sde of the k plane (Fgure d). The nverson 25

4 (a) R (c) (d) ω l k (b) θ k φ k l l (e) θ H Fgure. (a) A bond between atoms and that are R angstroms apart. (b) The angle θ formed by atoms,, and k; atom s the central atom. (c) Torsonal energy s the result of twstng the bond between atoms and k. (d) The nverson energy term, from movng atom l to the other sde of the k plane. (e) Nonbonded hydrogen nteracton between donor and acceptor ; s bonded wth a hydrogen, θ s the angle formed by H. term has the same form as the bond and angle terms, where the nverson angle ω s the angle between the l axs and the k plane. The force constant here s labeled C, the current nverson angle s ω, and the equlbrum nverson angle s ω Nonbonded Coulombc Interactons In the coulombc term, the nteracton s due to the charges Q and Q on atoms and, where lke charges repel and unlke charges attract. Ths energy depends nversely on the dstance between the atoms, whch s agan calculated from ther Cartesan coordnates and scaled by ε 0 R. The scalng factor ε 0 s usually taken as, and the overall coulombc scalng factor, C 0 = puts the term n the proper unts to be added n the total energy summaton. As n all of the nonbonded nteractons, the nteractons between the atom beng summed over and any atoms t s drectly bonded to are not ncluded. In the coulombc term we also gnore -3 nteractons, or the nteracton between an atom and ts second nearest bonded neghbor. 3.6 Nonbonded van der Waals Interactons The van der Waals nteracton s another type of electrostatc nteracton. It has almost the same shape potental as the bond energy. The mnmum energy s at the equlbrum van der Waals dstance, R 0, and the potental energy depends on the magntude of the dsplacement from equlbrum. The constant D 0 s agan specfc to the atom par nvolved. Due to lmted expermental data, the R 0 and D 0 values between unlke atoms are calculated from the values for the nteracton between lke atoms. For example, R 0 for a C-H par can be estmated from the known R 0 values for C-C and H-H nteractons usng the formula R 0 CH R 0 CC R0 HH The values for D 0 are computed smlarly, replacng R by D n the above formula. 3.7 Hydrogen Bond Interactons = The hydrogen bond nteracton s calculated n the specal case where a donor atom (ether oxygen, ntrogen, or sulphur) has a bond to a hydrogen atom. The hydrogen s sngle electron s weakly attached, and the donor has room n ts outer shell for another electron, so the electron s pulled toward the donor. Ths alters the electrostatc charge between the donor and other atoms (known as acceptors). 26

5 H 3 H 5 C H 4 The hydrogen bond term s a functon of the angle H where s the donor and s the acceptor (Fgure e). It s almost dentcal to the form of the van der Waals term 4 except for the cos term. 4 Data Dstrbuton In order to calculate the energy of a confguraton we need to dstrbute the data both the Cartesan coordnates of the atoms and the relevant energy term constants to the processng elements (PEs) that need the data. In our data-parallel approach we dstrbute the atoms among PEs so that each PE wll hold the descrpton of one atom and the bonds t partcpates n. A PE wll perform all the calculatons concernng ts atom, whch we call the local atom. In the descrpton of the algorthm we wll assume there are more PEs than atoms; the mappng of atoms to PEs when there are fewer actual PEs s straghtforward and C 2 H 6 H 8 Bonds Angles Torsons Fgure 2. Ethane Molecule and ts Bonds, Angles, and Torsons H can often be done by a compler. At the end of the data dstrbuton, each PE wll contan:. An Atom structure ntalzed wth nformaton about one atom 2. An array of bond nformaton (one entry for each atom the local atom s connected to n the molecule) 3. Informaton about angles n whch the local atom s the central atom 4. An array of torsons and nversons, wth one entry for each possble torson where the local atom s one of the two central atoms The reason angles and torsons are lmted to those n whch the local atom s a central atom s to reduce the amount of redundant nformaton. If we kept all the angles n whch an atom partcpates every angle would be stored on three PEs, one for each atom n the angle. Once the data has been dstrbuted, the energy calculaton problem becomes one of fndng all the bond, angle, torson and non-bonded terms n whch ths atom partcpates and then calculatng the force due to each term. The total energy of the molecule s the sum of all these forces over all atoms, beng careful not to nclude duplcate energy terms. For example, f there s a bond between atoms A and B, we want the processor for ether A or B, but not both, to calculate the bond energy and contrbute t to the fnal sum. As an example, Fgure 2 shows an ethane molecule and the bond, angle and torson terms present n the molecule. The energy calculaton algorthm should generate these terms and calculate the forces due to them. In addton, t should calculate the force due to non-bonded terms. The forces wll be calculated n parallel on each PE and then combned (also n parallel) and forwarded to a front-end processor or user node for output. 4. The Vstor Algorthm Our method for computng bond, angles, torsons, and nversons s based on the Fox rng algorthm used to compute the nteractons n an n-body problem [8]. Our algorthm, whch we dubbed the vstor algorthm, s smlar to the Fox method n that descrptons of atoms are sent around a vrtual rng to PEs where other atoms resde, but t has the extra complcaton that we need to compute angles, torsons, and other terms that nvolve more than two bodes. If each PE has an atom, the vstaton operaton can be accomplshed by shftng the atoms around a vrtual rng, as llustrated n Fgure 3. Almost every physcal processor 27

6 topology has an embedded rng structure, so ths communcaton pattern s lkely to be very effcent [4][8]. It wll take n steps to send an atom around the entre rng, where n s the number of atoms n the molecule. We assume every PE mantans a local atom, whch s named a n the followng descrpton. In addton, each PE holds the descrpton of a second atom, named x. The step send x to the rght means the PE should send the descrpton of x on the communcaton channel that connects t to ts neghbor on the rght n the vrtual rng. Smlarly, read x from the left means the PE should read nformaton from the communcaton channel connectng t to ts left neghbor and store ths descrpton n x. Thus durng the algorthm x s contnually updated, and at any one tme x holds the descrpton of a vstng atom. Vstor Algorthm (Bonds Only) do n parallel on each PE that contans an atom a: x = a repeat n tmes: send x to the rght read x from the left f a s connected to x: calculate the bond between a and x else: calculate the nonbonded nteracton between a and x After n cycles an atom that starts at PE wll have passed completely around the rng and wll now be vstng the PE drectly to the left of PE. Durng ts ourney atom wll be the vstng atom on every other PE n the rng, and each of these PEs wll have had a chance to compute the energy term represented by ther local atoms and the travelng atom. Note also that durng each cycle n PEs wll smultaneously compute n dfferent energy terms, correspondng to the nteractons between ther local atom and the atom that s currently vstng that PE. Snce there are n cycles n the outer loop of the vstors algorthm, the tme requred to compute all energy terms wll be O( n) on n processors, whch s an mprovement over the O( n 2 ) that would be requred on a sngle processor. The above algorthm does not address the problem of duplcate calculatons, and t omts the steps that do the calculatons for angles and torsons. As we wll see, communcaton wll be more effcent f we go ahead and duplcate the bond calculatons, but we wll avod duplcatng angles and torsons. 4.2 Angles and Torsons n the Vstor Algorthm allow PE a to compute all the angles that contan atom a. Ths means that PE a wll generate angles of the form a-x-x, x-a-x, and x-x-a, where x s a nonlocal atom, and that every angle a-b-c wll be duplcated n PE a, PE b and PE c. A problem wth ths approach s that t requres a second pass around the rng because we do not know the order n whch atoms wll vst each other. For example, assume the molecule contans an angle a-b-c. Wth the straghtforward approach the angle should be generated by PE a. But f c vsts PE a before b does, ths angle wll not be generated because bond a-b wll not be present when c vsts PE a. Untl b vsts PE a, PE a wll not know t has to look for c n order to compute the angle a-b-c. We can solve ths problem by usng two communcaton cycles, one for bonds and another for angles. On the frst pass all the bonds are calculated, and by the second pass each PE wll be able to detect when the thrd atom of an angle passes by. A better approach smultaneously solves the problems of duplcate angle calculatons and usng an extra pass. Instead of generatng all the angles that contan a, PE a wll generate only those angles n whch a s the central atom. That s, PE a wll generate only angles of the form x-a-y. Now each angle occurs only once n the system on the PE that s the home of the center atom and two connectng atoms can be recognzed and used on the frst pass around the vrtual rng. Compute Angles [done when atom x vsts PE a :] f x s connected to a: calculate and store bond x-a for all bonds a-b created so far: calculate and store angle x-a-b else: calculate nonbonded nteractons between a and x We can use a smlar strategy for torsons and nversons. PE a wll compute torsons n whch atom a occurs as ether the second or thrd atom,.e. torsons of the form x-a-x-x or x-x-a-x. However, the prevous problems have returned: each torson s computed on two PEs, and t wll take multple passes to make sure a PE has all the nformaton t needs. Once all the angles have been computed, however, t wll take only one addtonal pass to compute the torsons. The complete vstor algorthm thus uses the frst pass to compute bonds and angles and a second pass to compute torsons and nversons. We wll correct for the fact that bonds, torsons, and nversons are computed twce durng the summng phase of the algorthm, whch s descrbed next. The straghtforward opton for computng angles s to 28

7 5 Summng the Energy Terms When the vstor algorthm termnates, the bond, angle, torson, and nonbonded energy terms are dstrbuted across all the PEs. The fnal step s to collect and sum all the terms. Every parallel processor has a method for applyng a bnary assocatve operator such as addton to elements that are dstrbuted over all the PEs. Ths operaton, often called a reducton, can be done n O( log 2 n) steps on n processors. For example, f a vector of 000 elements s allocated such that x s stored on PE, we can compute n 0 steps ( log ). In the followng descrpton, bonds means the sum of all the bond energes for the atom a,.e. all the bond forces computed at PE a n the prevous phases. bonds and torsons are angle and torson forces computed at PE a for atom a. The expresson reduce(x) means compute the sum of all the local varables x on each of the PEs, returnng a sngle global sum. Sum Energy Terms do n parallel on each PE that contans an atom a: f = bonds f2 = angles f3 = torsons f4 = nversons f5 = nonbonded terms x 000 bond-force = reduce(f)/2 angle-force = reduce(f2) torson-force = reduce(f3)/2 nverson-force = reduce(f4)/2 nonbonded-force = reduce(f5)/2 E = bond-force + angle-force + torson-force + nverson-force + nonbonded-force Snce the reductons are O( logn) the total tme to compute the energy s O( logn + n) = O( n). 6 Implementaton and Evaluaton We mplemented he vstor algorthm on a MasPar 04, an SIMD machne wth 4096 processng elements. The code was wrtten n MPL, a data-parallel language based on ANSI C. The vrtual rng was mplemented va the X-net, a nearest neghbor communcaton channel wth torodal wrap. To make sure our program was producng the correct results and to compare our parallel algorthm wth a very good seral algorthm we used BIOGRAF [] to compute the free energy n seven molecules, rangng n sze from 3 atoms to 2544 atoms. We ran BIOGRAF on a Slcon Graphcs Indgo workstaton. We then computed the energy of the same seven molecules on the MasPar. The tmng results are lsted n Table. The table shows two columns for BIOGRAF. The frst column s the executon tme when the nonbonded nteractons were cut off at 0Å,.e. when two atoms were farther PE PE 2 PE n Atom: Label: Type: C Charge: X: Y: Z: Connectons: vdw: bonds: angles: torsons: Atom: Label: 2 Type: H Charge: X: Y: Z: Connectons: vdw: bonds: angles: torsons: Atom: Label: n Type: C Charge: X: Y: Z: Connectons: vdw: bonds: angles: torsons: Fgure 3. A Rng of Processors 29

8 Table : Sequental Executon on SGI vs. Parallel Executon on MasPar Executon Tme (seconds) Molecule Sze (#Atoms) Number of Nonbonded Terms BIOGRAF on SGI cutoff no cutoff bonds, angles, torsons MasPar calculate energy Cutoff Error (%) <. 66 2, <. 35 8, , , , , ,544 3,273, than 0Å apart the program dd not compute any nonbonded energy terms. The second column shows the executon tme when all nonbonded terms were calculated, whch was acheved by settng the cutoff dstance to a very large value. The last column n the table shows the dfference n energy (as a percentage) when t was calculated wth and wthout all nonbonded nteractons. From ths small set of data t appears that the error grows wth the sze of the molecule, and that t wll be mportant to use all nteractons when searchng for the mnmal energy conformaton of large molecules. The executon tmes shown for our MasPar program are the tme to construct the bonds, angles, and torsons (two passes around the vrtual rng) and the tme to calculate the energy of a sngle conformaton (one pass, calculatng all seven terms at each pont). It does not nclude the tme to load the descrptons of the atoms to ndvdual PEs, whch s substantal on our machne wth a low bandwdth connecton between the PEs and the front-end workstaton (the tme to load the descrptons of every atom n a molecule s comparable to the tme to calculate the energy). The executon tmes for BIOGRAF measure only the tme to compute the energy. BIOGRAF allows users to specfy whch of the seven energy terms to use n a calculaton. We frst ran the program and measure the executon tme t 0 when no energy terms were ncluded. We then ran the program agan, wth and wthout nonbonded nteractons, and subtracted t 0 from these tmes to get the tmes shown n the table. Wth 2544 atoms there were too many hydrogen bond nteractons and BIOGRAF was unable to produce a result. Fgure 4 s a plot that compares the energy calculaton tmes for BIOGRAF, usng no cutoffs, wth the tme to do the same calculaton on the MasPar. As expected, for small atoms, the SGI s much faster: t has a 50MHz processor and 32-bt nternal data path, whereas the MasPar MP- has a 2.5MHz processor and 4-bt data path n the PEs. The plot (whch has a log scale on the vertcal axs) also shows the expected lnear growth of the executon tme of the MasPar program as a functon of the number of atoms. For ths set of data the BIOGRAF executon s worse than expected; t should grow quadratcally but nstead s steeper. Most of ths tme s accounted for by the hydrogen bond nteracton term; when ths term s removed, the BIOGRAF plot s closer to quadratc and t does not exceed the MasPar tme untl the number of atoms s greater than Summary and Future Work Ths paper descrbes the desgn and mplementaton of a data-parallel algorthm for computng the potental energy n a bologcal molecule usng the Dredng force feld. The tme to compute the energy n a molecule wth n atoms s O( n) on n processors. The parallel algorthm allows one to compute all nonbonded nteractons, whch would requre tme O( n 2 ) on a sngle processor. Ignorng nonbonded terms for atoms that are beyond a small (0Å) cutoff dstance can lead to errors as large as 5%, so t would appear to be worthwhle to compute all nteractons. The parallel algorthm, when mplemented on a MasPar MP-, begns to be more effectve (faster and more accurate) than a sequental algorthm runnng on an SGI Indgo workstaton on molecules wth about 750 atoms. 30

9 bograf maspar Tme (sec) to Calculate Energy n a Sngle Conformaton Fgure 4. Comparson of the executon tme of the vstor algorthm runnng on a MasPar MP-04 and BIOGRAF on an SGI Indgo. The gray bars represent the error when not all nonbonded terms are calculated (scale on the rght) % 0% 5% Number of Atoms Our future plans are to optmze the algorthm so t can be used as part of an energy mnmzaton procedure. In a mnmzaton program the structure of the molecule (ts bonds, angles, and torsons) needs to be computed only once; after that a sngle pass around the vrtual rng wll suffce to calculate the energy of each new conformaton. A straghtforward method for usng the vstor algorthm on the MasPar wll be to run a standard sequental optmzaton code on the DECstaton front-end and have t nvoke the parallel algorthm to compute the energy n each new conformaton. A longer range proect wll be to nvestgate a parallel mnmzaton technque. The vstor algorthm should be easy to mplement on a general parallel machne. It wll be smple to code t for SPMD executon n a language such as Dataparallel C [3] or Hgh Performance Fortran and let complers for those languages allocate atoms to processors. Wth a lttle extra work, for example fgurng out how to ppelne a batch of atoms from one processor to the next whle processors are workng on a dfferent set of atoms, t should be possble to mplement the method n a message passng style and get t to run effcently on a dstrbuted memory parallel processor or heterogeneous network of workstatons. 8 References [] BIOGRAF ver. 3.0, Molecular Smulatons, Inc., Waltham, MA. [2] Da, Z., Dauchez, M., Thomas, G., and Petcolas, W.L. J. Bomolecular Structure and Dynamcs 9(6), pp , 992. [3] Hatcher, P. J. and Qunn, M. J. Dataparallel Programmng. MIT Press, 99. [4] Leghton, F. T. Introducton Parallel Algorthms and Archtectures: Arrays, Trees, and Hypercubes. Morgan Kauffman Publshers, San Mateo, 992. [5] Long, D.A. Raman Spectroscopy. McGraw-Hll, 977. [6] Mayo, S.L., Olafson, B.D., and Goddard, W.A. III. J. Phys. Chem. 94, pp , 990. [7] Petcolas, W.L. and Evertsz, E. Methods n Enzymology, vol. 2, pp , 992. [8] Setz, C. L. The Cosmc Cube. Communcatons of the ACM 28(), Jan

A Parallel Algorithm for Calculating the Potential Energy in DNA

A Parallel Algorithm for Calculating the Potential Energy in DNA A Parallel Algorithm for Calculating the Potential Energy in DNA John S. Conery,* Warner L. Peticolas,+ Thomas Rush III,+ Kesavan Shanmugam,* and Jose Dominguez* * Department of Computer and Information

More information

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law: CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Supporting Information

Supporting Information Supportng Informaton The neural network f n Eq. 1 s gven by: f x l = ReLU W atom x l + b atom, 2 where ReLU s the element-wse rectfed lnear unt, 21.e., ReLUx = max0, x, W atom R d d s the weght matrx to

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results.

For now, let us focus on a specific model of neurons. These are simplified from reality but can achieve remarkable results. Neural Networks : Dervaton compled by Alvn Wan from Professor Jtendra Malk s lecture Ths type of computaton s called deep learnng and s the most popular method for many problems, such as computer vson

More information

Lecture Note 3. Eshelby s Inclusion II

Lecture Note 3. Eshelby s Inclusion II ME340B Elastcty of Mcroscopc Structures Stanford Unversty Wnter 004 Lecture Note 3. Eshelby s Incluson II Chrs Wenberger and We Ca c All rghts reserved January 6, 004 Contents 1 Incluson energy n an nfnte

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Chapter Newton s Method

Chapter Newton s Method Chapter 9. Newton s Method After readng ths chapter, you should be able to:. Understand how Newton s method s dfferent from the Golden Secton Search method. Understand how Newton s method works 3. Solve

More information

Feature Selection: Part 1

Feature Selection: Part 1 CSE 546: Machne Learnng Lecture 5 Feature Selecton: Part 1 Instructor: Sham Kakade 1 Regresson n the hgh dmensonal settng How do we learn when the number of features d s greater than the sample sze n?

More information

One-sided finite-difference approximations suitable for use with Richardson extrapolation

One-sided finite-difference approximations suitable for use with Richardson extrapolation Journal of Computatonal Physcs 219 (2006) 13 20 Short note One-sded fnte-dfference approxmatons sutable for use wth Rchardson extrapolaton Kumar Rahul, S.N. Bhattacharyya * Department of Mechancal Engneerng,

More information

Physics 5153 Classical Mechanics. Principle of Virtual Work-1

Physics 5153 Classical Mechanics. Principle of Virtual Work-1 P. Guterrez 1 Introducton Physcs 5153 Classcal Mechancs Prncple of Vrtual Work The frst varatonal prncple we encounter n mechancs s the prncple of vrtual work. It establshes the equlbrum condton of a mechancal

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl RECURSIVE SPLINE INTERPOLATION METHOD FOR REAL TIME ENGINE CONTROL APPLICATIONS A. Stotsky Volvo Car Corporaton Engne Desgn and Development Dept. 97542, HA1N, SE- 405 31 Gothenburg Sweden. Emal: astotsky@volvocars.com

More information

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud

Resource Allocation with a Budget Constraint for Computing Independent Tasks in the Cloud Resource Allocaton wth a Budget Constrant for Computng Independent Tasks n the Cloud Wemng Sh and Bo Hong School of Electrcal and Computer Engneerng Georga Insttute of Technology, USA 2nd IEEE Internatonal

More information

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS) Some Comments on Acceleratng Convergence of Iteratve Sequences Usng Drect Inverson of the Iteratve Subspace (DIIS) C. Davd Sherrll School of Chemstry and Bochemstry Georga Insttute of Technology May 1998

More information

EEE 241: Linear Systems

EEE 241: Linear Systems EEE : Lnear Systems Summary #: Backpropagaton BACKPROPAGATION The perceptron rule as well as the Wdrow Hoff learnng were desgned to tran sngle layer networks. They suffer from the same dsadvantage: they

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

Second Order Analysis

Second Order Analysis Second Order Analyss In the prevous classes we looked at a method that determnes the load correspondng to a state of bfurcaton equlbrum of a perfect frame by egenvalye analyss The system was assumed to

More information

4DVAR, according to the name, is a four-dimensional variational method.

4DVAR, according to the name, is a four-dimensional variational method. 4D-Varatonal Data Assmlaton (4D-Var) 4DVAR, accordng to the name, s a four-dmensonal varatonal method. 4D-Var s actually a drect generalzaton of 3D-Var to handle observatons that are dstrbuted n tme. The

More information

Numerical Heat and Mass Transfer

Numerical Heat and Mass Transfer Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Chapter 8. Potential Energy and Conservation of Energy

Chapter 8. Potential Energy and Conservation of Energy Chapter 8 Potental Energy and Conservaton of Energy In ths chapter we wll ntroduce the followng concepts: Potental Energy Conservatve and non-conservatve forces Mechancal Energy Conservaton of Mechancal

More information

Chapter 6. Supplemental Text Material

Chapter 6. Supplemental Text Material Chapter 6. Supplemental Text Materal S6-. actor Effect Estmates are Least Squares Estmates We have gven heurstc or ntutve explanatons of how the estmates of the factor effects are obtaned n the textboo.

More information

Markov Chain Monte Carlo Lecture 6

Markov Chain Monte Carlo Lecture 6 where (x 1,..., x N ) X N, N s called the populaton sze, f(x) f (x) for at least one {1, 2,..., N}, and those dfferent from f(x) are called the tral dstrbutons n terms of mportance samplng. Dfferent ways

More information

Generalized Linear Methods

Generalized Linear Methods Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set

More information

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is.

Moments of Inertia. and reminds us of the analogous equation for linear momentum p= mv, which is of the form. The kinetic energy of the body is. Moments of Inerta Suppose a body s movng on a crcular path wth constant speed Let s consder two quanttes: the body s angular momentum L about the center of the crcle, and ts knetc energy T How are these

More information

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin

LOW BIAS INTEGRATED PATH ESTIMATORS. James M. Calvin Proceedngs of the 007 Wnter Smulaton Conference S G Henderson, B Bller, M-H Hseh, J Shortle, J D Tew, and R R Barton, eds LOW BIAS INTEGRATED PATH ESTIMATORS James M Calvn Department of Computer Scence

More information

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM

ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM ELASTIC WAVE PROPAGATION IN A CONTINUOUS MEDIUM An elastc wave s a deformaton of the body that travels throughout the body n all drectons. We can examne the deformaton over a perod of tme by fxng our look

More information

Curve Fitting with the Least Square Method

Curve Fitting with the Least Square Method WIKI Document Number 5 Interpolaton wth Least Squares Curve Fttng wth the Least Square Method Mattheu Bultelle Department of Bo-Engneerng Imperal College, London Context We wsh to model the postve feedback

More information

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1

Physics 5153 Classical Mechanics. D Alembert s Principle and The Lagrangian-1 P. Guterrez Physcs 5153 Classcal Mechancs D Alembert s Prncple and The Lagrangan 1 Introducton The prncple of vrtual work provdes a method of solvng problems of statc equlbrum wthout havng to consder the

More information

Global Sensitivity. Tuesday 20 th February, 2018

Global Sensitivity. Tuesday 20 th February, 2018 Global Senstvty Tuesday 2 th February, 28 ) Local Senstvty Most senstvty analyses [] are based on local estmates of senstvty, typcally by expandng the response n a Taylor seres about some specfc values

More information

Electronic Quantum Monte Carlo Calculations of Energies and Atomic Forces for Diatomic and Polyatomic Molecules

Electronic Quantum Monte Carlo Calculations of Energies and Atomic Forces for Diatomic and Polyatomic Molecules RESERVE HIS SPACE Electronc Quantum Monte Carlo Calculatons of Energes and Atomc Forces for Datomc and Polyatomc Molecules Myung Won Lee 1, Massmo Mella 2, and Andrew M. Rappe 1,* 1 he Maknen heoretcal

More information

Kinematics in 2-Dimensions. Projectile Motion

Kinematics in 2-Dimensions. Projectile Motion Knematcs n -Dmensons Projectle Moton A medeval trebuchet b Kolderer, c1507 http://members.net.net.au/~rmne/ht/ht0.html#5 Readng Assgnment: Chapter 4, Sectons -6 Introducton: In medeval das, people had

More information

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming

EEL 6266 Power System Operation and Control. Chapter 3 Economic Dispatch Using Dynamic Programming EEL 6266 Power System Operaton and Control Chapter 3 Economc Dspatch Usng Dynamc Programmng Pecewse Lnear Cost Functons Common practce many utltes prefer to represent ther generator cost functons as sngle-

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

Gravitational Acceleration: A case of constant acceleration (approx. 2 hr.) (6/7/11)

Gravitational Acceleration: A case of constant acceleration (approx. 2 hr.) (6/7/11) Gravtatonal Acceleraton: A case of constant acceleraton (approx. hr.) (6/7/11) Introducton The gravtatonal force s one of the fundamental forces of nature. Under the nfluence of ths force all objects havng

More information

MOLECULAR DYNAMICS ,..., What is it? 2 = i i

MOLECULAR DYNAMICS ,..., What is it? 2 = i i MOLECULAR DYNAMICS What s t? d d x t 2 m 2 = F ( x 1,..., x N ) =1,,N r ( x1 ( t),..., x ( t)) = v = ( x& 1 ( t ),..., x& ( t )) N N What are some uses of molecular smulatons and modelng? Conformatonal

More information

CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING INTRODUCTION

CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING INTRODUCTION CONTRAST ENHANCEMENT FOR MIMIMUM MEAN BRIGHTNESS ERROR FROM HISTOGRAM PARTITIONING N. Phanthuna 1,2, F. Cheevasuvt 2 and S. Chtwong 2 1 Department of Electrcal Engneerng, Faculty of Engneerng Rajamangala

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Unit 5: Quadratic Equations & Functions

Unit 5: Quadratic Equations & Functions Date Perod Unt 5: Quadratc Equatons & Functons DAY TOPIC 1 Modelng Data wth Quadratc Functons Factorng Quadratc Epressons 3 Solvng Quadratc Equatons 4 Comple Numbers Smplfcaton, Addton/Subtracton & Multplcaton

More information

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information

Army Ants Tunneling for Classical Simulations

Army Ants Tunneling for Classical Simulations Electronc Supplementary Materal (ESI) for Chemcal Scence. Ths journal s The Royal Socety of Chemstry 2014 electronc supplementary nformaton (ESI) for Chemcal Scence Army Ants Tunnelng for Classcal Smulatons

More information

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS Avalable onlne at http://sck.org J. Math. Comput. Sc. 3 (3), No., 6-3 ISSN: 97-537 COMPARISON OF SOME RELIABILITY CHARACTERISTICS BETWEEN REDUNDANT SYSTEMS REQUIRING SUPPORTING UNITS FOR THEIR OPERATIONS

More information

Indeterminate pin-jointed frames (trusses)

Indeterminate pin-jointed frames (trusses) Indetermnate pn-jonted frames (trusses) Calculaton of member forces usng force method I. Statcal determnacy. The degree of freedom of any truss can be derved as: w= k d a =, where k s the number of all

More information

An Algorithm to Solve the Inverse Kinematics Problem of a Robotic Manipulator Based on Rotation Vectors

An Algorithm to Solve the Inverse Kinematics Problem of a Robotic Manipulator Based on Rotation Vectors An Algorthm to Solve the Inverse Knematcs Problem of a Robotc Manpulator Based on Rotaton Vectors Mohamad Z. Al-az*, Mazn Z. Othman**, and Baker B. Al-Bahr* *AL-Nahran Unversty, Computer Eng. Dep., Baghdad,

More information

arxiv:cs.cv/ Jun 2000

arxiv:cs.cv/ Jun 2000 Correlaton over Decomposed Sgnals: A Non-Lnear Approach to Fast and Effectve Sequences Comparson Lucano da Fontoura Costa arxv:cs.cv/0006040 28 Jun 2000 Cybernetc Vson Research Group IFSC Unversty of São

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Robert Eisberg Second edition CH 09 Multielectron atoms ground states and x-ray excitations

Robert Eisberg Second edition CH 09 Multielectron atoms ground states and x-ray excitations Quantum Physcs 量 理 Robert Esberg Second edton CH 09 Multelectron atoms ground states and x-ray exctatons 9-01 By gong through the procedure ndcated n the text, develop the tme-ndependent Schroednger equaton

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

Lagrange Multipliers. A Somewhat Silly Example. Monday, 25 September 2013

Lagrange Multipliers. A Somewhat Silly Example. Monday, 25 September 2013 Lagrange Multplers Monday, 5 September 013 Sometmes t s convenent to use redundant coordnates, and to effect the varaton of the acton consstent wth the constrants va the method of Lagrange undetermned

More information

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification

Department of Electrical & Electronic Engineeing Imperial College London. E4.20 Digital IC Design. Median Filter Project Specification Desgn Project Specfcaton Medan Flter Department of Electrcal & Electronc Engneeng Imperal College London E4.20 Dgtal IC Desgn Medan Flter Project Specfcaton A medan flter s used to remove nose from a sampled

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION 1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

A Simple Inventory System

A Simple Inventory System A Smple Inventory System Lawrence M. Leems and Stephen K. Park, Dscrete-Event Smulaton: A Frst Course, Prentce Hall, 2006 Hu Chen Computer Scence Vrgna State Unversty Petersburg, Vrgna February 8, 2017

More information

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry

Workshop: Approximating energies and wave functions Quantum aspects of physical chemistry Workshop: Approxmatng energes and wave functons Quantum aspects of physcal chemstry http://quantum.bu.edu/pltl/6/6.pdf Last updated Thursday, November 7, 25 7:9:5-5: Copyrght 25 Dan Dll (dan@bu.edu) Department

More information

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg

princeton univ. F 17 cos 521: Advanced Algorithm Design Lecture 7: LP Duality Lecturer: Matt Weinberg prnceton unv. F 17 cos 521: Advanced Algorthm Desgn Lecture 7: LP Dualty Lecturer: Matt Wenberg Scrbe: LP Dualty s an extremely useful tool for analyzng structural propertes of lnear programs. Whle there

More information

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions

THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructions THE VIBRATIONS OF MOLECULES II THE CARBON DIOXIDE MOLECULE Student Instructons by George Hardgrove Chemstry Department St. Olaf College Northfeld, MN 55057 hardgrov@lars.acc.stolaf.edu Copyrght George

More information

Week 6, Chapter 7 Sect 1-5

Week 6, Chapter 7 Sect 1-5 Week 6, Chapter 7 Sect 1-5 Work and Knetc Energy Lecture Quz The frctonal force of the floor on a large sutcase s least when the sutcase s A.pushed by a force parallel to the floor. B.dragged by a force

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

CHAPTER 14 GENERAL PERTURBATION THEORY

CHAPTER 14 GENERAL PERTURBATION THEORY CHAPTER 4 GENERAL PERTURBATION THEORY 4 Introducton A partcle n orbt around a pont mass or a sphercally symmetrc mass dstrbuton s movng n a gravtatonal potental of the form GM / r In ths potental t moves

More information

Appendix B: Resampling Algorithms

Appendix B: Resampling Algorithms 407 Appendx B: Resamplng Algorthms A common problem of all partcle flters s the degeneracy of weghts, whch conssts of the unbounded ncrease of the varance of the mportance weghts ω [ ] of the partcles

More information

Negative Binomial Regression

Negative Binomial Regression STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted... 10 Predctons...

More information

Which Separator? Spring 1

Which Separator? Spring 1 Whch Separator? 6.034 - Sprng 1 Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng Whch Separator? Mamze the margn to closest ponts 6.034 - Sprng 3 Margn of a pont " # y (w $ + b) proportonal

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

Lab 2e Thermal System Response and Effective Heat Transfer Coefficient

Lab 2e Thermal System Response and Effective Heat Transfer Coefficient 58:080 Expermental Engneerng 1 OBJECTIVE Lab 2e Thermal System Response and Effectve Heat Transfer Coeffcent Warnng: though the experment has educatonal objectves (to learn about bolng heat transfer, etc.),

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Canonical transformations

Canonical transformations Canoncal transformatons November 23, 2014 Recall that we have defned a symplectc transformaton to be any lnear transformaton M A B leavng the symplectc form nvarant, Ω AB M A CM B DΩ CD Coordnate transformatons,

More information

Physics 2A Chapter 3 HW Solutions

Physics 2A Chapter 3 HW Solutions Phscs A Chapter 3 HW Solutons Chapter 3 Conceptual Queston: 4, 6, 8, Problems: 5,, 8, 7, 3, 44, 46, 69, 70, 73 Q3.4. Reason: (a) C = A+ B onl A and B are n the same drecton. Sze does not matter. (b) C

More information

Why BP Works STAT 232B

Why BP Works STAT 232B Why BP Works STAT 232B Free Energes Helmholz & Gbbs Free Energes 1 Dstance between Probablstc Models - K-L dvergence b{ KL b{ p{ = b{ ln { } p{ Here, p{ s the eact ont prob. b{ s the appromaton, called

More information

CSC 411 / CSC D11 / CSC C11

CSC 411 / CSC D11 / CSC C11 18 Boostng s a general strategy for learnng classfers by combnng smpler ones. The dea of boostng s to take a weak classfer that s, any classfer that wll do at least slghtly better than chance and use t

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

More information

Prof. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model

Prof. Dr. I. Nasser Phys 630, T Aug-15 One_dimensional_Ising_Model EXACT OE-DIMESIOAL ISIG MODEL The one-dmensonal Isng model conssts of a chan of spns, each spn nteractng only wth ts two nearest neghbors. The smple Isng problem n one dmenson can be solved drectly n several

More information

PHYS 705: Classical Mechanics. Newtonian Mechanics

PHYS 705: Classical Mechanics. Newtonian Mechanics 1 PHYS 705: Classcal Mechancs Newtonan Mechancs Quck Revew of Newtonan Mechancs Basc Descrpton: -An dealzed pont partcle or a system of pont partcles n an nertal reference frame [Rgd bodes (ch. 5 later)]

More information

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations

1 Derivation of Rate Equations from Single-Cell Conductance (Hodgkin-Huxley-like) Equations Physcs 171/271 -Davd Klenfeld - Fall 2005 (revsed Wnter 2011) 1 Dervaton of Rate Equatons from Sngle-Cell Conductance (Hodgkn-Huxley-lke) Equatons We consder a network of many neurons, each of whch obeys

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

CHAPTER 17 Amortized Analysis

CHAPTER 17 Amortized Analysis CHAPTER 7 Amortzed Analyss In an amortzed analyss, the tme requred to perform a sequence of data structure operatons s averaged over all the operatons performed. It can be used to show that the average

More information

Temperature. Chapter Heat Engine

Temperature. Chapter Heat Engine Chapter 3 Temperature In prevous chapters of these notes we ntroduced the Prncple of Maxmum ntropy as a technque for estmatng probablty dstrbutons consstent wth constrants. In Chapter 9 we dscussed the

More information

Physics 181. Particle Systems

Physics 181. Particle Systems Physcs 181 Partcle Systems Overvew In these notes we dscuss the varables approprate to the descrpton of systems of partcles, ther defntons, ther relatons, and ther conservatons laws. We consder a system

More information

ReaxFF Potential Functions

ReaxFF Potential Functions ReaxFF Potental Functons Supportng nformaton for the manuscrpt A ReaxFF Reactve Force Feld for Molecular Dynamcs Smulatons of Hydrocarbon Oxdaton by Kmberly Chenoweth Adr CT van Dun and Wllam A Goddard

More information

SINGLE EVENTS, TIME SERIES ANALYSIS, AND PLANETARY MOTION

SINGLE EVENTS, TIME SERIES ANALYSIS, AND PLANETARY MOTION SINGLE EVENTS, TIME SERIES ANALYSIS, AND PLANETARY MOTION John N. Harrs INTRODUCTION The advent of modern computng devces and ther applcaton to tme-seres analyses permts the nvestgaton of mathematcal and

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

THE SUMMATION NOTATION Ʃ

THE SUMMATION NOTATION Ʃ Sngle Subscrpt otaton THE SUMMATIO OTATIO Ʃ Most of the calculatons we perform n statstcs are repettve operatons on lsts of numbers. For example, we compute the sum of a set of numbers, or the sum of the

More information

Hongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k)

Hongyi Miao, College of Science, Nanjing Forestry University, Nanjing ,China. (Received 20 June 2013, accepted 11 March 2014) I)ϕ (k) ISSN 1749-3889 (prnt), 1749-3897 (onlne) Internatonal Journal of Nonlnear Scence Vol.17(2014) No.2,pp.188-192 Modfed Block Jacob-Davdson Method for Solvng Large Sparse Egenproblems Hongy Mao, College of

More information

The optimal delay of the second test is therefore approximately 210 hours earlier than =2.

The optimal delay of the second test is therefore approximately 210 hours earlier than =2. THE IEC 61508 FORMULAS 223 The optmal delay of the second test s therefore approxmately 210 hours earler than =2. 8.4 The IEC 61508 Formulas IEC 61508-6 provdes approxmaton formulas for the PF for smple

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

Mean Field / Variational Approximations

Mean Field / Variational Approximations Mean Feld / Varatonal Appromatons resented by Jose Nuñez 0/24/05 Outlne Introducton Mean Feld Appromaton Structured Mean Feld Weghted Mean Feld Varatonal Methods Introducton roblem: We have dstrbuton but

More information

PHYS 705: Classical Mechanics. Calculus of Variations II

PHYS 705: Classical Mechanics. Calculus of Variations II 1 PHYS 705: Classcal Mechancs Calculus of Varatons II 2 Calculus of Varatons: Generalzaton (no constrant yet) Suppose now that F depends on several dependent varables : We need to fnd such that has a statonary

More information

Statistical Energy Analysis for High Frequency Acoustic Analysis with LS-DYNA

Statistical Energy Analysis for High Frequency Acoustic Analysis with LS-DYNA 14 th Internatonal Users Conference Sesson: ALE-FSI Statstcal Energy Analyss for Hgh Frequency Acoustc Analyss wth Zhe Cu 1, Yun Huang 1, Mhamed Soul 2, Tayeb Zeguar 3 1 Lvermore Software Technology Corporaton

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming

OPTIMISATION. Introduction Single Variable Unconstrained Optimisation Multivariable Unconstrained Optimisation Linear Programming OPTIMIATION Introducton ngle Varable Unconstraned Optmsaton Multvarable Unconstraned Optmsaton Lnear Programmng Chapter Optmsaton /. Introducton In an engneerng analss, sometmes etremtes, ether mnmum or

More information

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm Desgn and Optmzaton of Fuzzy Controller for Inverse Pendulum System Usng Genetc Algorthm H. Mehraban A. Ashoor Unversty of Tehran Unversty of Tehran h.mehraban@ece.ut.ac.r a.ashoor@ece.ut.ac.r Abstract:

More information

An Interactive Optimisation Tool for Allocation Problems

An Interactive Optimisation Tool for Allocation Problems An Interactve Optmsaton ool for Allocaton Problems Fredr Bonäs, Joam Westerlund and apo Westerlund Process Desgn Laboratory, Faculty of echnology, Åbo Aadem Unversty, uru 20500, Fnland hs paper presents

More information