n is just the number of what power we raised it to. For example X^2/2!.
I know I need the following libraries
<iostream.h>
<iomanip.h>
<math.h>
I am so glade you are there because this is...
Type: Posts; User: kaslor
n is just the number of what power we raised it to. For example X^2/2!.
I know I need the following libraries
<iostream.h>
<iomanip.h>
<math.h>
I am so glade you are there because this is...
Can anyone help me with this extra credit problem?
e^x= 1 +(x/1) + (x^2/2) + (x^3/6) = (x^4/24)...X^n/n!
I have to read in x from the keyboard and use the exponential function on x and write...
= 1 +(x/1) + (x^2/2) + (x^3/6) = (x^4/24)...X^n/n!
I have to read in x from the keyboard and use the exponential function on x and write the result. Then do the approximation for the first four...
The thing that keeps tripping me up is that I need to obtain an output as follows:
e to the x 7.38
approximation 6.333
the difference 1.056
With a keyboard inut such as: 2.0
I am...
Would you happen to have an example program so I have something to reference?????:) :)
I felt bad because there was a mean face attaced to it and I ment to put a happy face.
Could you explain a little more your idea?:)
Would anyone happen to have an exaple of a program to approximate the eponential function e^x?
Thanks:)