if f(x,y) be a function (x^3 * y^-4) + (x^-2 *y^3) with 2<x<10 and 1.1<y<3.5.f(0,0) = f(9,1.2). how do you develop a c program of loop(x decremented by 1 unit) with in which another loop (y incremented by 0.8(K) initially and then as the y reaches a value where incrementation by 0.8 makes y>3.4 make 0.8 to 0.8/2 and follow this till K>0.002) and the values generated are continuous.i.e the output is in the form
iteration x y f(x,y)evaluated.
0 9 1.2
1 9 2.0
2 9 2.8 (note here 2.8 + 0.8 > 3.4 so K = 0.8/2)
3 9 3.2 (note 3.2+0.4 > 3.4 so K = 0.4/2)
4 9 3.4
..................
.................
n 8 1.2
.................
................
n+j 8 3.4
................
...............
.,..............
n+m 3 1.2
.................
....................
the f is to be analysed and the min of the calculated values is to be given as output.
can anyone please help me with the code for this..
i have developed a code but its getting struck....