0% found this document useful (0 votes)
74 views2 pages

Mathematica Expression To Java Expression

The document provides a comparison of mathematical expressions and their corresponding Java expressions for students in grade 8. It includes various operations such as addition, multiplication, square roots, and absolute values, demonstrating how to translate mathematical notation into Java syntax. The document serves as a reference for understanding the conversion of common mathematical formulas into programming code.

Uploaded by

Anik Maitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views2 pages

Mathematica Expression To Java Expression

The document provides a comparison of mathematical expressions and their corresponding Java expressions for students in grade 8. It includes various operations such as addition, multiplication, square roots, and absolute values, demonstrating how to translate mathematical notation into Java syntax. The document serves as a reference for understanding the conversion of common mathematical formulas into programming code.

Uploaded by

Anik Maitra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Page number : 1

STD: 8
Mathematical Expression to Java Expression
Sl. No. Mathematical Expression Java Expression

1. A+B×C A+B*C

2. (A + B) ÷ 2 (A + B) / 2

3. Area = Length × Breadth Area = Length * Breadth

4. Peri =2(Length + Breadth) Peri = 2 * (Length + Breadth)

5. a×b + b×c + c×a a*b + b*c + c*a

𝑿+𝒀
6. (X +Y) / 2
𝟐

𝑿+𝒀
7. (X + Y) / (A + B)
𝑨+𝑩

8. a20 [Link](a,20)

9. a2 + 2×a×b + b2 [Link](a,2) + 2*a*b+ [Link](b,2)

10. √𝒂 Or 𝟐√𝒂 [Link](a)

11. √𝒂𝟐 + 𝒃𝟐 [Link]([Link](a,2)+[Link](b,2))

12. √𝒂𝟐 + 𝟒 × 𝒂 × 𝒃 [Link]([Link](a,2) + 4*a*b)

𝟑
13. √𝒂 [Link](a)

𝟑 𝟑
14. [Link](a) + [Link](b)
√𝒂 + √𝒃

𝟑
15. + √𝒂 3 / 4.0 + [Link](a)
𝟒
Page number : 2

16. |a-b| [Link](a-b)

17. |a-b|+b2 [Link](a-b)+[Link](b,2)

18. √|𝒂 − 𝒃| + 𝒃𝟐𝟎 [Link]([Link](a-b)+[Link](b,20))

19. CC=2𝜋𝑅 CC=2*[Link]*R

20. 2𝝅𝑹2 2*[Link]*[Link](R,2)

You might also like