Download as pdf or txt
Download as pdf or txt
You are on page 1of 20

Nama : Dimas Aditya Nugraha

Kelas : F
NIM : 22539141020

UTS Matematika Dasar


1. Soal persamaan fungsi dan grafik

Trigonometri
In[ ]:= Plot[Sin[2 x], {x, 0, 2 Pi}]

1.0

0.5

Out[ ]=
1 2 3 4 5 6

-0.5

-1.0

In[ ]:= Plot[Sin[3 x], {x, 0, 2 Pi}]

1.0

0.5

Out[ ]=
1 2 3 4 5 6

-0.5

-1.0
2 tugas wolfram.nb

In[ ]:= Plot[Sin[5 x], {x, 1, 2 Pi}]

1.0

0.5

Out[ ]=
2 3 4 5 6

-0.5

-1.0

In[ ]:= Plot[Sin[6 x], {x, 4, 2 Pi}]

1.0

0.5

Out[ ]=
4.5 5.0 5.5 6.0

-0.5

-1.0

In[ ]:= Plot[Sin[5 x], {x, 3, 2 Pi}]

1.0

0.5

Out[ ]=
3.5 4.0 4.5 5.0 5.5 6.0

-0.5

-1.0

Linear
tugas wolfram.nb 3

Plot[x - 5, {x, 3, 2 Pi}]

1.0

0.5

3.5 4.0 4.5 5.0 5.5 6.0


Out[ ]=
-0.5

-1.0

-1.5

-2.0

In[ ]:= Plot[x - 7, {x, 0, 5 Pi}]

Out[ ]=

5 10 15

-5

In[ ]:= Plot[x - 3, {x, 3, 7 Pi}]


20

15

Out[ ]= 10

5 10 15 20
4 tugas wolfram.nb

In[ ]:= Plot[x + 5, {x, 0, - 7 Pi}]

-20 -15 -10 -5

-5
Out[ ]=

-10

-15

In[ ]:= Plot[x + 6, {x, 0, - 2 Pi}]

Out[ ]= 3

-6 -5 -4 -3 -2 -1

Eksponensial
In[ ]:= Plot[x ^ 2 + - 6 x + 8, {x, 0, - 2 Pi}]

80

60

Out[ ]=
40

20

-6 -5 -4 -3 -2 -1

In[ ]:=
tugas wolfram.nb 5

In[ ]:= Plot[- 2 x ^ 4 + 6 x - 7, {x, 0, 8 Pi}]

5 10 15 20 25

-200 000

Out[ ]= -400 000

-600 000

-800 000

In[ ]:= Plot[x ^ 4 + - 6 x ^ 3 + 8 x ^ 2 + 2 x, {x, 0, - 2 Pi}]


3500

3000

2500

2000
Out[ ]=
1500

1000

500

-6 -5 -4 -3 -2 -1

In[ ]:= Plot[3 x ^ 6 + 5 x ^ 5 + 8 x ^ 4 + 2 x ^ 3 + 6 x ^ 2 + 4 x, {x, 4, - 2 Pi}]

40 000

30 000

Out[ ]=

20 000

10 000

-6 -4 -2 2 4
6 tugas wolfram.nb

In[ ]:= Plot[6 x ^ 5 + 5 x ^ 4 x + 4 x ^ 3 x + 3 x ^ 2 x + 4 x, {x, 8, - 6 Pi}]

-15 -10 -5 5

-5.0 × 106

Out[ ]=

-1.0 × 107

-1.5 × 107

Logaritma
In[ ]:= Plot[Log[4 x], {x, 3, - 2 Pi}]

Out[ ]=

-6 -4 -2 2

-1

In[ ]:= Plot[Log[6 x], {x, 4, - 8 Pi}]

Out[ ]=
1

-25 -20 -15 -10 -5

-1
tugas wolfram.nb 7

In[ ]:= Plot[Log[- 8 x], {x, - 2, 8 Pi}]


3

1
Out[ ]=

5 10 15 20 25

