UkrReferat.com

: 75843
: 2016-12-04
7 10



$

'

 

:   

, , :

( )
,
Word Doc
2084
200

#include

#include

#include

#include

#include

#include

#define qq 113

#define ww 119

#define ee 101

#define rr 114

#define pp 112

#define oo 111

//i 1

float f1(float t,float T,float Yn,float Yk,float Q)

{return(Yn+(Yk-Yn)*(1-pow(2.71,(-(t-Q)/T))));}

//i 2

float f2(float t,float T_,float T__,float Yn,float Yk,float Q)

{return(Yn+(Yk-Yn)*(1-(1/(T_-T__))*(T_*pow(2.71,(-(t-Q)/T_))-T__*pow(2.71,(-(t-Q)/T__)))));}

//i 3

float f3(float t,float T_T,float Yn,float Yk,float Q,float a)

{return(Yn+(Yk-Yn)*(1-pow(2.71,(-(t-Q)/T_T))*(cos(a*(t-Q))+sin(a*(t-Q))/T_T*a)));}

void fon()

{ int i;

setbkcolor(10);

setcolor(14);

//

setfillstyle(1,8);

fillellipse(300,115 ,75,20 );

outtextxy(275, 115, "Program");

fillellipse(300,205 ,75,20 );

outtextxy(270,205,"Titulka");

fillellipse(300,285 ,75,20 );

outtextxy(285,285,"Exit");

}

void menu(int t)

{

setfillstyle(1,10);

bar(200,280,220,290);bar(380,280,400,290);

bar(200,200,220,210);bar(380,200,400,210);

bar(200,110,220,120);bar(380,110,400,120);

setfillstyle(1,4);

//yx

if(t==3){

bar(200,280,220,290);bar(380,280,400,290);}

if(t==2){

bar(200,200,220,210);bar(380,200,400,210);}

if(t==1){

bar(200,110,220,120);bar(380,110,400,120);}

}

//---------------i i i--------------

void Titul ()

{

restorecrtmode();

clrscr();

textmode(BW80);

textcolor(7);

cprintf(" ii⢮ i i 㪨 ");

printf("\n");

cprintf(" i쪨 ঠ i稩 i");

printf("\n");

cprintf(" 䥤 i i ⮬⨪");

printf("\n\n\n");

textcolor(WHITE + BLINK );

printf("\n\t\t\t\t");

cprintf(" ");

printf("\n");

textcolor(7);

printf("\t\t");

cprintf(" :\"ணࠬ㢠 ii \"");

printf("\n");

textcolor(7);

printf("\t\t");

cprintf(" ⥬:\" iࠦ i ࠪ⨪");

printf("\n");

printf("\t\t\t ");

cprintf("⢮i iଠii \"");

printf("\n\n\n\n\n\n");

textcolor(5);

printf("\t\t\t\t\t\t");

cprintf(" 㤥 讣 ");

printf("\n");

printf("\t\t\t\t\t\t");

cprintf("iIC");

printf("\n");

printf("\t\t\t\t\t\t");

cprintf("㯨 -2");

printf("\n");

printf("\t\t\t\t\t\t");

cprintf(" ..");

printf("\n\n\n\n");

printf("\t\t\t\t");

textcolor(10);

cprintf("I 2002");

textcolor(WHITE + BLINK );

printf("\n\t\t\t");

cprintf(" i - i");

getch();

setgraphmode(getgraphmode());

fon();

menu(2);

}

void Dani(){

setcolor(15);

outtextxy(70,5,"i ࠪ⨪ ⢮i iଠii");

setcolor(14);

outtextxy(70,20,"T1 i 2 -- ⠫i ; | T1!=0 && T2=0- 1- 浪");

-----> Page:

0 [1] [2] [3]

ò