Menu

(Solved) : Instructions Work Teams Three Individually Submit One File Programming Assignment 5 Py Ex Q37249235 . . .

This must be in Python.
Instructions: You can work in teams of up to three or individually, up to you. Submit one file: Programming Assignment 5-<Nam

True >>>isDistancelnt(8-2j,5+1j) False

Instructions: You can work in teams of up to three or individually, up to you. Submit one file: Programming Assignment 5-<Name of Submitter>.py. Example: Programming Assignment 5-John Doe.py assuming John Doe is the person submitting the file on BeachBoard. Only submission via BeachBoard will be accepted Be sure to also type in your name and the names of your team members within the file, at the top Failure to do any of the above will result in point deductions This is an extra credit assignment that will apply to your programming assignments score. Note that you cannot obtain a percentage greater than 100% for any grade category in this class, including programming assignments Problem 1: Translating, Rotating, and Scaling (4 points) Using the below coordinates, create a comprehension Translate the coordinates down by 2 and to the left by 3 Rotate the plot 50 degrees counter-clockwise Scale the plot down to 1/5 o o o Coordinates are 2+2j, 3+2j, 1.75+1j, 2+1j, 2.25+1j, 2.5+1j, 2.75+1j, 3+1j, 3.25+1j . Plot the coordinates with a scale parameter of 1 Problem 2: Distance between two points (3 points) Create a method that will output the distance between two points on a complex plane Name your method distance. The parameters that it will take in will be two complex numbers. Example: The distance between 8-2i and 4+1i is 5.0 >>> distance(8-2],4+1/) 5.0 Problem 3: Distance integer checker (3 points) Using the distance method, create a separate method that will determine whether the distance between two points is an integer. By integer, I mean that the value after the decimal is only a zero If the distance is an integer, return True, else return False Name your method isDistancelnt . >>> isDistanceInt(8-2j,4+1j) True >>>isDistancelnt(8-2j,5+1j) False Show transcribed image text Instructions: You can work in teams of up to three or individually, up to you. Submit one file: Programming Assignment 5-.py. Example: Programming Assignment 5-John Doe.py assuming John Doe is the person submitting the file on BeachBoard. Only submission via BeachBoard will be accepted Be sure to also type in your name and the names of your team members within the file, at the top Failure to do any of the above will result in point deductions This is an extra credit assignment that will apply to your programming assignments score. Note that you cannot obtain a percentage greater than 100% for any grade category in this class, including programming assignments Problem 1: Translating, Rotating, and Scaling (4 points) Using the below coordinates, create a comprehension Translate the coordinates down by 2 and to the left by 3 Rotate the plot 50 degrees counter-clockwise Scale the plot down to 1/5 o o o Coordinates are 2+2j, 3+2j, 1.75+1j, 2+1j, 2.25+1j, 2.5+1j, 2.75+1j, 3+1j, 3.25+1j . Plot the coordinates with a scale parameter of 1 Problem 2: Distance between two points (3 points) Create a method that will output the distance between two points on a complex plane Name your method distance. The parameters that it will take in will be two complex numbers. Example: The distance between 8-2i and 4+1i is 5.0 >>> distance(8-2],4+1/) 5.0 Problem 3: Distance integer checker (3 points) Using the distance method, create a separate method that will determine whether the distance between two points is an integer. By integer, I mean that the value after the decimal is only a zero If the distance is an integer, return True, else return False Name your method isDistancelnt . >>> isDistanceInt(8-2j,4+1j)
True >>>isDistancelnt(8-2j,5+1j) False

Expert Answer


Answer to Instructions: You can work in teams of up to three or individually, up to you. Submit one file: Programming Assignment 5…

OR