Items tagged with language language Tagged Items Feed


every time I enter / or ^, maple automatically changed the text I entered into fraction or power, and I am having hard time enter equations normally like the way I do in graphic calculator or matlab. I am forced to type all my equations on a text pad and then copy over.

is there a way to stop maple from auto formatting my input text? I am more of a matlab guy and I really need to use symbolics and integration abilities right now, but this version of maple is making...

HI,

I want to make a program that will list the twin primes.  Is it possible to implement the isprime function in C?  I want to be able to run this program on a computer that doesn't have Maple installed.  Here is my code -

twinprimes := proc (maxnum)
local a;
description "output the twin primes less than maxnum";
printf("%12d", 3);
for a from 6 by 6 to maxnum do
if `and`(isprime(a-1) = true, isprime(a+1) = true)
then printf("%12d", a-1) end if

In case if you like notepad++  under windows, and still didn't do smth like that then this is for you .userDefineLang.zip

Unpack to notepad++ folder. In case if you already had had other
own language then just copy "Maple language" section.

GCD := proc (a, b) local sol, x, y, eqs, vars; vars := [x, y]; eqs := [Typesetting:-delayDotProduct(cos(x), sin(y)) = 0, y+sin(x) = b]; sol := solve(eqs, vars); sol end proc

I tried to convert this code into C, using C(GCD) and got an error message that target language may not recognize commands like solve etc., which is obvious. Please let me know if there is any way to convert procedures involving such commands into C code.

Read and write English  is a strian!

Page 1 of 1