fjnu 1459 Quantum Mechanical States
来源:互联网 发布:东方网络股票票价变了 编辑:程序博客网 时间:2024/04/29 06:10
Description
Quantum Mechanics is one of the two most important theories to come out of the 20th century, the other one being General Relativity. Everything we've seen indicates that Quantum Mechanics is a correct theory. Of course it's a strange theory that no one quite understands yet. But nonetheless, it seems correct.
The central equation of quantum is the Schrodinger Equation. The solutions of that equation are called wave functions and they describe the state of a particle. A particle can be in a bound state, or a scattering state. In a bound state, the potential energy at some barrier is greater than the energy of the particle, while a scattering state is where the energy of the particle is greater than the potential energy at the barrier. (This is a horribly simplified view, but oh well.)
In the case of a number of potentials it's easy to determine if the particle will be in a bound or scattering state. If the energy of a particle is smaller than the value of the potential energy at infinity, and -inifinity then the particle is in a bound state. Otherwise, it's in a scattering state. (Again, this is simplified).
In this problem, you get to tell if a particle is in a bound state or a scattering state.
Input
Each line of input will have 3 numbers, separated by spaces. The first number is the energy of the particle. The next two are the values of the potential energy at plus or minus infinity. The energy will never be 0 (it's not a very interesting particle if it has no energy, now is it?)
Output
Output the word "bound" or "scattering" depending on whether the particle is in a bound state or scattering state.
Sample Input
45 300.000 3400.000-10.034 0 045 -300.34 3004.00
Sample Output
boundboundscattering
KEY:这题好狡猾,题目那么长没什么内容……
Source:
#include<iostream>
using namespace std;
int main()
...{
long double n,a,b;
while(cin>>n>>a>>b)
...{
long double min;
if(a>b) min=b;
else min=a;
if(min>n) cout<<"bound"<<endl;
else cout<<"scattering"<<endl;
}
return 0;
}
- fjnu 1459 Quantum Mechanical States
- Quantum Mechanical States
- The Wave kernel Signature: A Quantum Mechanical Approach to shape Analysis
- Quantum
- fjnu 1459 砝码称重
- FJNU
- Mechanical Turk
- fjnu 1459 整数最优分解问题
- Autodesk AutoCAD Mechanical 2008
- HCI Mechanical Evaluation
- AutoCAD Mechanical 2010 激活
- Quantum & r2q
- Quantum/ServiceInsertion
- quantum 配置
- Quantum Computers
- transitions & states
- Micro-Electro-Mechanical Systems (MEMS)
- Mechanical ARX 无法打开图纸
- fjnu 1459 砝码称重
- ASP.NET如何进行性能优化问题(转)
- fjnu 1459 整数最优分解问题
- 几个C#排序算法
- 家乐福,该不该抵制??兼谈韩寒和Acosta的两篇文章
- fjnu 1459 Quantum Mechanical States
- 分页类Pager
- 宠物狗的种类 - 风 火 - 网易博客
- 利用.NET反射机制实现IList到DataTable转换
- fjnu 1424 四塔问题
- private构造器
- fjnu 1680 Hanoi Tower Troubles Again!
- main()用法小技巧
- 802.1x工程笔记