-1

In[ ]:= Plot[Log[- 4 x], {x, - 6, 7 Pi}]

Out[ ]=
1

-5 5 10 15 20

In[49]:= Plot[Log[- 4 x ^ 6 x], {x, - 10, 4 Pi}]

15

10

5
Out[49]=

-10 -5 5 10

-5

-10

Exponensial
8 tugas wolfram.nb

2
In[ ]:= Plotxx -4 x+4
, {x, 2, - 5 Pi}
1.2

1.0

0.8

Out[ ]= 0.6

0.4

0.2

-15 -10 -5

2
In[ ]:= Plotxx -7 x+10
, {x, 6, - 8 Pi}
5

Out[ ]=

-25 -20 -15 -10 -5 5

2
In[ ]:= Plotxx -8 x+6
, {x, 5, - 10 Pi}

0.6

0.4
Out[ ]=

0.2

-30 -25 -20 -15 -10 -5 5


tugas wolfram.nb 9

2
In[ ]:= Plotxx =4 x-8
, {x, 5, - 4 Pi}

Set: Tag Power in (-12.566)2 is Protected.

1.5 × 106

1.0 × 106

Out[ ]=

500 000

-10 -5 5

2
In[ ]:= Plotxx -4 x-6
, {x, 3, - 4 Pi}
400

300

Out[ ]= 200

100

-10 -5

Set: Tag Power in (-12.566)2 is Protected.


10 tugas wolfram.nb

2. Selesaikan persamaan simultan di bawah ini dengan menggunakan matriks

a. 3x1 - 2 x2 - x3 = 1020
x1 + 4 x2 + 2 x3 = 1020
x1 - x2 + x3 = 1020

3 -2 -3
In[2]:= A = 1 4 2
1 -1 1
Out[2]= {{3, - 2, - 3}, {1, 4, 2}, {1, - 1, 1}}

1020
In[3]:= B = 1020
1020
Out[3]= {{1020}, {1020}, {1020}}

In[4]:= Inverse [A]


6 5 8 1 6 9 5 1 14
Out[4]=  , , ,  , ,- , - , , 
31 31 31 31 31 31 31 31 31

In[5]:= MatrixForm[Inverse[A]]
Out[5]//MatrixForm=
6 5 8
31 31 31
1 6
- 9
31 31 31
- 5 1 14
31 31 31

x1
In[6]:= x2 = Inverse[A].B
x3
19 380 2040 10 200
Out[6]=  , - ,  
31 31 31

x1
In[7]:= MatrixForm x2 
x3
Out[7]//MatrixForm=
19 380
31
- 2040
31
10 200
31

b. 3 x1 - 2 x2 - x3 + 5 x4 + 6x5 = 1020
x1 + 4 x2 + 2 x3 + 6 x4 + 7 x5 = 3
x1 - 4 x2 + 2 x3 + 5 x4 + 8 x5 = 1020
3 x1 - x2 + 2 x3 + 4 x4 + 5 x5 = 7
tugas wolfram.nb 11

2 x1 - x2 + 2 x3 + 4 x4 + 6 x5 = 1020
3 -2 -1 5 6
1 4 2 6 7
In[9]:= Q = 1 -1 1 5 8
3 -1 2 4 5
2 -1 2 4 6
Out[9]= {{3, - 2, - 1, 5, 6}, {1, 4, 2, 6, 7}, {1, - 1, 1, 5, 8}, {3, - 1, 2, 4, 5}, {2, - 1, 2, 4, 6}}

1020
3
In[10]:= W = 1020
7
1020
Out[10]= {{1020}, {3}, {1020}, {7}, {1020}}

In[11]:= Inverse[Q]
1 5 1 13 13 19
9 25
Out[11]= 2, , - 5, -
,  , , - ,,- , ,
2 2 2 4 2 4 2 4
9 1 17 13 33 25 3 65 47 133 1 15 21
- , - , , ,- , - ,- , , ,- , 2, , - 5, - , 
8 4 8 4 8 8 4 8 4 8 2 2 2

