problem about using for in maple 14

July 11 2011 by samiyare 15
false
Maple

0


hi

i want to write these commands in maple but i dont khnow how to wirte :

do i=1,10

ans = i*2

f(i)=ans

end do

 

above code written in fortran patern and i want maple patern. for example i try these command but it doesnt work.

for ii from 1 to 10
 do ii*2
 f[ii](x):=%
end do

 
Loading Comments & Answers

You must be logged into your MaplePrimes account in order to post a comment. If you don't have an account, you can create an account here.

     

Forgot Your Password? Create an Account