Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Let an be an infinite sequence defined by following formula: an = n3 9n2 + 15n + 100 1. (20p.) Write a program in Python
Let an be an infinite sequence defined by following formula: an = n3 9n2 + 15n + 100 1. (20p.) Write a program in Python language which display sum of first 10 members of an 2. (20p.) Write a program in Python language which display first 10 mem- bers of an as ordered ascending. (Lists are useful.) 3. (20p.] Write a program in Python language which display first 10 mem- bers of an which are EVEN. 4. (25p.) Write a program in Python language which display first 10 mem- bers of an which has 5 digits. (We wrote a program which find number of digits of given number. Use it as a CUSTOM FUNCTION.) 5. (15p.) Write a program in Python language about calculating 3rd side of triangle which 2 sides and angle (in degree) between these sides are taken from user. (Hint: The law of cosines) (Be careful about using trigonomet- ric functions in python. First test for 30, i.e. sin(30)? =?0.5)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started