Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // lab1.cpp : Defines the entry point for the console application.
- //
- #define _USE_MATH_DEFINES
- #include "stdafx.h"
- #include <math.h>
- float x(int n, double a, int f, float chi, int f8)
- {
- for (int i = 0; i <= 8000; i++)
- {
- float in = M_PI * 2 * f *n / f8 + chi;
- float x = a * sin(in);
- return x;
- }
- }
- float y(int n, int x)
- {
- }
- int main()
- {
- //1
- double a = 0.92;
- int f = 19;
- float chi = M_PI / 3;
- int f8 = 8000;
- int t = 1;
- //2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement