Examlex

Solved

Case Study 1: ≫>> Import Math

question 27

Essay

Case Study 1:
>>> import math
>>> numSides = 8
>>> innerAngleB = 360.0 / numSides
>>> halfAngleA = innerAngleB / 2
>>> oneHalfSideS = math.sin(math.radians(halfAngleA))
>>> sideS = oneHalfSideS * 2
>>> polygonCircumference = numSides * sideS
>>> pi = polygonCircumference / 2
>>> pi
3.0614674589207183
-Refer to the session in the accompanying Case Study 1. Explain, in general terms, how to modify this series of statements in such a way that you would be able to change the number of sides and try the calculation again without needing to retype all of the statements.


Definitions:

Research Psychologists

Professionals who study cognitive, emotional, and social processes by observing, interpreting, and recording how individuals relate to one another and their environments.

ESP

Extra-sensory perception, the claimed ability to obtain information without the use of known sensory mechanisms.

Telepathy

The claimed transfer of data between individuals without employing recognized human sensory methods or direct physical contact.

Psychokinesis

Psychokinesis refers to the supposed ability to move or manipulate objects with the mind, without physical intervention.

Related Questions