Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'For loop and if statement not getting implemented' topicStudent Support Forum > General > "For loop and if statement not getting implemented"

Next Comment >Help | Reply To Topic
Author Comment/Response
Akhilesh
09/01/12 03:56am

hi,
I am new to Mathematica and I am facing problems with the implementation of the following for loop.
I cant figure out whether there is a problem with the if statement or for loop. If statement is to check even or odd. I have attached my program.
The expected output for
Secondharmonicfrac[1, 2, Pi/2, 0]
is around 3.14



Attachment: stack_3.nb, URL: ,

Subject (listing for 'For loop and if statement not getting implemented')
Author Date Posted
For loop and if statement not getting implemented Akhilesh 09/01/12 03:56am
Re: For loop and if statement not getting imple... Bill Simpson 09/04/12 00:18am
Next Comment >Help | Reply To Topic