The document discusses three programming tasks: 1) Writing a Python function to calculate the sine of x using a Taylor series expansion up to n terms. 2) Writing a program to generate random numbers from 1 to 6 to simulate a lottery and check if a user won. 3) Writing a program to check if a given number is prime or not.
The document discusses three programming tasks: 1) Writing a Python function to calculate the sine of x using a Taylor series expansion up to n terms. 2) Writing a program to generate random numbers from 1 to 6 to simulate a lottery and check if a user won. 3) Writing a program to check if a given number is prime or not.
The document discusses three programming tasks: 1) Writing a Python function to calculate the sine of x using a Taylor series expansion up to n terms. 2) Writing a program to generate random numbers from 1 to 6 to simulate a lottery and check if a user won. 3) Writing a program to check if a given number is prime or not.