Tényleg nem létezik?
  • sublimiter
    #1270
    L3=(2*L2*L1)/(L2-L1)

    Hatha valaki nem ismeri, ez ket hullam szuperpoziciojabol kialakulo vibracio hullamhossza. Szorozva 2-vel;

    http://www.sg.hu/galeria/1291739216/12917392161293292304.gif

    int y,x,l2=50,l1=40;
    for( y=0;y<1000;y+=1)
    {
    for( x=0;x<800;x+=10) pont(x,y,0x002200);
    for( x=0;x<800;x+=100) pont(x,y,0x005500);
    }

    for( x=0;x<800;x+=1)
    {
    float y=sin(x*2*M_PI/l1) + sin(x*2*M_PI/l2);
    pont(x,400-y*50,0x00ff00);
    }

    x=l2*l1/(l2-l1);
    printf("%d \n",x);