smithss

45 Reputation

2 Badges

14 years, 238 days

MaplePrimes Activity


These are questions asked by smithss

Given a list of n characters, for example [a,1,=,#,@,B,...]. Please help me use Maple command to randomly pick k elements, each element consists of q consecutive random characters, for example, randomly pick 4 elements, each element consists of 3 consecutive random characters a1=, aa&, BC!, 90%. Thank you very much for your help!

How to get logarithm expression using Maple command?

For example, enter log[2](x^2-3x+5)+x^3-1-log[3](x-1)

Output [x^2-3x+5,x-1]

Thank you very much for your help.

How to export Maplet file to .exe file to run independently without installing Maple software?

Hello everyone!

How do I get some information about my computer (eg Windows edition,System processor, Computer name, .....) with the Maple command?

Thanks for your help!

Hello everyone!

I use this procedure to open my inbox:

>restart;
ShellExecute := define_external('ShellExecuteA', hwnd::(integer[4]), lpOperation::string, lpFile::string, lpParameters::string, lpDirectory::string, nShowCmd::integer[4], 'RETURN'::integer[4], LIB = "C:\\WINDOWS\\SYSTEM32\\shell32.dll"):
OpenBrowser := proc(someURL::string := "http://")

ShellExecute(0, " ", someURL, " ", " ", 1); NULL;

end proc:

Case 1:  I entered the correct email address of my friend who sent me the mail

>OpenBrowser("https://mail.google.com/mail/u/0/?tab=rm&ogbl#inbox/xxxxxxGqRZXPKXGzrrSrfHscdNWspRJF");

As a result, the content of the message I received was opened with full information.

Case 2:  When I enter an arbitrary email address that is not my friend, the result is that no content is displayed.

>OpenBrowser("https://mail.google.com/mail/u/0/?tab=rm&ogbl#inbox/yyyyyyGqRZXPKXGzrrSrfHscdNWspRJf");

On the email there is only the message: The conversation you requested could not be loaded.

May I ask:  Is there any Maple command to return true in case 1 and to return false in case 2 ?

Thank you very much for your help !

1 2 3 Page 1 of 3