英語翻譯
英語翻譯
The scattering program requires the Scatter,ScatterAnalysis,and ScatterApp
classes.The ScatterApp class in Listing 5.6 organizes the startup process and creates the visualizations.As usual,it extends AbstractSimul ati on by overriding the doStep method.However,in this case a single step is not a time step.A step calculates a trajectory and scattering angle for the given impact parameter.After a trajectory is calculated,the impact parameter is incremented and the panel is repainted.If necessary,you can eliminate this visualization to increase the computational speed.If the new impact parameter exceeds the beam radius bmax,the animation is stopped and the accumulated data is analyzed.Note that the cal cul ateTrajectory method returns true if the calculation succeeded and that an error message is printed if the calculation fails.Including a failsafe mechanism to stop a computation is good programming practice.
人工翻譯,谷歌翻譯的錯(cuò)誤太多!
The scattering program requires the Scatter,ScatterAnalysis,and ScatterApp
classes.The ScatterApp class in Listing 5.6 organizes the startup process and creates the visualizations.As usual,it extends AbstractSimul ati on by overriding the doStep method.However,in this case a single step is not a time step.A step calculates a trajectory and scattering angle for the given impact parameter.After a trajectory is calculated,the impact parameter is incremented and the panel is repainted.If necessary,you can eliminate this visualization to increase the computational speed.If the new impact parameter exceeds the beam radius bmax,the animation is stopped and the accumulated data is analyzed.Note that the cal cul ateTrajectory method returns true if the calculation succeeded and that an error message is printed if the calculation fails.Including a failsafe mechanism to stop a computation is good programming practice.
人工翻譯,谷歌翻譯的錯(cuò)誤太多!
英語人氣:981 ℃時(shí)間:2020-01-10 16:20:44
優(yōu)質(zhì)解答
散射程序要求散射開ScatterAnalysis和ScatterApp類程序6中的ScatterApp類系統(tǒng)化啟動步驟并且創(chuàng)建可視化.它用最重要的doStep方法繼承抽象模擬.可是,在這種情況下,單一的步驟不是一個(gè)時(shí)間間隔.一個(gè)步驟計(jì)算軌道和碰撞系數(shù)得出的散射角.但軌道被計(jì)算出來后,碰撞系數(shù)在增加并且面板被重新繪制.如果需要,你可以消除可視化來增加計(jì)算速度.如果新的碰撞系數(shù)超過了最大束半徑,動畫停止并且分析積累的數(shù)據(jù).注意,如果計(jì)算成功,calculateTrajectory方法返回true,如果計(jì)算失敗,一條錯(cuò)誤的消息顯示出來.包含一個(gè)故障防護(hù)機(jī)制去停止計(jì)算是一個(gè)很好的程序編制習(xí)慣.
我來回答
類似推薦
- 英語翻譯
- 英語翻譯
- 各位高手幫我翻譯下這段英語吧!
- 英語翻譯
- 英語翻譯
- 某校團(tuán)員共有115名積極參與募捐活動.有一部分團(tuán)員每人捐10元,其余團(tuán)員每人捐4元.
- 一架飛機(jī)水平勻速地在某同學(xué)頭頂上飛過,當(dāng)他聽到飛機(jī)的發(fā)動機(jī)聲從頭頂正上方傳來的時(shí)候,發(fā)現(xiàn)飛機(jī)在他前上方約與地面成60°角的方向上,據(jù)此可估算出此飛機(jī)的速度約為聲速的多少倍
- 在標(biāo)準(zhǔn)情況下,2摩爾CO2的體積為 ,質(zhì)量 克
- 翻譯:Just kidding.特別指出kidding的意思.
- how do you ___get to school.填often 還是usually
- 遠(yuǎn)處 那一盞燈 母親是文中的主要人物,請你對其作出評價(jià).
- 九分之二,1.2,五分之四,三又七分之一,2.6和五分之八按從大到小排
猜你喜歡
- 1The supreme happiness of life is the conviction that we are loved.Love is stronger than death
- 2甲數(shù)的15等于乙數(shù)的30%,乙數(shù)與甲數(shù)的比是( ?。?A.3:2 B.2:3 C.5:6
- 3''萬花溪畔的花朵們''和''萬花溪的花朵們'',兩種稱呼所指的含義完全一樣嗎?你的理解依據(jù)是什么?
- 4把下面句子譯成英文
- 5如何降低氯氣在水中的溶解度
- 6水箱內(nèi)液體壓強(qiáng)
- 71、一個(gè)正方體的鐵皮水箱,棱長是1.8米,做這個(gè)水箱至少需要多少平方米的鐵皮?如果每立方水重1千克,那么這個(gè)水箱能裝水多少千克?2、五(1)班教室里有一張長為0.8米,寬為0.6米,高為0.7米的長方體電腦桌,他的占地面積是多少?如果用貼紙
- 8今年母女兩人的年齡和為60歲,10年前母親的年齡是女兒的7倍,則今年女兒的年齡是多少歲?
- 9下雪的夜晚能看到星星嗎
- 10拼寫的英文詞組是什么
- 11威尼斯的小艇(一句話回答)
- 12四數(shù)之積六十四,他們正好組成比例,如果的大小都不同,問他們各是幾?提示:64是幾的平方?