Explore chapters and articles related to this topic
Basics of Fortran
Published in Caio Lima Firme, Quantum Mechanics, 2022
By knowing that the wave function of a particle in ring can be described by the function cosine of me where m is an integer and 0 is the angle in radian unit (Chapter sixteen), write a Fortran program that plots this function from θ = 0 to θ = 2π with n (grid) points. Use the argument grid (equivalent to the number of points of a function). This code must contain. User’s entry for m where m=0, ±1, ±2, …User’s number of points, grid. The grid should be 100 ≤ grid ≤ 300.The interval, h, between the points of the function is given by: 2π/grid.Output file (.dat) in the format to be read in GNUPLOT having the data of the wave function, that is, a column with n points (grid) of x=theta (0 ≤ theta ≤ 2π) and n points (grid) of y=cos(theta*m). This block should be at the end of the program. See the example below.
Simulation and Example
Published in Jiguo Yu, Xiuzhen Cheng, Honglu Jiang, Dongxiao Yu, Hierarchical Topology Control for Wireless Networks, 2018
Jiguo Yu, Xiuzhen Cheng, Honglu Jiang, Dongxiao Yu
The development steps for Java programs in Eclipse are as follows: ▪ Create a new Java project▪ Create new packages and classes in the project Write class codeCompile, run, and debugNew ED-CDS projectThrough the menu or toolbar button, select “new → project,” as shown in Figure 5.49.Create a new EDCDS classRight-click the new EDCDS project, “new → class” (Figure 5.50); the new class name and project name are the same as in EDCDS.Edit the EDCDS classOpen the EDCDS class file for editing, as shown in Figure 5.51. Figure 5.52 shows all the files required for the EDCDS project.Run the EDCDS classSelect “Run → Run as → Java Application” to complete the EDCDS class. The output information is automatically printed to the console window, as shown in Figure 5.53. Or output the required data directly in the text document.DrawAccording to the data obtained, use the gnuplot tool for drawing. The gnuplot work window is shown in Figure 5.54.
Development of ACE file perturbation tool using FRENDY
Published in Journal of Nuclear Science and Technology, 2023
Kenichi Tada, Ryoichi Kondo, Tomohiro Endo, Akio Yamamoto
FRENDY also prepares the ACE file editing tool. This editing tool outputs the one-dimensional data, i.e. microscopic cross section, number of neutrons per fission, and fission spectrum. Users can plot the one-dimensional data using plotting tools such as Excel, GNUPLOT, and Matplotlib. Users can easily compare the original ACE file and the perturbed ACE file using this editing tool.