Computer Science, asked by ausaf2005, 8 months ago

write the java equivalent expression ​

Attachments:

Answers

Answered by Oreki
1

\textsf{\large Given Expression}

    |a| + b^{n} \geq a

\textsf{\large Java Expression}

    \texttt{Math.abs(a) + Math.pow(b , n) \: \\>= a;}

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

 \red{\underline{\large{\sf{Question:}}}}

  • | a | + b^x > a

 \red{\underline{\large{\sf{Required \: Answer:}}}}

  • Here we would be using the Math.abs method because absolute value of a is being returned. And Math.pow method also because b (first argument) is raised to x (second argument).

\red \bigstar \:    \large{\boxed{\sf{Math.abs(a) + Math.pow(b,n) \geqslant  = a}}}  \red\bigstar

Similar questions