your code here
(x)
| 46 | |
| 47 | # Note that np.sinc is different than defined in class |
| 48 | def sinc(x): |
| 49 | # Returns a scalar valued sinc value |
| 50 | """your code here""" |
| 51 | if x == 0: |
| 52 | y = 1 |
| 53 | else: |
| 54 | y = np.sin(x) / x |
| 55 | |
| 56 | return y |
| 57 | |
| 58 | |
| 59 | def differentiate_sinc(x): |
no outgoing calls
no test coverage detected