Помогите исправить ошибки в программе
У=e^-bt*sin(at+b) - sqrt|bt+a|;
s=b*sin(at^2cos(at))-1
#include
#include
#include
#define _USE_MATH_DEFINES
//Лаб.работа 4 студента гр.3108
//Привалова Любовь
//Вариант 18
int main()
{
printf("L.r.#4 Privalova L. 18-3108-19\n");
printf("*******************************\n");
double x,b,a,y,s,t ;
printf("x=");scanf("%lf",&x);
printf("b=");scanf("%lf",&b);
printf("a=");scanf("%lf",&a);
printf("t=");scanf("%lf",&t);
y=pow(exp,-b*t)*sin(a*t+b)-sqrt(abs(b*t + a));
s=b*sin(a*double(t)*cos(a*t))-1;
printf("y=%l.4f\n",y);
printf("s=%l.4f\n",s);
printf("press and key");
getch();
}
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.