CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: buldogao87

Search: Search took 0.01 seconds.

  1. Re: numerical integration lower limit, upper limit

    i had to change the value of the area back to zero before every for statement
  2. Re: numerical integration lower limit, upper limit

    well that's what i have so far
    the first result for the lower limit seems to be right, not really sure about the other 3 ... when n=5 , n=50 , n= 100.... the exact answer should be 29.4



    ...
  3. Re: numerical integration lower limit, upper limit

    i mean thats the eqaution that i need to calculate with the formulas...
  4. Re: numerical integration lower limit, upper limit

    so how would u put that equation in??
  5. Re: numerical integration lower limit, upper limit

    thats the function and it should be double
  6. numerical integration lower limit, upper limit

    #include <fstream.h>
    #include <iomanip.h>
    #include <math.h>
    #include <iostream.h>
    #include <stdlib.h>
    using namespace std;
    double f(double);

    int main()
    {double a,b,delx,n,area,i,x;
  7. Re: leap year whats missing on my program??

    it does not thats why i am asking for help.. idont know whats going on ...whats my mistake
  8. leap year whats missing on my program??

    int main()
    {int year;
    ofstream output ("e:result14.dat");
    cout <<" Enter Year : "<<endl;
    output<<" Enter Year : "<<endl;
    cin>>year;
    if(year%4==0&&year%100!=0 ||year%400==0)
    cout<<" this is a...
  9. Re: temperature table problem with decimal numbers in the output

    what u mean?
  10. temperature table problem with decimal numbers in the output

    this is my program how can i get 4 decimal places in my first column ???(in the output)???


    using namespace std;

    void main()
    {
    float celsius, kelvin, fahrenheit;
    ofstream output...
  11. Replies
    2
    Views
    544

    Re: whats wrong with my program

    thanks
  12. Replies
    2
    Views
    544

    whats wrong with my program

    whats wrong with my second for statement that is not printing out the results



    void main()
    {
    float celsius, kelvin, fahrenheit;
    ofstream output ("e:result14.dat");
    cout<< "Tassio Martins"...
  13. Replies
    1
    Views
    930

    Temperature convention program

    hello i can get the results to be in the right place for my cout any suggestion if u could please show me my mistake


    int main()
    {const double max_celsius =235;
    const double start_val =-100;...
  14. Replies
    4
    Views
    934

    Re: getting wrong result with my program

    yes ... Thanks so much...
  15. Replies
    4
    Views
    934

    getting wrong result with my program

    program will approximate the value of e...when x=5.7.. but i am not getting the result right . could anybody help me and show my mistake please...
    x=1+1/1!+1/2!+1/3!+1/4!+1/5!+.......
    when the...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured