You are on page 1of 2

Bài 1: c)

a) >> syms x f
>> syms x f >> f=sin(x)*x+x^4;
>> f=x^6; >> diff(f,x)
>> diff(f,x,1)
ans = ans =
6*x^5 sin(x) + x*cos(x) + 4*x^3
b)
>> syms x f >> diff(f,x,2)
>> f=sqrt(x);
ans =
>> diff(f,x)
2*cos(x) - x*sin(x) + 12*x^2
ans =
Bài 3:
1/(2*x^(1/2))
>> syms t s v a
c)
>> s=t^3-3*t;
>> syms x f
>> %phuong trinh van toc
>> f=x*sqrt(x);
>> v=diff(s,t)
>> diff(f,x)
ans = v=
(3*x^(1/2))/2 3*t^2 - 3
Bài 2:
a) >> %phuong trinh gia toc
>> syms x f >> a=diff(s,t,2)
>> f=x^4-3*x^3-16*x;
a=
>> diff(f,x) 6*t
ans =
4*x^3 - 9*x^2 - 16 >> %gia toc chuyen dong sau
>> diff(f,x,2) 2 giay
ans = >> subs(a,t,2)
12*x^2 - 18*x
b) ans =
>> syms x f 12
>> f=sqrt(x)+x^(1/3)
>> %gia toc chuyen dong khi
f= van toc bang 0
x^(1/2) + x^(1/3) >> solve(v)

ans =
>> diff(f,x)
ans = -1
1/(2*x^(1/2)) + 1/(3*x^(2/3)) 1
>> subs(a,t,1)
>> diff(f,x,2) ans =
ans =
6
- 1/(4*x^(3/2)) - 2/(9*x^(5/3))
>> subs(y,x,1)
Bài 4: ans =
>> syms t s v a
>> s=2*t^3-7*t^2+4*t+1; -6
>> %van toc
>> v=diff(s,t) >> % vay diem thoa man yeu

You might also like