Cargo train is formed as follows: the first "N" cars have a volume of 250 m3, the following "2 * N" - 200 m3, the following "3 * N" - 150 m3, and all the rest - 100 m3. Three compounds were formed of carriages 45, each with the following parameters: N = 5 - for a 1-th, N = 3 - 2-th and N = 8 - for the third. The 1st part was submerged tree in the 2nd - coal, and in the third - sand. Define:
some of the compositions was loaded with the most?
how many cars the volume of 100 m3 each composition?
how otlichaetsya load wagons having a volume of 250 m3 3rd composition of the amount of cars having a volume of 150 m3 1st and 2nd compositions?
Describe class modeling algorithm of the machine, which moves the goods on some routes, the representatives of which store information on the nature of each operation, as well as the maximum amount for a given algorithm and the initial position value of the machine.
The base class and its methods: the ring plane. Calculation of the area of \u200b\u200bthe outer and inner border and the area of \u200b\u200bthe figure itself.
Subclass 1, and its methods: volumetric ring - washer; the calculation of volume, mass calculation.
Subclass 2: Volumetric ring with randomly specified size.
From sheet metal necessary to cut down the size of 5x4 mm washers. How many goals get 1 m2 round billet, if the coefficient of leaks of 0.85 to take the placement? How many goals turn of 2.5 and 5 m2?
What will be the mass produced batches goals and what a mass of metal will go to waste in each case? The material for each case, respectively: steel (7800 kg / m3) of brass (8500 kg / m3) and the paper (1000 kg / m3) and a thickness of 1.5 mm.
The box contains a mixture of 300 brass and steel washers 200 of arbitrary size: external diameter - 2 ... 20 cm, internal - 80% of the external. What is the total mass of the contents of the box?
In some countries, the results of the census, it was decided to determine a cumulative indicator of well-being on the demographic situation in the three areas and made the following indicators safely:% fertility, mortality%, the unemployment rate, level of social protection, the presence of hazardous and harmful production, the frequency of natural disasters . The nature of the data is different for each region. Promodeliruyte the situation and determine the most and least prosperous ones. Evaluate the most appropriate area on the scale "worse than ever", "can live", "could have been better," "quite normal", "very good", "better to have no place" (gradation are conditionally) with three neighboring taking in each case the level of the highest possible welfare.
Functional diagram of this kind is made up of blocks that implement the protocol work with the data type string:
module: the output of each channel is corresponding to the input value, modulo;
sinus: the outputs 0, 1 and 2 will be the magnitude of the form sin (x), a * sin (x) and a * sin (x) + b, where a and b - additional information block;
exponentiation: value on input 0 is raised, which is taken from the input 1. Use the function pow class Math.
Check the operation of the scheme by setting the 7-NIL different values \u200b\u200bon the inputs of the circuit.
In the examples of real class have the potential for raising an exception at runtime. It is necessary to define an experimental type of exception and change the structure of the class, with the aim of intercepting and processing.
Add to the body of the handler operations necessary to take into account the elements that caused the exception, and for the possibility of subsequent analysis.
At the point of sale was imported barrel of kvass famous of volume. Kvass poured three glasses of different types of volume. Depending of