Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
A c++ prog 4to enter an integer & print its total value based on followin formula
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Naisargi
New Member
Join Date:
Aug 2010
Posts:
1
#1
A c++ prog 4to enter an integer & print its total value based on followin formula
Aug 13 '10, 05:45 PM
A c++ prog to enter an integer & print its total value based on followin formula
x-1/3!*3+1/5!*5-1/7!*7+1/9!*9
newb16
Contributor
Join Date:
Jul 2008
Posts:
687
#2
Aug 13 '10, 06:22 PM
You missed powers of x in this taylor series. (1-(x**3)/3! + ... ) Also, does your homework read verbatim that x should be integer? It should rather be float.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment