Computer Science, asked by SattuTattu, 8 months ago

A track is in the form of a ring whose inner and outer circumferences are 88 cm and 132 cm respectively.

Write a JAVA program to find and print the width of the track.



[Note : Circumference of ring is 2*π*radius

Width of track is Outer radius - inner radius

π = 3.14 ]

Answers

Answered by 000284
0

Answer:

ok

Explanation:

Outer Circumference = 132 cm

=> Radius = Circumference / 2π

=> Radius = 132 / (2 × 22/7)

=> Radius = 132 / (44/7)

=> Radius = 132 × 7/44

=> Radius = 3 × 7

=> Radius = 21 cm

Inner Circumference = 88 cm

=> Radius = Circumference / 2π

=> Radius = 88 / (2 × 22/7)

=> Radius = 88 / (44/7)

=> Radius = 88 × 7/44

=> Radius = 2 × 7

=> Radius = 14 cm

Width of the ring = Outer Radius - Inner radius

= 21 - 14

= 7cm

Similar questions