You are on page 1of 3

>> syms t >> int(h,0,2)

>> h=2*sin(t)+t^2+1/exp(t)

ans =

h=

17/3 - exp(-2) - 2*cos(2)

exp(-t) + 2*sin(t) + t^2

>> ezplot(h[0,2])

>> diff(h) ezplot(h[0,2])

ans = Error: Unbalanced or unexpected


parenthesis or bracket.

2*t - exp(-t) + 2*cos(t)


>>

>> ezplot(h,[0,2])
>> diff(diff(h))
>> dt=0,0.2,2

ans =
dt =

exp(-t) - 2*sin(t) + 2
0

>> int(h)

ans =
ans =

0.2000
t^3/3 - 2*cos(t) - exp(-t)

>> pretty(ans)
ans =
3

t
2
-- - 2 cos(t) - exp(-t)

3
>> dh=subs(h,t,dt)
dh =

>> [dt;dh]

ans =

>> plot(dt/dh)

>> plot(dt/dh,'o')

>> hold on

>> ezplot(h,[0,2])
>> syms x y Did you mean:

>> int(1/y) >> int(x/(x^2+4^2)^3/2)

ans = ans =

log(y) -1/(8*(x^2 + 16)^2)

>> int(x/(x^2+16)) >> pretty(ans)

ans = - ------------

2 2

log(x^2 + 16)/2 8 (x + 16)

>> int(x/(x^2+4^1)^3/2) >> dsolve('(x^+16)

dsolve('(x^+16)

ans = |

Error: String is not terminated properly.

-1/(8*(x^2 + 4)^2)

>> dsolve('(x^+16)Dy-x*y=x',

>> pretty(ans)

- -----------

2 2

8 (x + 4)

>> int(x/(x^2+4

int(x/(x^2+4

Error: Expression or statement is


incorrect--possibly unbalanced (, {, or [.

You might also like