Computer Science, asked by spoorthikankanameli, 2 months ago

write the Java expression of the following statement where X and Y are predefined variable (a. 5=5x+2y) (b. 5=3x^2+2y/x-y) (c. 5=ut+1/2at^2)​

Answers

Answered by AtharvATAR
0

Answer:

5 = (5*x) + (2*y);

5 = Math.pow(3 * x, 2) + (2 * y)/(x - y);

5 = x + (1 / 2) * Math.pow(y, 2)

Explanation:

make sure to import java.util.*; for b and c

Similar questions