Axel Vogt

5821 Reputation

20 Badges

20 years, 227 days
Munich, Bavaria, Germany

MaplePrimes Activity


These are replies submitted by Axel Vogt

I looked at the task (at least I tried):

you have 21 equations and 31 (or 30, see Eq2[1, 1]) variables?

you have Eq2[1, 1] = 0 - is that intended?

could it be that your system is a quadratic form?

 

And I would feed with exact numbers, avoid evalf until the end (fsolve would do it anyway), i.e. 9/10 instead of 0.9, 3564/100 instead of 35.64 etc.

You may wish to check at command line by ping www.fuelsonline.ca

even for http://www.mapleprimes.com/posts/204984-MaplePrimes-Slow-Today with 22 answers (but have some twists on my browser)

In ancient times I used Excel for evaluating web sites for data ... Why dont you use a downloader, like wget?

PS: My personal opinion on such sites like http://www.fuelsonline.ca/ : it is very likely that layout and structure changes quickly, and Maple may be not the very tool to follow it

Digits:=10 # is that your setting ?

convert(tmp, rational): # writing the floats as approximating fractions
simplify(%);

   0

You can use convert(tmp, rational, exact), which is not zero. But have to "justify" your approach from a numerical point of view. For example by feeding your data as exact values (fraction and Pi instead of 3.14159)

....................

Be aware that there are many solutions, just looking at a graph:

tan(sigma*L/(2*R))+tanh(sigma*L/(2*R)); 
plot(%, sigma=-1 .. 1, discont=true);

Hm ... you do not know Matlab but ...

Anyway: if you want to enforce it then write g := (x, P1) -> x*P1 ; CodeGeneration[Matlab](g, output=string); and then just replace the resulting string using a text editor of you choice.

PS: I do not know Matlab either ...

I never use that package, but played with ita bit. If I say (suggested by the help)

restart;
ScientificConstants:-AddConstant(Hooke1, symbol = k1, value = 2.3, uncertainty = [.1, relative], units = N/m):
ScientificConstants:-AddConstant(Hooke2, symbol = k2, bla ..

I get an error.

But if I load the package then it works.

So I would try to laod the whole package in the initialization file by "with(ScientificConstants)". There should be no harm since it is likely that you will use it anyway.

I do such for packages I usually need.

Mine is located as C:\programs_x86\Maple2016\lib\maple.ini
You can find your according sub-directory lib by the command
kernelopts(mapledir);
                     "C:\programs_x86\Maple2016"

@maple2015 I used a Hex editor, your file consist of zeros only. It has no content, nothing to restore from there.

I doubt that happens through Maple (the file has no "header"), perhaps you may want to check your system and software completely.

@vv thx, a really neat example

The German word would be "Respekt" - it would be enough IMHO

 

PS: I do not think that "enforcing" to fill some fields will help against spam. Man power is so cheap in some countries that this does not matter at all. Already in India, https://businesscultureindien.com/tag/lohne-in-indien/ though the political intention of that article is different. Feeding spam needs no engineer, it reduces to provide access and equipment for a kid. And if you go off India ...

@one man Then we all will die, aliens will take over, may be even clowns ...

To be serious: posts etc are not deleted - they are just no longer shown

I would not use Maple that way, roughly you want the package to translate mathematical code (and for that example you do not need it).

 

Though I am rusty on it: that Bit Operation may depend on the range, the type of the variable f (signed or not) and does not cover m=0 or NaN or signed zero. And - may be - on endianess.

 

In Maple I would use (if ever I would compare exactly for Numerics) something like if dotv = ... then f = f^2. I think that in such situations the compiler + its library is smart enough to optimize

 

For me that package mostly had the sense to code in Maple, generate C and being able to test against Maple (using DLLs), which is highly reliable

But may be I got it wrong

First 27 28 29 30 31 32 33 Last Page 29 of 207