Professional Documents
Culture Documents
SINAVI
BAŞAR KARAMAN
1721014107
A ŞUBESİ
E-imza
Soru 1
Yazılan kod:
t=0:0.05:8;
x = sin(t)
y = cos(t)
plot(t,x,'x',t,y,'o');
grid;
title =('sin ve cos eğrileri');
xlabel('s');
ylabel('x=sint ; y=cost');
x=
Columns 1 through 13
0 0.0500 0.0998 0.1494 0.1987 0.2474 0.2955 0.3429 0.3894 0.4350 0.4794 0.5227 0.5646
Columns 14 through 26
0.6052 0.6442 0.6816 0.7174 0.7513 0.7833 0.8134 0.8415 0.8674 0.8912 0.9128 0.9320 0.9490
Columns 27 through 39
0.9636 0.9757 0.9854 0.9927 0.9975 0.9998 0.9996 0.9969 0.9917 0.9840 0.9738 0.9613 0.946 3
Columns 40 through 52
0.9290 0.9093 0.8874 0.8632 0.8369 0.8085 0.7781 0.7457 0.7115 0.6755 0.6378 0.5985 0.557 7
Columns 53 through 65
0.5155 0.4720 0.4274 0.3817 0.3350 0.2875 0.2392 0.1904 0.1411 0.0915 0.0416 -0.0084 -0.0584
Columns 66 through 78
-0.1082 -0.1577 -0.2069 -0.2555 -0.3035 -0.3508 -0.3971 -0.4425 -0.4868 -0.5298 -0.5716 -0.6119 -0.6506
Columns 79 through 91
-0.6878 -0.7232 -0.7568 -0.7885 -0.8183 -0.8460 -0.8716 -0.8950 -0.9162 -0.9351 -0.9516 -0.9658 -0.9775
-0.9868 -0.9937 -0.9981 -0.9999 -0.9993 -0.9962 -0.9905 -0.9825 -0.9719 -0.9589 -0.9435 -0.9258 -0.9058
-0.8835 -0.8589 -0.8323 -0.8035 -0.7728 -0.7401 -0.7055 -0.6692 -0.6313 -0.5917 -0.5507 -0.5083 -0.4646
-0.4198 -0.3739 -0.3271 -0.2794 -0.2311 -0.1822 -0.1328 -0.0831 -0.0332 0.0168 0.0668 0.1165 0.1660
0.2151 0.2637 0.3115 0.3586 0.4048 0.4500 0.4941 0.5369 0.5784 0.6185 0.6570 0.6938 0.729 0
y=
Columns 1 through 13
1.0000 0.9988 0.9950 0.9888 0.9801 0.9689 0.9553 0.9394 0.9211 0.9004 0.8776 0.8525 0.825 3
Columns 14 through 26
0.7961 0.7648 0.7317 0.6967 0.6600 0.6216 0.5817 0.5403 0.4976 0.4536 0.4085 0.3624 0.3153
Columns 27 through 39
0.2675 0.2190 0.1700 0.1205 0.0707 0.0208 -0.0292 -0.0791 -0.1288 -0.1782 -0.2272 -0.2756 -0.3233
Columns 40 through 52
-0.3702 -0.4161 -0.4611 -0.5048 -0.5474 -0.5885 -0.6282 -0.6663 -0.7027 -0.7374 -0.7702 -0.8011 -0.8301
Columns 53 through 65
-0.8569 -0.8816 -0.9041 -0.9243 -0.9422 -0.9578 -0.9710 -0.9817 -0.9900 -0.9958 -0.9991 -1.0000 -0.9983
Columns 66 through 78
-0.9941 -0.9875 -0.9784 -0.9668 -0.9528 -0.9365 -0.9178 -0.8968 -0.8735 -0.8481 -0.8206 -0.7910 -0.7594
Columns 79 through 91
-0.7259 -0.6907 -0.6536 -0.6150 -0.5748 -0.5332 -0.4903 -0.4461 -0.4008 -0.3545 -0.3073 -0.2594 -0.2108
-0.1617 -0.1122 -0.0623 -0.0124 0.0376 0.0875 0.1372 0.1865 0.2354 0.2837 0.3312 0.3780 0.4238
0.4685 0.5121 0.5544 0.5953 0.6347 0.6725 0.7087 0.7430 0.7756 0.8061 0.8347 0.8612 0.8855
0.9076 0.9275 0.9450 0.9602 0.9729 0.9833 0.9911 0.9965 0.9994 0.9999 0.9978 0.9932 0.986 1 Columns 131 through 143
0.9766 0.9646 0.9502 0.9335 0.9144 0.8930 0.8694 0.8436 0.8157 0.7858 0.7539 0.7201 0.684 5
0.6473 0.6084 0.5679 0.5261 0.4829 0.4385 0.3931 0.3466 0.2993 0.2513 0.2026 0.1534 0.1038
eE
g = 2.
Soru 2 Soru (
x3 + 6 x 2 + 11x + 6 ) Çarpanlarını matlab’ta bulunuz.
Yazılan kod:
syms x;
g = x^3 + 6*x^2 + 11*x + 6;
factor(g)
ans =
[ x + 3, x + 2, x + 1]
Soru 2 Çözüm ekranı
Soru 3
2
(x + 2).dx = ?
3
1 1. İntegral sorusu
(e )
2
sin x
cos(x ) dx
0 2. İntegral sorusu
(e )
2
sin x
cos(x ) dx
0
3. İntegral sorusu
3
z=
x = ( y sin (x ) + x cos( y ))dydx
y =0 4.integral sorusu
>> syms a x;
a=(exp(sin(x)*cos(x)));
y1=int(a,x)
y2=int(a,x,0,pi/2)
y1=exp(sin(x))
y2=exp(1)-1
y1 =
int(exp(cos(x)*sin(x)), x)
y2 =
int(exp(cos(x)*sin(x)), x, 0, pi/2)
y1 =
exp(sin(x))
y2 =
1.7183
2. İNTEGRAL EKRAN
GÖRÜNTÜSÜ
3.sorunun devamı (3.integralin kodu)
>> syms a x;
assume(a==1);
y=sin(a*x)*sin(x/a)
F=int(y,x,-a,a)
y=
sin(x/a)*sin(a*x)
F=
1 - sin(2)/2
3. İNTEGRAL SORUNUN EKRAN GÖRÜNTÜSÜ
3.Sorunun Devamı (4.Sorunun cevabı)
fun=@(x,y)ysin(x)+xcos(y);
x1=pi;
x2=3*pi;
y1=0;
y2=pi;
z=dblquad(fun,x1,x2,y1,y2)
4.İNTEGRAL SORUSU EKRAN GÖRÜNTÜSÜ
Soru 4