Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

This program approximates cosine in terms of radians and degrees by using the algorithm of cosine approximation formula with sigma.

Notifications You must be signed in to change notification settings

AmirMahdyJebreily/cosine-approximation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cosine Approximation With C#

This program approximates cosine in terms of radians and degrees by using the algorithm of cosine approximation formula with sigma.

How to work ?

This code, includes CosApptoximation class that's a static class and append some Extention Methods to Single Types and this methodes are compute the cosine of a angle like follow :

int d = 90; 
Console.WriteLine($"Cosine of {d} degree is : {JCSCos.CosApproximation.DegreeApCos(d)}");

With the above code, you will get an output like this:

Cosine of 90 degree is : 0

Thank you for visiting my profile

About

This program approximates cosine in terms of radians and degrees by using the algorithm of cosine approximation formula with sigma.

Topics

Resources

Stars

Watchers

Forks

Languages