题目
英语翻译
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.
人工翻译,谷歌翻译的错误太多!
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.
人工翻译,谷歌翻译的错误太多!
提问时间:2020-07-18
答案
散射程序要求散射开ScatterAnalysis和ScatterApp类程序6中的ScatterApp类系统化启动步骤并且创建可视化.它用最重要的doStep方法继承抽象模拟.可是,在这种情况下,单一的步骤不是一个时间间隔.一个步骤计算轨道和碰撞系数得出的散射角.但轨道被计算出来后,碰撞系数在增加并且面板被重新绘制.如果需要,你可以消除可视化来增加计算速度.如果新的碰撞系数超过了最大束半径,动画停止并且分析积累的数据.注意,如果计算成功,calculateTrajectory方法返回true,如果计算失败,一条错误的消息显示出来.包含一个故障防护机制去停止计算是一个很好的程序编制习惯.
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
- 1伤的四字词语
- 2欧拉和高斯怎么样啊?
- 31+3+5+7+9 +...+2003等于多少
- 4超市购进一批大米,原计划用4辆汽车,12次运完.实际用了6辆车,需要多少次运完
- 5⊥4[1/2]What do you think is the most difficult when learning English?(英语口语
- 6孩子们,别碰湿油漆.Children,___________.翻译.
- 7影响房间面积大小的主要因素?
- 8电学方面的
- 9一辆汽车从A城市开往B城市,如果把车速提高20%,则可比原定时间提前1小时到达B城市;如果按原来速度先行驶100千米后,再将速度提高30%,恰巧也能比原定时间提前1小时到达B城市.A、B两
- 10"我喜欢和我的朋友们一起打篮球"用英语怎么说?
热门考点
- 1信念的力量
- 21·正项等差数列是什么意思?
- 3九月份小刚买学习用品花了自己零用钱的5/12,买杂志花了零用钱的5/1,剩下的全部捐给灾区的小朋友,
- 4表示波浪巨大的成语
- 52x加4%x等于7.2和12.5x减30%x等于3.5怎么解方程?
- 6First she plays(6)piano and we sing(7)it.选择:6处选A./ B.the C.a 7处选A.after B.for C.at(并解释)
- 7张有多少笔画
- 8害怕危险的心理比危险本身还要可怕一万倍这句话是英国作家谁在哪种的名言
- 9已知函数f(x)=alnx-3x+1/x,其中a为常数,a∈R.(1),若f(x)是一个单调递减函
- 10圆的五心分别是怎么定义?