Computer Science, asked by sheriffchristian99, 7 days ago

Write java expression of a=6x^2​

Answers

Answered by TheLowSpecPC
0

Answer:

int a=6*x*x

Explanation:

I am writing "something" here because this app won't allow me to answer this question without writing twenty letters.

Answered by SƬᏗᏒᏇᏗƦƦᎥᎧƦ
24

Explaination :  \:

  • Here we would be using math.pow method because in the condition of 6x² , the first argument that is x is raised to the power 2.

Answer formed :

  • a = 6 * math.pow (x , 2)

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