コンプトン端の計算

「コンプトン端の計算」の編集履歴(バックアップ)一覧はこちら

コンプトン端の計算」(2011/05/06 (金) 19:37:41) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

//C/linenumber #include<stdio.h> double Egamma, Edge; main(){ printf("This program calculates the energy of Compton edge from energy of gamma ray.\n"); printf("Enter the energy of gamma ray (keV):"); scanf("%lf",&Egamma); Edge = Egamma / (1.0+(1.0/(2.0*(Egamma / 511.0)))); printf("Then the energy of Compton edge is %lf keV\n", Edge); }

表示オプション

横に並べて表示:
変化行の前後のみ表示: