You are on page 1of 5

%Viernes, Marben L.

BSCE-4A
%CNSC/CoEng/Cam Prelim/Activity 3
syms x y syms x y
y=sqrt(4*x-1) y=exp(1-x)

y =(4*x - 1)^(1/2) y =

pretty(y)
exp(1 - x)
sqrt(4 x - 1)
pretty(y)
int(y)
exp(1 - x)

ans = int(y)

(4*x - 1)^(3/2)/6 ans =

pretty(ans)
-exp(1 - x)
3/2
(4 x - 1) pretty(ans)
------------ -exp(1 - x)
6
syms x y
y=(x+1)*(x^2+2*x+5)^12

y =

(x + 1)*(x^2 + 2*x + 5)^12

pretty(y)
2 12
(x + 1) (x + 2 x + 5)

int(y)

ans =

x^26/26 + x^25 + (29*x^24)/2 + 148*x^23 + 1175*x^22 + 7634*x^21 + 41899*x^20 + 198308*x^19 + (1642399*x^18)/2 + 3005695*x^17 +
(19590703*x^16)/2 + 28568744*x^15 + 74825258*x^14 + (2292306316*x^13)/13 + 374126290*x^12 + 714218600*x^11 + (2448837875*x^10)/2 +
1878559375*x^9 + (5132496875*x^8)/2 + 3098562500*x^7 + 3273359375*x^6 + 2982031250*x^5 + 2294921875*x^4 + 1445312500*x^3 +
(1416015625*x^2)/2 + 244140625*x

You might also like