Question: Create a first function that fills a 1X2 vector with two random values between 1 and 100, Create a second function that takes this vector and rotates it by a parameter angle. formulas: rotation matrix -> [cos(angle * pi / 180), -sin(angle * pi/180)] * [x1 ,y1] [sin(angle * pi /180), cos(angle * pi /180)]
**use this to find the new matrix SOMEONE PLEASE HELP MEEEE python
Aucun commentaire:
Enregistrer un commentaire