# How to solve this Function?

#1

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?

#2

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

#3

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

#4

it has to look like this

#5

So I assume your program must be made in Ruby?

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

#6

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 ()

i have to do it that way

#7

This doesn't look like Ruby. Which language are you supposed to be using?

#8

i have to use java and i use the programm Notepad++ for it

#9

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.