Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
How many full cycles of y = np.cos(x / 3) fit into x… | StemPy Lab
Quizzes
/
How many full cycles of y = np.cos(x / 3) fit into x from 0 to 12π?
Python Programming
Medium
High School (11–12)
High School (9–10)
Undergraduate
General
Python for Science and Maths › Trigonometry and Waves by Computer
Created by
StemPy Lab
How many full cycles of
y = np.cos(x / 3)
fit into
x
x
x
from
0
0
0
to
12
π
12\pi
12
π
?
2
4
12
36
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A shifted wave sampled at five angles. What does this print? import numpy as np; x = np.linspace(0, 2 * np.pi, 5); y = 2 * np.sin(x - np.pi / 2); print(np.round(y).astype(int).tolist())
A false rule for the cosine of a double angle is tested on five angles. What does this print? import numpy as np; a = np.radians(np.arange(0, 181, 45)); left = np.cos(2 * a); right = 2 * np.cos(a) - 1; print(np.allclose(left, right), int(np.sum(np.isclose(left, right)))) →
More on
Python for Science and Maths › Trigonometry and Waves by Computer
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
A fit with curve_fit gives an amplitude of 0.80 m…
Medium
Dev records a 14 Hz hum at 20 readings each second…
Hard
A vibration sensor reads every 0.01 s for 2.0 s, which is 200 readings…
Medium
Two equal waves of amplitude 0.40 m run along a rope…
Easy
All problems on this topic →