Advertisement
iocoder

Solution using Euler

Dec 2nd, 2015
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. -> 500cos(a)-288.6sin(a)-300=0
  2.  
  3. Euler:
  4. cos(x) = (e^jx+e^-jx)/2
  5. sin(x) = (e^jx-e^-jx)/2j
  6.  
  7. -> Substitute in the original equation:
  8.  
  9. 250e^ja+250e^-ja-(144.3/j)e^ja+(144.3/j)e^-ja-300=0
  10.  
  11. -> Reorder terms:
  12.  
  13. (250-144.3/j)e^ja+(250+144.3/j)e^-ja-300=0
  14.  
  15. -> Multiply by e^ja:
  16.  
  17. (250-144.3/j)e^2ja-300e^ja+(250+144.3/j)=0
  18.  
  19. -> Now solve the equation to find e^ja
  20.  
  21. a=((-144.3+250j)/j)=250+144.3j
  22. b=-300
  23. c=((144.3+250j)/j)=250-144.3j
  24.  
  25. sol=(-b+-sqrt(b^2-4ac))/2a
  26.  
  27. -> We have two solutions:
  28.  
  29. ans1=0.87716506966622945779+0.48018896338570592133j
  30. ans2=0.02295205357384654090-0.99973656691987778778j
  31.  
  32. For ans1:
  33. ----------
  34. e^ja=ans1
  35. ja=ln(ans1)
  36. =ln(0.87716506966622945779+0.48018896338570592133j)
  37. =0.50087012481978262042j
  38. a=0.50087012481978262042 rad (28.6977442 degrees)
  39.  
  40. For ans2:
  41. ----------
  42. e^ja=ans2
  43. ja=ln(ans2)
  44. =ln(0.02295205357384654090-0.99973656691987778778j)
  45. =-1.54784225756526295179j
  46. a=-1.54784225756526295179 (-88.6848287 degrees)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement