Question: 1. General task statement and task for a particular variant. 2. The text of both programs. 3. Calculations of the number of operations for each

1. General task statement and task for a particular variant. 2. The text of both programs. 3. Calculations of the number of operations for each of the algorithms according to the methodology described in the lesson. 4. Program testing. In order to create a benchmark for testing, one need to prove the correctness of the programs in the calculation of the given formula for n = 3 with the substitution of the actual numbers and perform the calculation of this formula on the usual calculator. 5. As a result of testing, print the results of both programs for n = 1, n = 2 and n = 3. 6. Calculation results with both programs and with the calculator must match. 7. The results of calculations by both programs for a given set of values n. 8. Tables and charts of the calculated complexity in both programs for a set of n from 2 to 10 with the step 2.

1. General task statement and task for a
n N. E(j-sinj +j) Variant 24 P = ivi i=1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!