Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Community ▾
A
A
A check finds that an identity holds for many thousand… | StemPy Lab
Quizzes
/
A check finds that an identity holds for many thousand random angles. What can you say?
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
A check finds that an identity holds for many thousand random angles. What can you say?
It is very likely true, but the test is not a proof
It is proved true for every angle
It is false, because computers round
It holds only for those angles and no others
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← 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))))
The tangent of three angles, with the huge value hidden. What does this print? import numpy as np; x = np.radians([0, 45, 90]); t = np.tan(x); t[np.abs(t) > 8] = np.nan; print(int(np.isnan(t).sum()), round(float(t[1]), 1)) →
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 →