Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~183 People Reached
Favorite Forums
Favorite Tags
c++ x 2
Member Avatar for w2s

(The program below should calculate sine of an angle without using c math library.The angle should be in radian otherwise the program will convert it to radian.The program gives me the wrong output which probably means that it has some logic errors.I think the problem could be with the formula …

Member Avatar for sarehu
0
85
Member Avatar for w2s

am trying to write a program which compute sin using an a equation instead of the function of sin in cmath libry. "the equation is like this Tn = (Tn-2 *(-1) *x*x)/ n*(n-1) [code=cplusplus] #include<iostream> #include<cmath> using namespace std; int main() { int factorial(int); int n =1, i = 1; …

Member Avatar for Ancient Dragon
0
98