JP Howe

15 Reputation

2 Badges

13 years, 271 days

MaplePrimes Activity


These are questions asked by JP Howe

I am using Maple 2025.  I have the following in my ini file:

with(LinearAlgebra):
    with(VectorCalculus):
    with(plottools):
    with(plots):
    with(DocumentTools):
    with(Units[Simple]):
    with(StringTools):
    stoperror(all):
   interface(displayprecision = 4):
    _EnvUseHeavisideAsUnitStep := true:  
    Digits := 10:

I want to set my default number formatting to "Engineering."  I cannot find where or how to do this, either in the menues or the an ini file command.  I can do it in the context panel line by line, but want it to be global and automatic.

Thanks in advance for your assistance.

I could not get the max() function to work with units.  I had to strip out the units, do the max() and then add them back in.  It seems overly complicated and wrong.  I am sure there is a better way.

I cannot get the ini file to load packages.  It executes fine and the bottom commands work, but the package does not load.
Is there some special way to load packages in the ini file?

Thanks!

with(LinearAlgebra):
    stoperror(all):
    interface(displayprecision = 4);
    _EnvUseHeavisideAsUnitStep := true;  
    Digits := 10;
    printf("Standard Packages Loaded\n");

It hangs are v(x) := for some reason.

NULL;

q := x -> v1*Dirac(x - a1) + v2*Dirac(x - a2) + v3*Dirac(x - a3);
NULL;

V := x -> -int(q(x), x = 0 .. x) + Ra + Rb*Dirac(x - L);
proc (x) options operator, arrow, function_assign; Units:-Simple\

  :-`+`(Units:-Simple:-`+`(Units:-Simple:-`-`(MTM:-int(q(x), x 

   = 0 .. x)), Ra), Units:-Simple:-`*`(Rb, Dirac(Units:-Simple:-\

  `+`(x, `-`(L))))) end proc


NULL;

M := x -> int(V(x), x = 0 .. x) + Ma + Mb*Dirac(x - L);
proc (x) options operator, arrow, function_assign; Units:-Simple\

  :-`+`(Units:-Simple:-`+`(MTM:-int(V(x), x = 0 .. x), Ma), 

   Units:-Simple:-`*`(Mb, Dirac(Units:-Simple:-`+`(x, 

   `-`(L))))) end proc

theta := x -> 1000000000000*(int(M(x), x = 0 .. x) + `θa` + `θb`*Dirac(x - L))/(E*S_mm);
proc (x) options operator, arrow, function_assign; Units:-Simple\

  :-`*`(Units:-Simple:-`+`(Units:-Simple:-`+`(MTM:-int(M(x), x 

   = 0 .. x), `θa`), Units:-Simple:-`*`(`θb`, 

   Dirac(Units:-Simple:-`+`(x, `-`(L))))), 1/(E*S_mm*10^(-12))) 

   end proc

v := x -> int(theta(x), x = 0 .. x);
proc (x) options operator, arrow, function_assign; MTM:-int(thet\

  a(x), x = 0 .. x) end proc

I am unable to change the font on the Palette menus or the pop up context boxes.

It is very frustrating, as I can hardly read them.

I am not sure if it is a computer setting or a Maple setting.

Any help would be appreciated

1 2 Page 1 of 2