N
butun son va 2 ta tomonining uzunliklari bilan berilgan
N
ta to`g`ri to`rtburchakni
saqlovchi nabor bor. Berilgan nabordagi eng kichik yuzaga ega to`g`ri to`rtburchak
topilsin
71)
N
butun son va 2 ta tomonining uzunliklari bilan berilgan
N
ta to`g`ri to`rtburchakni
saqlovchi nabor bor. Berilgan nabordagi eng katta yuzaga ega to`g`ri to`rtburchak topilsin
72)
K
butun son va nol bo`lmagan butun sonlar nabori berilgan. Uning tugaganlik belgisi
nol soni naborda
K
dan kichkina noldan farqli sonlar miqdori chiqarilsin
73)
N
butun son va
N
ta sondan iborat nabor berilgan. Berilgan nabordagi eng kichik
element nomeri topilsin
74)
N
butun soni va
N
ta (m,v) jismning massasi va hajmini ifodalovchi sonlar juftligining
nabori berilgan. Shu nabordagi eng katta zichlikka ega detal nomeri topilsin
75)
B (B>0)
soni va 5 ta sondan iborat nabor berilgan. Nabordagi B dan katta bo`lgan eng
kichik element va uning nomeri chiqarilsin. Agar naborda bunday element mavjud
bo`lmasa, 0 chiqarilsin.
76)
✔
Matlabda dasturlash vositalari
dsolve('D2y+y=1/sin(x)')
ans =
sin(t)*C2+cos(t)*C1+1/sin(x)
dsolve('D2y+y=1/cos(x)^3')
ans =
sin(t)*C2+cos(t)*C1+1/cos(x)^3
dsolve('D2y+y=3+x*exp(2*x)+x^2*cos(x)')
ans =
sin(t)*C2+cos(t)*C1+3+x*exp(2*x)+x^2*cos(x)
dsolve('D2y-y=5+x*exp(x)+exp(x)*cos(x)')
ans =
exp(-t)*C2+exp(t)*C1-5-exp(x)*cos(x)-x*exp(x)
dsolve('D2y+y=2*x+3')
ans =
sin(t)*C2+cos(t)*C1+2*x+3
solve('D2y-2*Dy+y=x+4')
ans =
C2*exp(t)+exp(t)*t*C1+x+4
dsolve('D2y-2*Dy+2*y=x^2')
ans =
exp(t)*sin(t)*C2+exp(t)*cos(t)*C1+1/2*x^2
dsolve('D2y-3*Dy=9*x^2')
ans =
1/3*exp(3*t)*C1-3*x^2*t+C2
dsolve('D2y+y=x*sin(x)')
ans =
sin(t)*C2+cos(t)*C1+x*sin(x)
dsolve('D2y-4*Dy=x*exp(4*x)')
ans =
1/4*exp(4*t)*C1-1/4*x*exp(4*x)*t+C2
dsolve('D2y-5*Dy+6*y=26*sin(3*x)')
ans =
exp(2*t)*C2+exp(3*t)*C1+13/3*sin(3*x)
dsolve('D2y-2*Dy=x*cos(x)')
ans =
1/2*exp(2*t)*C1-1/2*x*cos(x)*t+C2
dsolve('D2y-7*Dy+6*y=exp(x)*sin(x)')
ans =
exp(6*t)*C2+exp(t)*C1+1/6*exp(x)*sin(x)
dsolve('D2y-5*Dy+6*y=exp(x)+x^2')
ans =
exp(2*t)*C2+exp(3*t)*C1+1/6*x^2+1/6*exp(x)
dsolve('D2y+y=x*exp(x)+2*exp(-x)')
ans =
sin(t)*C2+cos(t)*C1+x*exp(x)+2*exp(-x)
dsolve('D3y+D2y=exp(-x)')
ans =
exp(-t)*C1+1/2*exp(-x)*t^2+C2*t+C3
dsolve('D2y+5*Dy+6*y=0','y(0)=1','Dy(0)=-6')
ans =
-3*exp(-2*t)+4*exp(-3*t)
dsolve('D2y-8*Dy+16*y=0','y(0)=0','Dy(0)=1')
ans =
exp(4*t)*t
dsolve('D3y-Dy=0','y(0)=3','Dy(0)=-1','D2y(0)=1')
ans =
2+exp(-t)
dsolve('D3y-5*D2y+8*Dy-4*y=0','y(0)=1','Dy(0)=1','D2y(0)=2')
ans =
2*exp(t)-exp(2*t)+exp(2*t)*t
dsolve('D2y=1/(1+x^2)')
ans =
1/2/(1+x^2)*t^2+C1*t+C2
solve('2*Dx+6*x=t*exp(-3*t)')
ans =
1/4*(t^2+4*C1)*exp(-3*t)
dsolve('Dx+3*x=exp(-2*t)','x(0)=0')
ans =
(exp(t)-1)*exp(-3*t)
dsolve('D2x+6*Dx=12*t+2','x(0)=0')
ans =
t^2-exp(-6*t)*C2+C2
solve('D2x+Dx+4*x=4','Dx(0)=-4')
ans =
exp(-1/2*t)*sin(1/2*15^(1/2)*t)*C2+exp(-1/2*t)*cos(1/2*15^(1/2)*t)*(8+15^(1/2)*
C2)+1
dsolve('D2x-Dx=2*sin(t)','x(0)=2','Dx(0)=0')
ans =
-sin(t)+cos(t)+exp(t)
dsolve('D2x-4*Dx+5*x=2*exp(2*t)*(cos(t)+sint(t))','x(0)=1','Dx(0)=2')
ans =
exp(2*t)*cos(t)+2*exp(2*t)*(Int(cos(_z1)*(cos(_z1)+sint(_z1)),_z1 = 0 ..
t)*sin(t)-Int(sin(_z1)*(cos(_z1)+sint(_z1)),_z1 = 0 .. t)*cos(t))
Do'stlaringiz bilan baham: |