## swissgirl 3 years ago Anyone familiar with mathematica?

1. swissgirl

http://www.math.ysu.edu/~faires/Numerical-Analysis/Programs/programs/mathematica/ I need help with ALG023.MA I evaluated the notebook

2. swissgirl

and I entered the function \( \large e^{6x}+3(ln2)^2e^{2x}-(ln8)e^{4x}-(ln2)^3 \)

3. swissgirl

Like I am not sure how to enter this function

4. swissgirl

hmmmmmmmm

5. swissgirl

@nincompoop r u there?

6. swissgirl

ohhhhhhh Ill try to input that

7. kaushi

This is how your input should be in formal Mathematica notation: Exp[6x]+3 Log[2]^2 Exp[2x]- Log[8] Exp[4x]- Log[2]^3

8. swissgirl

hmmmm not sure gotta play around a lil Thanks guys :)

9. swissgirl

@experimentX Can u help me out?

10. swissgirl

like I think smth is wrong since I think its taking too long to converge

11. swissgirl

So maybe I am inputting it incorrectly

12. experimentX

this right? http://www.wolframalpha.com/input/?i=e^ {6x}%2B3%28ln2%29^2e^{2x}-%28ln8%29e^{4x}-%28ln2%29^3 do you know WA interprets latex?

13. swissgirl

nooooooooooooooooooo

14. experimentX

lol ... probably you should remove { } E^(6 x) + 3 Log[2]^2 E^(2 x) - Log[8] E^(4 x) - Log[2]^3

15. swissgirl

ok let me tryyyyy

16. experimentX

for these types ... create a W|A accound (free one) ... sometimes it let's you copy things around ... like Mathematica input

17. swissgirl

ohhhhhhhh i willll

18. swissgirl

smth is going wrong with my mathematica ughhhh

19. swissgirl

idk smth is weird a number my book got for the 6th itteration I got for the 16th iteration

20. swissgirl

so either I am entering smth incorrectly orrrrrrrrrrr there is some typo

21. experimentX

22. swissgirl

how did u get that?

23. swissgirl

Like how can i do that input output thingy?

24. experimentX

copy paste .. lol

25. swissgirl

Like u see I got for 16 --> -0.182888 and the book got this number for the 6th iteration So I kinda have a sneaky feeling that somehow the program is messing up

26. swissgirl

Newtons method involves dividing the function by its derivative so I wonder if the derivative is getting messed up

27. experimentX

when it comes to programming mathematica ... i at zero level. If it were Matlab ... i could have re- programmed it

28. experimentX

try this Log[4] == Log[2]^2

29. swissgirl

So like how wold u get it to be (log[2])^2?

30. swissgirl

Where should i try that?

31. experimentX

try to create a new notebook ..

32. swissgirl

ohhhhh

33. swissgirl

It said false

34. swissgirl

lol I dont know a thing from beanssss

35. swissgirl

36. swissgirl

Just followed what u told me to do idkkkkkkkkkkkkkkkkkkkkkkk

37. swissgirl

38. swissgirl

I am confuzzleddddd

39. swissgirl

When I enter Log[2]^2 does mathematica read it as Log[4]?

40. swissgirl

Or does it read it as (log(2))^2?

41. experimentX

this means Log[2]^2 not equal to Log[4]

42. swissgirl

YAYYYYYYYYYY

43. swissgirl

Ok maybe there is a typo in my book whtvr

44. swissgirl

I am totally driving u guys crazyyyyyy

45. experimentX

you should learn programming http://www.mathprogramming-intro.org/ google them, there are lot's of stuff ... I'm learning after exams

46. swissgirl

ikkk I should. I just dont know where to begin

47. swissgirl

48. swissgirl

I just never have time in my life idkkkkkkkkkkk I think i gotta start organizing my life

49. experimentX

haha ... you should learn from how to evaluate expression ... probably

50. swissgirl

Probabbbbllyyyyy

51. swissgirl

hahah the only time I learnt about programming was back in HS we learnt visual basics hahahah which isnt relevant

52. experimentX

no one works with VB these days. I tried to do a VB in second year. it was a failure. I don't know why everyone is interested in python these days.

53. swissgirl

idk It seems like C++ is what everyone studies idk

54. experimentX

i learned C on undergrad school ... tried to learn c++ ... didn't complete it.

55. experimentX

i thin i'll try to learn python/mathematica/matlab ... after exam

56. swissgirl

hahahah ure always learning after exams

57. swissgirl

idk I am getting sick of studying. Nothings interesting nemore. idk The course I am taking right now is soooooo boring. idk Like after a while u just get sick of everything

58. experimentX

probably you skipped the basics ... mathematics always seemed interesting. my teachers were awful ... didn't understand algebra well. I failed in finals of my final year.

59. swissgirl

idk Its numerical methods and I get headaches when like computing with tiny numbers. I keep on having to check if I am made a mistake. I guess I am not cut out for math :(

60. experimentX

yeah ... i don't like it either ... Maybe i failed the day before yesterday's exam because of it. seeing it I thought it could ... but due to lack of practice i couldn't do it.

61. swissgirl

U recently took that course toooo????

62. experimentX

I have it in my course ... Mathematical physics.

63. swissgirl

ohhhhhhhhhhhhhhhhhhhhhh its very technical and I so hate it. maybe it will get a lil bit nore exciting. Its like its a no brainer once u know the formulas u just enter all the info

64. experimentX

well ... i still love deriving the Euler's method and Newton's Rhapson's method ... I hate RK-4 ,,,,

65. swissgirl

didnt get up to RK-4 yet

66. swissgirl

Are u familiar with aitken's method?

67. experimentX
68. swissgirl

Ohhhhh i lovee thattttt

69. experimentX

probably not ... i skipped the whole chapter. all i studied for exam was RK-4 and Newton interpolation ... lol ...i couldn't do both.

70. swissgirl

lol ya well i dont have to take exams I just have to hand in work So i dont have to memorize any formulas

71. experimentX

very nice for you ... you don't want to be in my position right now.

72. swissgirl

No i reallyyyyyy dont lol

73. experimentX

my stat 1 down -- flunked 3 remaining --- gonna drop probably

74. swissgirl

Cuz u r taking wayyy too many courses at once

75. experimentX

76. experimentX

probably i should quit physics and start math ... lol

77. swissgirl

lol but ure finished with ur undergrad? Like I kinda find it crazy that ppl study for sooooo long

78. experimentX

yeah ... i graduated with physics, and half way through grad school ... tried to get extra math in undergrad .. failed on both.

79. swissgirl

80. experimentX

dunno ... it's just so nice to be freeloader at home being student.

81. swissgirl

lol hahahahah i guesssss

82. experimentX

yeah ... 1/3 of life is gone this way these days studying .. or even more.

83. experimentX

http://a7.sphotos.ak.fbcdn.net/hphotos-ak-ash3/546053_3789383858455_1259887902_n.jpg until you reach the top of that parabola ... you are still a student.

84. swissgirl

omggg I dont like that lol

85. experimentX

somebody named it cycle of life ... lol

86. swissgirl

Well it is the cycle of life.

87. experimentX

yeah ... kinda feel pretty bad to grow old and for the old

88. swissgirl

Ya it makes u feel like u wasted ur life idkkk

89. experimentX

I'm still at my prime for my age ... but not career :((

90. swissgirl

Once u hit the prime of ur career afterwards it heads downwards

91. experimentX

hahahaha ...