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

Search:

Type: Posts; User: OmeshPH12

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    4,755

    Re: Trying to use C++ to solve a math problem

    Okay thank OReubens and nuzzle that helped alot.
    The only header ill need should be <cmath> and <iostream> since its just calculations and outputting.
  2. Replies
    4
    Views
    4,755

    Trying to use C++ to solve a math problem

    a=40; b=30; c=10;
    d=a^2-b^2;f=2*c^2*d*sqrt(d^2/27+c^4);
    g=d^3/27+2*c^4*d;h=d/3+(g+f)^(1/3)+(g-f)^(1/3);
    j=sqrt(c^2-d+h);k=sqrt((2*c*d+2*c^3)/j+2*c^2-d-h);
    m=(c+j+k)/2;sqrt(b^2-m^2)

    I had this...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured