18-Opal
March 23, 2022
Solved
ISPrime Issues
- March 23, 2022
- 3 replies
- 4448 views
Hi
Issue with file as below. Prime 7 attached. I can't allocate the values to "Data" without doing the symbolic evaluation.

Contrary to Prime, in (real) Mathcad you can make a numeric function IsPrime from the symbolic isprime:


So the function proposed by the OP is possible:

and gives:

There's another function: nextprime that can also be helpful here:


Success!
Luc
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.