Dev C++ Cosine
• In trigonometrics, arc cosine is the inverse operation of cosine. Header provides a type-generic macro version of this function. This function is overloaded in (see valarray acos ).
• C library function - cos - The C library function double cos(double x) returns the cosine of a radian angle x.

## Dev C++ Cosine Calculator

Hi.
I have to make a program in c++ for plotting a sine curve.using arrays .in horizontal direction not vertical .
can I have an alogarithm or just a hint how to go on making ..thanks :)

• 4 Contributors
• forum 8 Replies
• 1,337 Views
• 2 Years Discussion Span
• commentLatest Postby WaltPLatest Post

Nov 18, 2016  Before going to the program for Sine Series first let us understand what is a Sine Series? Sine Series: Sine Series is a series which is used to find the value of Sin(x). Where, x is the angle in degree which is converted to Radian. The formula used to express the Sin(x) as Sine Series is Expanding the above notation, the formula of Sine Series is.

Just you pass arguments to the functions and it's done. To make things easy you are provided with executable files which you can download and execute. /using-graphics-library-in-dev-c.html. On this website you will find almost all functions with detailed explanation and a sample program showing the usage of these functions.

## vegaseat1,735

It depends how sophisticated you want to get. If it is a simple text based console program, you can make an array of strings. Each string contains let's say eighty characters, all spaces but for one asterisk. It will be your genius to place the lonely asterisk at the right position according to y = sin(x). Print out about 50 strings with a new line each, and you have the rudimentary look of a sine function.

All in all a good exercise in arrays.