1. röpzh
Contents
Keddi csoport
A/1.
sind(15)/3^4+1/100
det([1 3 6
2 6 -1
4 3 10])
ans =
0.013195296853118
ans =
-117
A/2.
s0=3; v0=4; a=5;
t=0:2:20;
s=s0+v0*t+a/2*t.^2;
[t;s]'
ans =
0 3
2 21
4 59
6 117
8 195
10 293
12 411
14 549
16 707
18 885
20 1083
A/3.
A=rand(10,20);
A(:,11:end)=A(:,11:end)*(-2);
[maximum,maximum_sora]=max(A(:,15))
maximum =
-0.198787188710835
maximum_sora =
6
B/1.
sind(25)*3^4+1/100
det([-3 3 6
2 6 -1
4 5 10])
ans =
34.242079200996656
ans =
-351
B/2.
s0=4; v0=3; a=6;
t=0:3:30;
s=s0+v0*t+a/2*t.^2;
[t;s]'
ans =
0 4
3 40
6 130
9 274
12 472
15 724
18 1030
21 1390
24 1804
27 2272
30 2794
B/3.
A=rand(8,20);
A(:,12:end)=A(:,12:end)*(-5);
[minimum,minimum_sora]=max(A(:,16))
minimum =
-0.392044248708158
minimum_sora =
5
Csütörtöki csoport
A/1.
1/(2^2-sin(4))
eig([1,3;2,6])
ans =
0.210225251308288
ans =
0
7
A/2.
R1=10:10:100;
R2=11:20;
A=[R1;R2;1./(1./R1+1./R2)]'
A =
1.0e+002 *
0.100000000000000 0.110000000000000 0.052380952380952
0.200000000000000 0.120000000000000 0.075000000000000
0.300000000000000 0.130000000000000 0.090697674418605
0.400000000000000 0.140000000000000 0.103703703703704
0.500000000000000 0.150000000000000 0.115384615384615
0.600000000000000 0.160000000000000 0.126315789473684
0.700000000000000 0.170000000000000 0.136781609195402
0.800000000000000 0.180000000000000 0.146938775510204
0.900000000000000 0.190000000000000 0.156880733944954
1.000000000000000 0.200000000000000 0.166666666666667
A/3.
x=1:20;
[oszlop,sor]=meshgrid(x,x);
A=sin((sor.^2).*oszlop);
determinans=det(A)
max(max(A))
determinans =
0.003397710191698
ans =
0.999908629280357
B/1.
1/(3^3-sin(5))
eig([1,4;2,8])
ans =
0.035766755193304
ans =
0
9
B/2.
R1=1:10;
R2=100:100:1000;
A=[R1;R2;1./(1./R1+1./R2)]'
A =
1.0e+003 *
0.001000000000000 0.100000000000000 0.000990099009901
0.002000000000000 0.200000000000000 0.001980198019802
0.003000000000000 0.300000000000000 0.002970297029703
0.004000000000000 0.400000000000000 0.003960396039604
0.005000000000000 0.500000000000000 0.004950495049505
0.006000000000000 0.600000000000000 0.005940594059406
0.007000000000000 0.700000000000000 0.006930693069307
0.008000000000000 0.800000000000000 0.007920792079208
0.009000000000000 0.900000000000000 0.008910891089109
0.010000000000000 1.000000000000000 0.009900990099010
B/3.
x=1:15;
[oszlop,sor]=meshgrid(x,x);
A=sin(sor.*(oszlop.^2));
determinans=det(A)
min(min(A))
determinans =
2.827216357845565e-006
ans =
-0.999990862241307