题目
各位高手帮我翻译下这段英语吧!
The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the
equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory by stepping the differential equation solver and adding the resulting data to a trail to display the path. Because the beam source is far away, we stop the calculation when the distance of the scattered particle from the target exceeds the initial distance. Note the use of the ternary ?: operator. This very efficient and compact operator uses three expressions. The first expression evaluates to a boolean. If this expression is true, then the statement after the ? is executed. If this expression is false, then the statement after the : is executed. However, because some potentials may trap particles for long periods of time, we also stop the calculation after a predetermined number of time steps.
The Scatter class shown in Listing 5.7 calculates the trajectories by expressing the
equation of motion as a rate equation. The most important method is calcul ateTrajectory, which calculates a trajectory by stepping the differential equation solver and adding the resulting data to a trail to display the path. Because the beam source is far away, we stop the calculation when the distance of the scattered particle from the target exceeds the initial distance. Note the use of the ternary ?: operator. This very efficient and compact operator uses three expressions. The first expression evaluates to a boolean. If this expression is true, then the statement after the ? is executed. If this expression is false, then the statement after the : is executed. However, because some potentials may trap particles for long periods of time, we also stop the calculation after a predetermined number of time steps.
提问时间:2020-07-18
答案
散射计算类显示在列表5.7通过展示的轨迹对运动方程作为速率方程.最重要的方法,计算得到的calcul ateTrajectory轨迹的基本微分方程求解器增加的结果数据,并添加路径的显示了该路径.因为梁源很远的,我们停止计算距离的...
举一反三
已知函数f(x)=x,g(x)=alnx,a∈R.若曲线y=f(x)与曲线y=g(x)相交,且在交点处有相同的切线,求a的值和该切线方程.
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
最新试题
热门考点