C_R

1960 Reputation

19 Badges

5 years, 318 days

MaplePrimes Activity


These are replies submitted by C_R

Found the anwser to Q1

SolveTools:-DisplaySolutions([%])

Still, n=0 should have been excluded from 2Pi*n

@janhardo 

MS word has a quite sophisticated format filter that can be used to find and replace fonts (and other formating features). Are you looking for something like this to edit maple files? 

I don't think that something like this exist. If you find this really usedfull I would send a software change request. Such a feature would be a logic extension of Maple's existing Find/Replace feature.

I could use a Format painter 

@janhardo 

In Maple terms a template is a user defined style set.

If you want to set a persistent font, you have to first create a new style and then create and save it to a user defined style set

The new style can be set as default for new document or applied to existing document (this is an alternative to method I have described above)

You can find more details on styles in the link I have provided.

@mmcdara 

For me it is also several dozens of seconds or nothing (-> abort and reload the page).

For me the upload of a worksheet was always fast but rendering a worksheet for inserting the contents takes time. Maybe the rendering process is executed with lower priority which could explain that it takes sometimes (at higher workloads of the Mapleprimes server?!?) more time.

I do not have the web handling package installed so I cannot reproduce what you observe. However, I have not seen probes on the same port with different properties yet.

  • What happens if you delete the probes and add two new ones? Do you still get the different probe properties?
  • Which variables are listed under advanced variables of the particular port in the properties of the component where you have the probes attached to?
  • Have you added the Capstan probe or was it part of the example worksheet?

There are two more places where you can consult variables/states. One is in the model tree

the other in the simulation results.

Here  you can find a discussion on what is probed and displayed.

I assume that during a developement state more internal variables are accessible than you can see normally. Maybe the Capstan probe displays for some reason a developement view (just a guess).

 

@Rouben Rostamian  

FYI: I found an error. Now the match is "perfect"

In the above model, the initial conditions were erroneously not defined in the inertial frame (frame_a was used which differed slightly). With that change a very good match with the Maple model is achieved.

 

Turntable_Paradox_update.msim

Malpe has a fracdiff command. Have you had a look at this.

Is that the DE you want to solve

fracdiff(u(r),r,1/2)=r^2/25+(sin(u(r))+sin(fracdiff(u(r),r,1/2)))/47+r;

Maybe usefull:

https://www.mapleprimes.com/questions/228656-How-Do-I-Solve-Fractional-Differential

https://www.mapleprimes.com/questions/234553-How-To-Calculate-The--Fractional-Derivative

There is more on Mapleprimes if you search for fracdiff.

@Carl Love 

Your answer makes totally sense provided that there is a solid mathematical and computer science background. This is not the case for most of Maple users (including me). It would be good that such an explanation was part of Maple's help documentation. It seems that the property help page needs some adjustments.

Even with your explanation, I still do not understand why a property realcons is needed. On the real line every value is constant. 

 

Have you read these posts?

@Scot Gould 

Not only has the speed improved, but the functions that I was convinced that work are back as well

@Carl Love 
I was looking for a construct that only lists names displayed to the user and/or used in a session (i.e. names added after start up)
 

# works in 1-D Math input
dsolve(diff(y(x), x, x) = 2*y(x) + 1);
{unames()}:
has(%,c__1);
has(%,_C1)

The above set of names can be used to scan for existing displayed c__n. However, I did not propose it because @nm was interested in _Cn that he wanted to add. These do not seems to match the c__n displayed. I could not figure out a link been made between these two types constants to make it usable for nm.

Compiling a set of names takes time and filtering by an initial set of names (using minus) did not work. Do you know why this does not work?

{unames()}:iu:=%;
dsolve(diff(y(x), x, x) = 2*y(x) + 1);
{unames()} minus iu;
has(%,c__1)

In any case using commands like dsolve blows up the set of unames which is not good to keep an overview.

 

@nm 
Here is a fix

sol:=_C22+x-_C3*x+_C2*x^2;
indets(sol,And(symbol, suffixed(_C, nonnegint)));
myconstants:=sort([%[]],length); 
n:=1; 
do n++ until is(_C||n=myconstants[-1]):
new_constant := _C ||(n+1)

By the way: I though that there is "name" command, like anames, which can list all instances of names and names used in values assigned to names but could not find a construct.

 

@nm 

OK, my sorting works only up to 9. Its not a good option.

@dharr 
I think PDEtools:-dchange gets it wrong

I1:=Int(sin(x^4)/(sqrt(x)+x^2),x=0..infinity);
PDEtools:-dchange(x=u^(1/4),I1);
value(%);
evalf(%);

 

1 2 3 4 5 6 7 Last Page 2 of 36