Computer Science, asked by Anushka1930, 23 days ago

7. Write an equivalent Java expressions for the following expressions :

Please answer..

Attachments:

Answers

Answered by ajb7899
0

Answer:

If it helps kindly mark it as brainliest giving 5 stars.

Attachments:
Answered by SƬᏗᏒᏇᏗƦƦᎥᎧƦ
12

Explaination :

First Explaination :-

  • In the condition of ft² we would be using math.pow method because the first argument that is t is raised to the power 2.

Second Explaination :-

  • In the first condition of a^b we would be using math.pow method because the first argument that is a is raised to the power b
  • And in the second condition of b^a we would be using math.pow method because the first argument that is b is raised to the power a.

Answer formed :

First Answer :-

  • u * t + ½ * f * math.pow (t , 2)

Second Answer :-

  • math.pow (a , b) >= math.pow (b , a) + a

Additional Information :

  • Method is a named block of a códe in a class. It is executed within a defined set of instructions.
  • Methods and variables of math class are defined as static members.
  • Java.lang package contains classes and interfaces which are fundamental to Java programming language.
  • The math class of java.lang package contains generic mathematical functions including some geometric and trigonometric function.
  • Math.cbrt returns cube root of a double value.
  • Math.ceil returns smallest integer which is greater or equal to the argument.
  • Math.max gives largest of two arguments
  • Math.min gives smallest of two arguments.

More similar questions :

https://brainly.in/question/42140095?

https://brainly.in/question/30816677?

https://brainly.in/question/18010374?

https://brainly.in/question/36879342?

https://brainly.in/question/47891549?

https://brainly.in/question/35743582?

https://brainly.in/question/47760812?

https://brainly.in/question/35741829?

Similar questions