In[12]:= MatrixForm[Inverse[Q]]
Out[12]//MatrixForm=
1
2 -5 - 13 19
2 2 2
5 1
- 13 -9 25
4 2 4 2 4
-9 -1 17 13
- 33
8 4 8 4 8
- 25 -3 65 47
- 133
8 4 8 4 8
1
2 -5 - 15 21
2 2 2

x1
x2
In[14]:= x3 = Inverse[Q].W
x4
x5
6331 23 555
Out[14]= {6586}, {4305}, - , - , {7599}
2 2

x1
x2
In[15]:= MatrixForm x3 
x4
x5
Out[15]//MatrixForm=
19 380
31
4305
- 6331
2
- 23 555
2
7599

c. Tentukan eugenvalue dan eugenvektor dari matriks berikut


12 tugas wolfram.nb

3 4 1
In[16]:= a = 7 -2 4
9 1 -4
Out[16]= {{3, 4, 1}, {7, - 2, 4}, {9, 1, - 4}}

In[17]:= Eigenvalues[a]
Out[17]= Root- 293 - 51 #1 + 3 #12 + #13 &, 1,
Root- 293 - 51 #1 + 3 #12 + #13 &, 3, Root- 293 - 51 #1 + 3 #12 + #13 &, 2

In[18]:= MatrixForm[Eigenvalues[a]]
Out[18]//MatrixForm=

Root- 293 - 51 #1 + 3 #12 + #13 &, 1


Root- 293 - 51 #1 + 3 #12 + #13 &, 3
Root- 293 - 51 #1 + 3 #12 + #13 &, 2

In[19]:= Eigenvectors[a]
1 2
Out[19]=  149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 1 - Root- 293 - 51 #1 + 3 #12 + #13 &, 1 ,
272
1 2
- 253 + 2 Root- 293 - 51 #1 + 3 #12 + #13 &, 1 + 9 Root- 293 - 51 #1 + 3 #12 + #13 &, 1 ,
272
1,
1 2
 149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 3 - Root- 293 - 51 #1 + 3 #12 + #13 &, 3 ,
272
1 2
- 253 + 2 Root- 293 - 51 #1 + 3 #12 + #13 &, 3 + 9 Root- 293 - 51 #1 + 3 #12 + #13 &, 3 ,
272
1,
1 2
 149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 2 - Root- 293 - 51 #1 + 3 #12 + #13 &, 2 ,
272
1 2
- 253 + 2 Root- 293 - 51 #1 + 3 #12 + #13 &, 2 + 9 Root- 293 - 51 #1 + 3 #12 + #13 &, 2 ,
272
1

In[20]:= MatrixForm[Eigenvectors[a]]
Out[20]//MatrixForm=
1 2 1
149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 1 - Root- 293 - 51 #1 + 3 #12 + #13 &, 1  -
272 272
1 2 1
149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 3 - Root- 293 - 51 #1 + 3 #12 + #13 &, 3  -
272 272
1 2 1
149 + 30 Root- 293 - 51 #1 + 3 #12 + #13 &, 2 - Root- 293 - 51 #1 + 3 #12 + #13 &, 2  -
272 272

3. Suatu perusahaan manufaktur memperoleh pesanan tangki bahan bakar berbentuk tabung
dengan kapasitas 1013 liter
a. Berapakah jari-jari dan tinggi tabung yang paling efisien memerlukan bahan?
In[21]:= V = πr2 t

1020 = πr2 t

1020
t=
πr2
Set: Cannot assign to raw object 1020.
tugas wolfram.nb 13

L = 2 πr2 + 2 πrt
1020
= 2 πr2 + 2 πr.
πr2
1020
= 2 πr2 + 2.
r
2040
= 2 πr2 +
r
L' = 0
4 πr - 2040 r-2 = 0
4 πr = 2040 r-2
1020
2 πr =
r
1020
r3 =

1020
r = 3

