C1W3_Assignment Exercise 4

Hi all, I’ve been having a bit of trouble with Exercise 4 (/notebooks/C1W3_Assignment.ipynb#Exercise-4)

{mentor edit: image of code removed}

This is my code

def T_rotation_and_stretch(theta, a, v):
  # mentor edit: code removed

I can’t work out why my tests are failing

Please do not post your code on the forum. That’s not allowed by the Code of Conduct.

If a mentor needs to see your code, we’ll contact you with instructions.

Hint:
The ‘1’ in your stretch_T equation is not correct.