Jul-21-2020, 07:40 PM
Hi everyone I have two exercises to do but it's my first time using Python so I found lot of problems...
Does anyone can help me?
The exercises are these two:
1)Write a programme which read by input the valor (in degrees) of an angle and which can calculate the valor of the function: cos^2(x)*sin(90°-x)+ 1/2.
2) Prepare a figure with 4 pannels place as a matrix 2x2. Each of these pannel has an axis of the abscissa x which explore the interval [-6pi : 6pi]. Report the functions cos(x), sin(x), cos(x)*exp(-x/8), sin(x)*exp(-x/8), one for each pannel. Use a blue line for the first two and a dashed blue line for the last two.
Thanks everyone for your help
Does anyone can help me?
The exercises are these two:
1)Write a programme which read by input the valor (in degrees) of an angle and which can calculate the valor of the function: cos^2(x)*sin(90°-x)+ 1/2.
2) Prepare a figure with 4 pannels place as a matrix 2x2. Each of these pannel has an axis of the abscissa x which explore the interval [-6pi : 6pi]. Report the functions cos(x), sin(x), cos(x)*exp(-x/8), sin(x)*exp(-x/8), one for each pannel. Use a blue line for the first two and a dashed blue line for the last two.
Thanks everyone for your help





