Question: Maple Programming Guide, Exercise 5.9.1, 2013

Exercise description: "Find the product of the square root of all prime numbers less than 100."

 

I'm very new to maple, and I'm having problems with this exercise.

 

I've managed to write a script that'll give me the prime numbers, but I don't know how to get the numbers into a format I can work with.

 

My script:

 

for i to 100 do

if isprime(i)=true then

print(i)

end if

end do;

 

Some advice would be appreciated.

Please Wait...