Calculate the value of the function f ( x , y) to be entered for values for the variables x and y .

f ( x , y) = x2 | 5 -y | y3 + | x- 7 |.

Can anybody help me?

Calculate the value of the function f ( x , y) to be entered for values for the variables x and y .

f ( x , y) = x2 | 5 -y | y3 + | x- 7 |.

Can anybody help me?

But, this is math, why do you post this on a programming forum? And why in the Ruby section?

Yeah but i have to write a programm about this function

Use for calculating any additional methods ( your program has main () method only ) . The output should look exactly as in the example

So I assume your program must be made in Ruby?

Well first things first, how do you get input from your user?

void ()main

{

int x,y;

```
f(x,y)=x²−|5−y|y³+|x−7|
System.out.print(x?)
while ()
if ()
else ()
System.out.print(y?)
while ()
if ()
else ()
SavitchIn.readLine()
```

i have to do it that way

Then you posted in the wrong section, this is the Ruby section. You can edit your thread to change the section.

Also, you'll probably be asked to propose a code of your own first, people are unlikely to do all the exercise for you. Good luck.