Computer Science, asked by krishetha, 3 months ago

write a programme to find the area, perimeter and the diagonal of a square​

Answers

Answered by josnaelsajoseph
0

Answer:

How do you find perimeter and area of a square?

Perimeter and Area of Square

● Perimeter of the square = 4a units.

● Side of the square = P/4 units.

● Area of the square = a × a = (P/4)² sq. ...

● Area of square = 1/2 × (diagonal)² sq. ...

● Length of the diagonal = √(a² + a²) = √(2a²^2) = a√2 units.

Worked-out examples on Perimeter and Area of the Square: ...

The perimeter of a square is 52 m. ...

Answered by IIAstuteIshII
6

ɧɛƖƖơ ɱąɬɛ

Answer:

ɪᴛs ᴜsɪɴɢ ᴘʏᴛʜᴏɴ ʟᴀɴɢᴜᴀɢᴇ

________________________

ʙᴀsɪᴄ FᴏʀᴍᴜʟᴀE ᴜsᴇᴅ:

ᴀʀᴇᴀ ᴏF ᴀ sQᴜᴀʀᴇ   =  sɪᴅᴇ x sɪᴅᴇ

ᴘᴇʀɪᴍᴇᴛᴇʀ ᴏF ᴀ sQᴜᴀʀᴇ =  4 x sɪᴅᴇ

ʟᴇɴɢᴛʜ ᴏF ᴅɪᴀɢᴏɴᴀʟ = √2 x sɪᴅᴇ

________________________

Explanation:

ᴘʟᴇᴀsᴇ ʀᴇFᴇʀ ᴛᴏ ᴛʜᴇ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ Fᴏʀ ᴀɴsᴡᴇʀ

________________________

ɴᴏᴛᴇ:

  • Fɪʀsᴛ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ ᴘʀᴏɢʀᴀᴍ
  • sᴇᴄᴏɴᴅ ᴀᴛᴛᴀᴄʜᴍᴇɴᴛ ᴄᴏɴᴛᴀɪɴs ᴛʜᴇ ᴏᴜᴛᴘᴜᴛ

________________________

ɧơ℘ɛ ıɬ ɧɛƖ℘ʂ ყơų  ☺

Attachments:
Similar questions