Лабораторная работа по "Экономико-математическому анализу"
Автор: Nastia43 • Июнь 4, 2021 • Лабораторная работа • 255 Слов (2 Страниц) • 292 Просмотры
Отчет по л.р №1 студентов: Смышляева Д.И, Пьянкова А.В, гр. ТТ-8-17, вариант 18 | ||
№ | Задание | Результаты |
1 | [pic 1] [pic 2] [pic 3] | a=4.17 b=3.69 x=1.2 y=2*(sin(a*x^3+3)+b*x^2)^(1/2)/exp(-x)+3.2 y =17.4566 |
a=4.17 b=3.69 x=3.5 y=2*(sin(a*x^3+3)+b*x^2)^(1/2)/exp(-x)+3.2 y =446.4596 | ||
a=4.17 b=3.69 x=1.2 y=a*cos(x)+b*exp(sin(x))/log(x)+a*x^4 y = 61.5585 | ||
a=4.17 b=3.69 x=3.5 y=a*cos(x)+b*exp(sin(x))/log(x)+a*x^4 y =623.9296 | ||
2 | [pic 4] [pic 5] | a=4.92 b=5.18 x=5.13 >> if x>=1 y=(a+x)^(3/2) else y=exp(b*x-2) end y =31.8602 |
a=4.92 b=5.18 x=-1.32 >> if x>=1 y=(a+x)^(3/2) else y=exp(b*x-2) end y = 1.4517e-04 | ||
3 | [pic 6] [pic 7] | a=4.8 b=0.64 x=3.68 >> if 2<=x<=5 y=x+cos(a*x) else if x>5 y=log(abs(x+(a*x)^1/2)) else if x<2 y=atan(b/(x^2+1)) else end end end y =4.0558 |
a=4.8 b=0.64 x=6.7 >> if 2<=x<=5 y=x+cos(a*x) else if x>5 y=log(abs(x+(a*x)^1/2)) else if x<2 y=atan(b/(x^2+1)) else end end end y =7.4357 | ||
a=4.8 b=0.64 x=-4.51 >> if 2<=x<=5 y=x+cos(a*x) else if x>5 y=log(abs(x+(a*x)^1/2)) else if x<2 y=atan(b/(x^2+1)) else end end end y = -5.4517 | ||
4 | [pic 8] [pic 9] | 3:0.6:9 ans = Columns 1 through 6 3.0000 3.6000 4.2000 4.8000 5.4000 6.0000 Columns 7 through 11 6.6000 7.2000 7.8000 8.4000 9.0000 n=11 a=2.7 h=0.6 x=3 >> for i=1:n d(i)=sin(a*x+exp(x))/(a*x^2+3)^(1/2); x=x+h; end >> i=1:11; >> d(i) ans = Columns 1 through 8 0.0170 0.1170 0.0690 0.0718 -0.0397 -0.0974 -0.0797 0.0829 Columns 9 through 11 -0.0754 0.0485 -0.0056 >> x=[3 3.6 4.2 4.8 5.4 6 6.6 7.2 7.8 8.4 9]; >> x=x' x= 3.0000 3.6000 4.2000 4.8000 5.4000 6.0000 6.6000 7.2000 7.8000 8.4000 9.0000 >> y=@(x)sin(a*x+exp(x))./(a*x.^2+3).^(1./2); >> u=[x,y(x)] u = 3.0000 0.0170 3.6000 0.1170 4.2000 0.0690 4.8000 0.0718 5.4000 -0.0397 6.0000 -0.0974 6.6000 -0.0797 7.2000 0.0829 7.8000 -0.0754 8.4000 0.0485 9.0000 -0.0056 |
...