Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. %1.a
  2.  
  3. y = 6*35^(1/4) + 14^(0.35)
  4.  
  5. %1.b
  6.  
  7. y = (77^3)/(13*7)-3*10^3+e^(-35*pi)
  8.  
  9. %1.c
  10.  
  11. y = (-3+7i)*(-8-6*i^3)
  12.  
  13. %1.d
  14.  
  15. x = 0.4
  16.  
  17. y = e^(x)+log(x)+(1/sin(x))-cos(x)+tan(x)+cot(x)-log10(x)*sin(x)+(log2(x))^3
  18.  
  19. %2.1a
  20.  
  21. p1 = [-1 -0.5 0 0.5 1]
  22.  
  23. p2 = [17 1 -3-i 4/3 10]
  24.  
  25. y1 = p1 + p2
  26.  
  27. %2.1b
  28.  
  29. y2 = p1.*p2
  30.  
  31. %2.1c
  32.  
  33. y3 = p1.*p1
  34.  
  35. y4 = p2.*p2
  36.  
  37. %2.2
  38.  
  39. P = p2.'*p1
  40.  
  41. P(4:5,:)
  42.  
  43. %2.3
  44.  
  45. x=(0:0.7:pi)
  46.  
  47. y = (sin(x).^2)+(cos(x).^2)
  48.  
  49. %2.4
  50.  
  51. x = (0:pi/6:pi)
  52.  
  53. y = sin(x)
  54.  
  55. tablica = [x',y']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement