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.

~1K People Reached
Favorite Forums
Favorite Tags
c++ x 3
Member Avatar for sniper6560

this code is for bessel function Y n (x) 2nd kind I'm in the level 4 at computer engineering my prof. gave me that assignment , I want help to improve it to get an accurate results thanks!

Member Avatar for sniper6560
0
1K
Member Avatar for sniper6560

[code]#include<iostream>// e^x with factorial function using namespace std; #include<cmath> double factorial(double); int main () { int i=1; double x, a=1, j, y, z, E=0.0000000001;//E is error rate cout<<"enter x to get e^x : "<<endl; cin>> x; y=x; for( ; ; ) { j=factorial(i); z=y/j; if( fabs(z)<E) break; else { a=a+z; …

Member Avatar for VernonDozier
0
97