Computer Science, asked by karribhulakshmpcj5xt, 1 year ago

state these following arthimetic expressions in JAVA expressions...

Attachments:

Answers

Answered by ferisha1809
2

1.c=b*x

2.p=Math.sqrt(x)

3.p=Math.pow(y,0.333)

4.r=Math.pow(x,y)

5.t=Math.sqrt(a+b)

6.si=p*t*r/100

7.c=a/b

8.a=p(Math.pow(1+r/100,n)

9.p=w/a

10.a=22/7*Math.sqrt(r)

11.t=Math.sqrt((s(s-a)*(s-b)*(s-c)))

12.c=5/9*(f-32)

13.s=u*t+1/2*a*Math.sqrt(t)

14.a=1/2*b*r

hope it helps friend!!


karribhulakshmpcj5xt: thnx
karribhulakshmpcj5xt: I will mark as brainlist
ferisha1809: thank you
Answered by Oreki
2

\textsf{\large Java Expressions:}

  \begin{itemize}	\item \textemdash\:\: \texttt{c = b * x;}	\item \textemdash\:\: \texttt{p = Math.sqrt(x);} 	\item  \textemdash\:\: \texttt{p = Math.cbrt(y);}        \item  \textemdash\:\: \texttt{r = Math.pow(x, y);}        \item  \textemdash\:\: \texttt{t = Math.pow(a + b, 2);}        \item  \textemdash\:\: \texttt{si = (p * r * t) / 100;}        \item  \textemdash\:\: \texttt{c = a / b;}        \item  \textemdash\:\: \texttt{a = p * Math.pow(1 + (r / 100), n);} \end{itemize}

  \begin{itemize}	\item \textemdash\:\: \texttt{p = w / a;}	\item \textemdash\:\: \texttt{a = Math.PI * (r * r);} 	\item  \textemdash\:\: \texttt{t = Math.sqrt(s * (s - a) * (s - b) * (s - c));}        \item  \textemdash\:\: \texttt{c = (5 / 9) * (f - 32);}        \item  \textemdash\:\: \texttt{s = u * t + (0.5 * a * t * t);}        \item  \textemdash\:\: \texttt{a = 0.5 * b * h;}\end{itemize}

Similar questions