minhhieuh2003

140 Reputation

5 Badges

9 years, 340 days

MaplePrimes Activity


These are questions asked by minhhieuh2003

i used: 
Y := ssystem("dir C:"); print(Y)
result is

[0,"\" El volumen de la unidad C es OS\n El n£mero de serie del volumen es: 54A9-09DA\n\n Directorio de C:\\Program Files\\Maple 2016"

Windows operating system English version but Maple shows Spanish result
I want result is English. Please help me

Y := ssystem("dir C:"):

[0, " El volumen de la unidad C es OS
 El n£mero de serie del volumen es: 54A9-09DA

 Directorio de C:\Program Files\Maple 2016

21/02/2025  07:53 AM    <DIR>          .
22/02/2025  08:34 AM    <DIR>          ..
21/02/2025  07:50 AM    <DIR>          afm
21/02/2025  07:55 AM    <DIR>          bin.X86_64_WINDOWS
21/02/2025  07:52 AM    <DIR>          data
13/02/2025  07:46 AM    <DIR>          eBookTools
21/02/2025  07:50 AM    <DIR>          etc
02/02/2016  05:05 AM            73,861 EULA.html
21/02/2025  07:52 AM    <DIR>          examples
21/02/2025  07:52 AM    <DIR>          examplesclassic
21/02/2025  07:52 AM    <DIR>          Excel
21/02/2025  07:50 AM    <DIR>          extern
21/02/2025  07:52 AM    <DIR>          Fonts
13/01/2016  06:39 AM           223,499 Install.html
21/02/2025  07:52 AM    <DIR>          java
21/02/2025  07:52 AM    <DIR>          jre
21/02/2025  07:52 AM    <DIR>          lib
21/02/2025  07:55 AM    <DIR>          license
27/01/2011  11:13 PM             6,296 Maple Cloud Terms of Service.html
17/02/2016  02:54 PM         5,490,560 MapleToolbox2016.0WindowsX64Installer.exe
13/02/2025  07:48 AM           317,257 Maple_2016_Install_2025_02_13_08_46_07.log
21/02/2025  07:52 AM           317,834 Maple_2016_Install_2025_02_21_08_47_47.log
21/02/2025  07:50 AM    <DIR>          profiles
21/02/2025  07:52 AM             5,396 readme.txt
21/02/2025  07:52 AM    <DIR>          redist
21/02/2025  07:52 AM    <DIR>          samples
21/02/2025  07:52 AM    <DIR>          uninstall
21/02/2025  07:52 AM    <DIR>          update
13/02/2025  07:46 AM    <DIR>          Users
               7 archivos      6,434,703 bytes
              22 dirs  148,583,636,992 bytes libres"]

(1)

``

Download language_maple.mw

I have a file TEST.m. How can I make it so that every time I start Maple, all the subprograms in the TEST.m file will run first? Then I just need to type the function with(TEST): sumpro(2,3,4) to get the result 9. I copied the TEST.m file into Maple's lib directory, but it doesn't run after starting Maple.

I just need to type sumvip(2, 3, 4) to get the result, but Maple doesn't understand it.

Please help.

TEST := module () local sumpro; export sumvip; option package;  sumpro := proc (a, b, c) local sumex; sumex := a+b+c; printf("sum of %A , %A and %A is %A", a, b, c, sumex) end proc; sumvip := proc () sumpro(args) end proc end module:

save TEST, "TEST.m"

with(TEST)

[sumvip]

(1)

sumvip(2, 3, 4)

sum of 2 , 3 and 4 is 9

 

NULL

Download TEST.mw

Assuming I have a sumpro function written in Maple 2016. How can I implement it in C# and what is the process?

Please help me.

sumpro := proc (i) local a, b;

        a := (rand(1 .. 10))(); b := (rand(1 .. 10))();

        print("Sum of ", a, " and ", b, " is ", a+b)

end proc;

save sumpro, "D://Sumpro.m"

sumpro := proc (i) local a, b; a := (rand(1 .. 10))(); b := (rand(1 .. 10))(); print("Sum of ", a, " and ", b, " is ", a+b) end proc:
``

save sumpro, "D://Sumpro.m"

``

Download mapleprime_sumpro_to_c.mw

I need admin's help
I use evalf(3*21/100,3)=0.630
and evalf(3*89/100,3)=2.67
Is there a way for me to get 2 decimal places
so evalf(3*21/100,3)=0.63?

please help me solve equation ${\sqrt {x^2-10 x+1}=\sqrt {-8 x^2+9 x-1}}$

above equation, maple gives 2 solutions x=2, x=1/9
but in fact the equation has no solution

please help me.

solve(sqrt(x^2-10*x+1) = sqrt(-8*x^2+9*x-1))

1/9, 2

(1)

``

Download solve_eq_help.mw

1 2 3 4 5 6 7 Page 1 of 7