Results 1 to 4 of 4

Thread: C++ .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User vanmx's Avatar
    Join Date: Oct:2006
    Location:
    Posts: 1,964

    C++ .

    n- sin(x). x n, . .


    Code:
    cout << sin ((n%4)*PI/2 + x*PI/180);
    ?
    X470 AORUS ULTRA GAMING | Ryzen5 2600 |2x16GB Corsair LPX 3200Mhz | EVGA GeForce GTX 1080 Ti SC Black Edition Gaming|512GB Samsung 970 Pro +
    512GB ADATA SU800| Corsair HX1200i | Corsair Graphite 600t |BENQ PD3200U

  2. #2
    . haibusa2005's Avatar
    Join Date: Mar:2005
    Location:
    Posts: 1,884
    sin e cos, cos e -sin, -sin e -cos, -cos e sin. - . , , , , .. . , => sin (xt) = cos (xt)*(xt^k)', t k, a x . (xt^k)' = x*k*t^(k-1). , 0 (180 )
    Last edited by haibusa2005; 25th June 2012 at 15:52. Reason:

  3. #3
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    , , x . , "*PI/180".

    - PI , . , M_PI, math.h ( ).
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

  4. #4
    Registered User vanmx's Avatar
    Join Date: Oct:2006
    Location:
    Posts: 1,964
    Quote Originally Posted by anrieff View Post
    , , x . , "*PI/180".

    - PI , . , M_PI, math.h ( ).
    , , . M_PI, .

    EDIT:
    Last edited by vanmx; 25th June 2012 at 18:27.
    X470 AORUS ULTRA GAMING | Ryzen5 2600 |2x16GB Corsair LPX 3200Mhz | EVGA GeForce GTX 1080 Ti SC Black Edition Gaming|512GB Samsung 970 Pro +
    512GB ADATA SU800| Corsair HX1200i | Corsair Graphite 600t |BENQ PD3200U

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |