Put an EndFor command 2 lines down from the For j,1.n/2 line. Right above y1(p) store p. You'll have to have a 0 store p inserted into the program or, you'll get a circular error. I put mine right under input n. Also where you store 0 in s and v.
334 views
Usually answered in minutes!
The For command needs a EndFor statement. Some of your characters or, variables did not transfer to the posting correctly. Can you tell me which one didn't and, tell me what they should be. What is in front of g and, shouldn't you have * between g and t as in g*t. p isn't defined at first in the prodram. And I wouldn't use the ; symbol in place of the : or, store. Either that or, you can't use it the way that you are doing. shouldn't 2j be 2*j. I'll help you out on this program put, your going to have to post and, tell me what your varibles are. there's better ways to program this function. But, I'll do it in basic if you clarify more. What is the "and sign" "
The above comment must be the max length for clarifications. well, to finish my last clarification. Is j complex j? Is g the unit's g constant? what kind of solution are you lookng for s and v. Should be a number but, could be the formula or, equation to s and v. Let me know.
×