Hello! In this guide I’ll show you how to use BlueJ to create and run Java programs. My example will be with the Tic Tac Toe game.
Download and install BlueJ from the official website bluej.org:
Task: A flywheel of mass and a pulley of mass are to be mounted on a shaft length (see Figure 1). Determine their locations and in order to maximize the fundamental frequency of vibration of the system. If , and Continue reading
Perform discriminant analysis on the results of measuring the length and width of iris flowers (SEPALLEN, SEPALWD, PETALLEN, PATELWD); identify the type of iris (SETOSA, VERSICOL, VIRGINIC) using Statistica software. Continue reading
Long ago, when monitors were black and green and computers had 64 kilobytes RAM, the legendary game was created. It was called “Snake” and it still has a lot of clones on different devices: from desktop to smartphones and tablets. But the original textual implementation hasn’t been used for years. So in this guide, I want to show you the canonical implementation of the legendary game.
Task: Create an array of structures. Each structure consists of the following elements: faculty, course, group, names of students, test scores. Implement requests, determining: 1) Faculty and course where the average score of at least 3.5; 2) the names of students who have twos and threes; 3) group and the faculty, with high amount excellent pupils.
Block schemes of the solution: Continue reading
Find the function of the Ackerman fuction A(m, n), using the recurrence relations:
Find the recursion depth. Continue reading
Output in ascending order all regular irreducible fractions ranging from 0 to 1, denominators of which do not exceed 15. The numerator and denominator should be represented as pointers to type int. Continue reading
One-dimensional arrays A and B both contain 10 numbers. Build an array C, each element of which is calculated using the formula:
Calculate the value of the function y, representing function in Taylor series. The argument varies from -2 to 2 in increments of 0.5. Identify the error.