lign="justify">? ???????????? ? ???????? ?? ???????? ?????? ???? ???????? ????????? ??? ?????????? ? ????????????? ?????,?????????? (???????)????????? ????????????????? ????? ??? ?????????? ??????? ? ????????? ?????.
. ? ?????? ??????????? ????????????????? ???? ? ????????????? ????????? ???????? ????????????? ????????? ??? ????????????? ? ????????? ????????? ????,????????? ?? ????????????? ? ?????????? ? ?????????? ????????. ? ?????????? ???????? ????????? ????? ???? x, y?????????? ??????? ????? ? ?????????? ????????? ???????????? ????????? ?? ?????? ????????? ????????????????? ????. ????? ????? ? ????????? ?????? ????? ????? ? ????????? ????????????. ??? ????? ??????? ???????? ?????????? ??????????????? ???????????????? ???? (????????).
??????????
1. ???????? ?.?. ????????????? ?????? ??????????????. ???????????????? ????. ?.:?????? ?????, 1978.
. ????????? ?.?.,???????? ?.?. ????????????? ?????? ??????????????. ? .2.-?.:?????? ?????, 1965.
. ????? ?.?. ?????? ?????? ????????????????? ????. ?????????? ???????. ?.:?????? ?????, 1989.
4. ???????????? ???????? ? ?????????? ???????? ??????. ????:????????? ?????, 1998.
?????????? ?
. ????????? ??? ??????? ? ?????????? ????????????????? ????? ? ?????.
# include
# include
# include
# include double eps0=8.85e - 12; E0=350000; R=0.1; eps=50; tau=1e - 8; r=0.1; alpha=60; Er (); Ea (); Calc_E (); InitGr (); DrawGr (int, int); DrawShape (); Ponetial (int, int); main ()
{int x=- 100, y; (); << Calc_E (); (); (); (); (int i=0; i <10; i + +)
{y=i * 10; (x, y);} (); ();} Calc_E ()
{return sqrt (Er () * Er () + Ea () * Ea ());} Er ()
{return E0 * (r * r / (R * R) +1) * cos (alpha)-tau / (2 * M_PI * eps0 * eps * R);} Ea ()
{return E0 * (r * r / (R * R) - 1) * sin (alpha);} Potential (int x, int y)
{double r, x1, y1;=double (x);=double (y);=sqrt (x1 * x1 + y1 * y1);=r;=asin (x1 / R) ; Calc_E ();} DrawGr (int x, int y)
{double a1=- 1.57; Pot, Pot0; epsilon;=Potential (x, y);
{x +=cos (a1); +=sin (a1); +=0.001;=Potential (x, y); (300 + x, 300 - x, 2);=Pot / 10;} while (fabs (Pot - Pot0)> epsilon);} DrawShape ()
{setbkcolor (BLUE); (RED); (300, 300, 50); (150,300,450,300); (300,100,300,400); (WHITE); (0,0, getmaxx (), getmaxy () );} InitGr ()
{int gdriver=DETECT, gmode, errorcode;
initgraph (& gdriver, & gmode, «»);}
. ????????? ??? ??????? ???? ???????????????? ?????.
# include
# include
# include
# include f_cs (double, double); f_sc (double, double); f_c (double); double Zc=377; double c=300 000 000; double ...