Website and domain for sale: mail@discussmain.com

To develop an algorithm of the solution of a task, having presented it in the flowchart form; To Make the program in algorithmic language of Turbo Pascal; To Print calculation results (display). Function where x changes from-4 to 7 with h step = 0.2 is given.  y=left {{{2x-5sinx} atop {1-sinx} } atop {ln(4x+sinx}}\ if x & lt; −3, if − 3 ≤ x ≤ 5, if x & gt; 5. To calculate and display an arithmetic average of positive values at. Please, it is necessary very urgently and in detail!

255
Var x, y, S: real; k: integer; Begin x: =-4; k: = 0; While x< 7 do Begin if (x & lt;-3) then y: = 2*x-5*Sin (x) else if (-3 & lt; = x) and (x & lt; = 5) then y: = 1-Sin (x) else y: = ln (4*x+Sin (x)); if (y & gt; 0) then Begin S: = S+y; k: = k+1 End; WriteLn (y (x: 0: 1) =, y: 0: 3); x: = x+0. 2 End; WriteLn (Sr =, S/k); ReadLn End.
26
Answer add