Computer Science, asked by sankaracharya5891, 6 months ago

Write a java program to
a) define methods in the class algebra to find the difference in the two algebraic expressions given as:
f1(x) = x2 + 2x + 4
f2(y) = -y2 -20y -1
f3(x,y) = f1(x) – f2(y)
where values of x and y will be passed to the methods from main
b) define main method to display the result of f3(x,y)

Answers

Answered by vrittibhagnari25
1

Answer:

this is a math based question

Explanation:

Similar questions