[Solved]Write Complete Program Calculates Write Area Perimeter Circumference Geometric Figure Inte Q37244688
- Write a complete program that calculates and write the area andperimeter (or circumference) of
a geometric figure of interest. Depending on the figure ofinterest, the user of the
program will enter a “C” if it is a circle, an “S” if it is asquare or a “T” if it is a triangle
equilateral. This value will be read by the program and storedin a variable called CODE.
It will also read the variable INCHES that will save a value forthe radius of the circle, side of the
square or side of the equilateral triangle, as the case maybe
.
- Write a complete program that reads the values of thecoefficients A, B, C, D, E, and F for the
equations of two straight lines
Ax + By = C
Dx + Ey = F.
The program must determine if the lines are parallel (theirslopes are the same) or if they are
intersect. If they intersect, you must determine if they areperpendicular (multiplication of their
slopes is equal to -1).
- The pesticide to kill the mosquito that produces dengue can bespread from an airplane
only if the temperature is at least 70 ° F, the relativehumidity is between 15 and 35
percent and the maximum wind speed is 10 miles per hour. Write aprogram
complete that interactively read the values of temperature(Temp), relative humidity
(RelHum) and wind speed (WindSpeed). According to previouslyestablished, the
program must assign the value of True or False to the variableof logical type (boolean)
OkFumigate and finally write the value of said variable.
- Write a complete program that serves to determine the roots ofa quadratic equation.
The formula for this is:
= – ± 2-4 2
where a, b and c are the coefficients of the quadratic equationwhose general form is:
2 + + = 0
If the discriminant b2 – 4ac is positive, two roots arecalculated (x1, x2). If the discriminant is
zero, a root (x) is calculated. If the discriminant is negative,it has no real roots. The program
must interactively read the coefficients (a, b, c) and calculateand write the roots (be two or
a). If it has no real roots, the program should send a messageindicating it.
Write a complete program that reads three levels ofcontamination that were previously
randomly selected (Level_1, Level_2, Level_3), calculate apollution index (Index) and
- Write a message indicating the corresponding air quality. Thepollution index is
the whole part of the computation of the average of the threelevels. For example, if the calculation of
average is 47.75, the pollution index is 47. An index of 50parts per million or more
implies a condition of danger air quality while values lessthan 50 parts
per million imply a safe condition. The program should read thethree levels of
pollution, calculate the pollution index, determine thecondition of air quality and
Write a message indicating what the condition is.
EVERYTHING MUST BE IN PYTHON
Expert Answer
Answer to Write a complete program that calculates and write the area and perimeter (or circumference) of a geometric figure of i… . . .
OR