1020
t =
πr2
1020
=
2
3 1020
π 2π

1020 1/3
= 22/3
π
b. Berapa luas bahan yang diperlukan untuk membuat tangki tersebut?
In[25]:= L = 2 πr2 + 2 πrt
2
1020 1020 1020 1/3
= 2π 3 +2π 3 . 22/3
2π 2π π

= 3 × 10202/3 2 π dm2

In[28]:= N3 × 10202/3 2 π1/3 

560.937737766538 dm2

c.Apabila harga bahan baja Rp 50.000 per dm2 ,berP modal yang harus disiapkan?

In[29]:= Modal = 560.937737766538 × Rp 50.000

Set: Symbol Modal is Protected.

Rp 28046.886888326902`

4. Selesaikan turunan pertama dari fungsi berikut


14 tugas wolfram.nb

In[30]:= a. y = f (x) f.y = 8 x + 7 ^ 1020


∂x 8 x + 7 ^ 1020
Out[30]= 7 + 8 x1020

Out[31]= 8160 7 + 8 x1019

In[34]:= b.y = f (x) = In 6 x = 1020


b[x_] = In 6 x + 1020

Out[34]= 1020 In

Out[35]= In 1020 + 6 x

In[36]:= b '[x]
Out[36]= 6 In

c.y = f (x) = ⅇSin[3 x]

In[39]:= c[x_] = ⅇSin[3 x]


Out[39]= ⅇSin[3 x]

In[40]:= c '[x]
Out[40]= 3 ⅇSin[3 x] Cos[3 x]

In[41]:= d.y = f (x) = x * Sin[1020 x]

In[44]:= d[x_] = x * Sin[1020 x]


Out[44]= x Sin[1020 x]

In[45]:= d '[x]
Out[45]= 1020 x Cos[1020 x] + Sin[1020 x]

e. x * y5 + x2 * Sin[y] = 1020

x * y5 + x2 * Sin[y] = 1020

dy dy
y5 + 5 xy4 + 2 x * Sin[y] + x2 * Cos[y] = 0
dx dx
dy
5 xy4 + x2 * Cos[y] + 2 x * Sin[y] + y5 = 0
dx
dy
5 xy4 + x2 * Cos[y] = - 2 x * Sin[y] + y5 + y5 
dx

dy - 2 x * Sin[y] + y5 
=
dx 5 xy4 + x2 * Cos[y]

- 2 x * Sin[y] + y5 
y' =
5 xy4 + x2 * Cos[y]

1020 Sin[2 x] x2 + 5 x + 7


f.y =
In Cos[x]
tugas wolfram.nb 15

1020 Sin[2 x] x2 + 5 + 7


In[46]:= f[x_] =
In Cos[x]
1020 12 + x2  Sec[x] Sin[2 x]
Out[46]=
In

In[47]:= f '[x]
2040 12 + x2  Cos[2 x] Sec[x] 2040 x Sec[x] Sin[2 x] 1020 12 + x2  Sec[x] Sin[2 x] Tan[x]
Out[47]= + +
In In In

g. Buatlah 5 contoh turunan dari fungsi trigonometri


In[78]:= D2 Sin[x], x
Out[78]= 2 Cos[x]

In[79]:= D6 Cos[x], x


Out[79]= - 6 Sin[x]

In[83]:= D5 ^ 2 Cos[x], x


Out[83]= - 25 Sin[x]

In[84]:= ∂x 3 ^ 2 Sin[x]
Out[84]= 9 Cos[x]

Cos[6 x], Sin[2 x]

In[85]:= g[x_] = {Cos[6 x], Sin[2 x]}


Out[85]= {Cos[6 x], Sin[2 x]}

In[86]:= g '[x]
Out[86]= {- 6 Sin[6 x], 2 Cos[2 x]}

h. Buatlah 5 contoh turunan dari fungsi eksponensial


In[88]:= D8x+3 , x
Out[88]= 83+x Log[8]

In[89]:= D5x+3+3 x-2 , x


Out[89]= 4 × 51+4 x Log[5]

In[90]:= ∂x 123 x-2+4 x 


Out[90]= 7 × 12-2+7 x Log[12]

2
In[92]:= ∂x 162 x-4+x + 2 ^ 4
2
Out[92]= 16-4+2 x+x 2 + 2 x Log[16]

2
In[93]:= ∂x 35 x-7+x + 2 ^ 2
2
Out[93]= 3-7+5 x+x 5 + 2 x Log[3]

i. Buatlah 5 contoh turunan dari fungsi logaritma


16 tugas wolfram.nb

In[94]:= ∂x 2 x Logx2 
Out[94]= 4 + 2 Logx2 

In[95]:= ∂x 5 x ^ 2 Log3 x2 
Out[95]= 10 x + 10 x Log3 x2 

In[96]:= D4 x2 + 3 x Logx2 


Out[96]= 4 x2 + 3 x Logx2 

In[97]:= D6 x2+3 x + 7 x ^ 4 - 2 ^ 3 Log[x]


Out[97]= 7 x4 + 6 x2+3 x - 8 Log[x]

In[98]:= D2 x7+5 x + 9 x ^ 5 + 5 ^ 2 - 3 x2 x-2 Log[x]


Out[98]= 25 + 9 x5 + 2 x7+5 x - 3 x-2+2 x Log[x]

5. Selesaikan integral berikut secara manual dan menggunakan wolfram matematica


a.
1020
In[51]:=  ⅆx
x
Out[51]= 1020 Log[x]

b.

2
 x sin x ⅆ x

sin x4
Out[53]=
4

c.
1
In[54]:=  5 sin x ⅆx
2
5 sin x2
Out[54]=
4

d.
2x
In[55]:=  5 ⅆx

25x
Out[55]=
Log[25]

e.
tugas wolfram.nb 17

1020
In[57]:=  ⅆx
x2 +6x+4
Out[57]= 102 5 Log- 3 + 5 - x - Log3 + 5 + x

f.
1020
In[58]:=  ⅆx
5 - 4 x2
2x
Out[58]= 510 ArcSin 
5

g. Buatlah 5 contoh integral fungsi polynomial


2 5
In[59]:=  x + x + x + 7 ⅆ x

x2 x3 x6
Out[59]= 7x+ + +
2 3 6

2 5
In[60]:=  3 x + 2 x + 6 x + 7 ⅆ x

x6
Out[60]= 7 x + 3 x 2 + x3 +
3

4 5
In[61]:=  x + 2 x + 3 x + 8 ⅆ x

3 x2 x5 x6
Out[61]= 8x+ + +
2 5 3

6 5
In[62]:=  x + 3 x + 6 x + 2 ⅆ x

x6 x7
Out[62]= 2 x + 3 x2 + +
2 7

3 4
In[63]:=  4 x + 2 x + 8 x + 2 x ^ 2 ⅆ x

2 x3 2 x5
Out[63]= 4 x2 + + x4 +
3 5

h.Buatlah 5 contoh integral fungsi trigonometri

In[64]:=  2 Cos[x] ⅆ x

Out[64]= 2 Sin[x]

In[65]:=  5 Cos + 4 Sin[x] ⅆ x

Out[65]= 5 Cos x - 4 Cos[x]

In[66]:=  6 ^ 4 Cos + 6 Sin + 3 Sec[x] ⅆ x


x x x x
Out[66]= 1296 Cos x + 6 Sin x - 3 LogCos  - Sin  + 3 LogCos  + Sin 
2 2 2 2
18 tugas wolfram.nb

In[70]:=  2 ^ 3 Cos[x] - 2 Tan[x] ⅆ x

Out[70]= 2 Log[Cos[x]] + 8 Sin[x]

In[76]:=  4 ^ 2 Cos[x] - 3 Sin[x] ⅆ x

Out[76]= 3 Cos[x] + 16 Sin[x]


tugas wolfram.nb 19

You might also like