9 Topics
|
|
Hi I am trying to write a code that finds approximations of sine and cosine using the equations below with a given value of theta in degrees basically as a novice programmer i am having trouble setting upa a while loop for the expansions. Also can you guys please quote … |
|
Hello everyone, i am going to create a small tune though i have no idea how to go about it. I currently have a sine wave that plays for one second using a loop similar to this // loop to generate audio samples for(int n = 0; n < num_samples; … |
|
Hello everyone. I'm working on a project that acts as a function generator to output a sine wave. The program also outputs an excel file with all of the data points so one can plot the points. For some reason, when I add noise, the graph does not look right. … |
|
How to get the **Sine** and **Cosine** of an **inputed** number by the user? |
|
# I have Written a code for sine function but it is not much accurate# I have written a code for PI() and sin() function but it is not much accurate I want to make it more accurate can anybody tell how can I make it more accurate. Also I … |
|
Hi, I have a question about generating a 1kHz sine wave. First of all, we can't use the sin function so I just made a function that evaluates sin at some point... [CODE]int generate_sin(int t); { int sin; sin = t - ((t^3)/(3*2*1)) + ((t^5)/(5*4*3*2*1)); return sin; }[/CODE] Now, this … |
|
I am currently working on this graph "thingy" were I am told to produce 4 types of graphs. [LIST] [*]y=x2 [*]y=x3 [*]y=x*sin(x) [*]y=x*cos(10*x) [/LIST] Now basically, I have the GUI/Interface ready. I seem to have a problem linking the [B]y=x*sin(x)[/B] button in the PlottingWindow class to the PlottingPanel where it … |
|
Hi, I am developing some code to run on hardware and I am using the sin() and cos() functions inside the standard math.h many times, which slows the program down dramatically. I was wondering if there is a way to "approximate" the sine and cosine of a value (angle is … |
|
You can use Python modules math, wave, and struct to create and save a synthetic sine wave of given frequency and duration (size) ... |
The End.