Студопедия
Случайная страница | ТОМ-1 | ТОМ-2 | ТОМ-3
АрхитектураБиологияГеографияДругоеИностранные языки
ИнформатикаИсторияКультураЛитератураМатематика
МедицинаМеханикаОбразованиеОхрана трудаПедагогика
ПолитикаПравоПрограммированиеПсихологияРелигия
СоциологияСпортСтроительствоФизикаФилософия
ФинансыХимияЭкологияЭкономикаЭлектроника

Esep. sozdermen

Esep

#include<stdio.h>

#include<math.h>

#include<conio.h>

float max(float x,float y)

{float max;

if(x>y) max=x;

else max=y;

return max;}

main()

{float a,b,c,y;

clrscr();

printf("engizu a,b,c\n");

scanf("%f%f%f",&a,&b,&c);

y=(max(a,a+b)+max(a,b+c))/(1+max(a+b*c,1.15));

printf("y=%f\n",y);

getch();

return 0;

}

 

Esep

#include<stdio.h>

#include<math.h>

#include<conio.h>

float min(float f,float g)

{ float min;

if(f>g) min=g;

else min=f;

return min;}

main()

{float a,b,u,v,c;

clrscr();

printf("san engiz\n");

scanf("%f%f",&a,&b);

u=min(a,b);

v=min(a*b,a+b);

c=min(u+v*v,3.14);

printf("jauap\n");

printf("u=%2.1f\nv=%2.1f\nc=%2.2f",u,v,c);

getch();

return 0;}

 

Esep

#include<stdio.h>

#include<math.h>

#include<conio.h>

float fmax(float x,float y)

{float max;

max=x;

if(max<y)

max=y;

return max;}

float h(float a,float b)

{float h1;

h1=a/(1+b*b)+b/(1+a*a)-pow((a-b),3);

return h1;}

main()

{float s,t,y;

clrscr();

printf("engizu s,t\n");

scanf("%f %f",&s,&t);

y=h(s,t)+fmax(pow(h(s-1,s*t),2),pow(h(s-t,s+t),4))+h(1,1);

printf("y=%2.2f",y);

getch();

return 0;

}

 

Esep

#include<stdio.h>

#include<math.h>

#include<conio.h>

float t(float x)

{int k;

float s1=0,s2=0,s,f=1,f1=1;

for(k=0;k<=10;k++)

{if(k!=0)

f*=2*k;

f*=(2*k+1);

s1+=pow(x,(2*k+1))/f;

}

for(k=0;k<=10;k++)

{if(k==0)

f1=1;

else

{f1*=2*k-1;

f1*=2*k;}

s2+=pow(x,2*k)/f1;

}

s=s1/s2;

return s;

}

main()

{float p,y;

clrscr();

printf("y = ");

scanf("%f",&y);

p=(1.7*t(0.25)+2*t(1+y))/(6-t(pow(y,2)-1));

printf("p=%f",p);

getch();

return 0;

}

 

esep. sozdermen

#include<stdio.h>

#include<math.h>

#include<conio.h>

void gg(float x[])

{

int i;

printf("sandar engiz:\n");

for(i=0;i<=6;i++)

scanf("%f",&x[i]);

}

 

float p(float x[],int y)

{int i;

float p=0;

for(i=6;i>=0;i--)

{

p+=x[i]*pow(y,i);

}

return p;

}

main()

{float a[70],f;

int i;

clrscr();

gg(a);

for(i=1;i<=4;i++)

if(i!=2){

printf("\nx=%d\n",i);

f = p(a,i+1)-p(a,i);

printf("f = %f",f); }

getch();

return 0;

}

 


Дата добавления: 2015-08-03; просмотров: 43 | Нарушение авторских прав


<== предыдущая страница | следующая страница ==>
Conclusion| STRUCTURE AND FUNCTION OF THE SKIN.

mybiblioteka.su - 2015-2024 год. (0.006 сек.)