Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- const float pi = 3.14159265359;
- int main() {
- float angle;
- scanf("%f", angle);
- float z_1 = sin(angle)+cos(angle)+cos(3*angle)+sin(3*angle);
- float z_2 = 2*sqrt(2)*cos(angle)*sin(pi/4+2*angle);
- printf("%f %f", z_1, z_2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement