2.

#include <stdio.h>
#include <conio.h>
#include <math.h>
#include <iostream.h>
void main()
{
clrscr();
float v,w,k;int n=1;
cout<<"\n Vvedit' zminni v=";
cin>>v;
if (v>(-3))
{w=pow(0.3,v)-pow(v,2)+cos(v);
if ((1<v) && (v<=7))
{
cout<<"\n Vvedit' krok k=";
cin>>k;
cout<<"n ( t )( z )\n";
do
{
w=cos(0.34*v-0.2)/sin(0.34*v-0.2);
printf("%2d (%2.1f)(%6.5f)\n",n,v,w);
v+=k;n++;
}
while ((1<v) && (v<=7));}
else cout<<"w="<<w;}
else cout<<"Vvedeni znachennya ne zadov megi";
getch();
} do