Items tagged with format format Tagged Items Feed

Hello,

I would like to know how to generate super/subscript characters in axis label. I have tried the double underscore (atomic variable style) and the super/subscript under "Format" in document mode but no luck at all. Any comment/suggestion is truly appreciated.

Yu-Hung Lien

 

 

 

 

At the moment, I am using

>writeto("Result1.txt");

> printf(StringTools[FormatTime]("%c\n"));
Thu Jul 31 14:28:08 2014

# lots of things here

# lots of things here

# lots of things here

>writeto(terminal);

To write a time and date stamp into my result1.txt file.

I understand that I can't write : into file names, but is there a way to writeto file using a more informative file name with date and time, such as,

Result_Thu Jul 31 14-28-08 2014.txt

 

Is that something can be easily formatted?

casper

 

Say sometimes, I need to copy and paste results from Maple output, either in 1D or 2D or self formatted (see this).

Sometimes, it works fine, with just a single ">" sign, like this

> v1:=[
eta[p2] = 0.260 ,
eta[p3] = 0.113 ,
eta[p4] = -0.013 ,
eta[p5] = 0.215 ,
eta[p6] = -0.189 ,
eta[phi2] = 0.020 ,
.......ect
]:

 

But sometimes, it looks like this:

 

> v1:=[
> eta[p2] = 0.260 ,
> eta[p3] = 0.113 ,
> eta[p4] = -0.013 ,
> eta[p5] = 0.215 ,
> eta[p6] = -0.189 ,
> eta[phi2] = 0.020 ,
> .......ect
> ]:

 

Below is a screenshot from what I get when I copy the above synatex into Maple :

 

Personally, when I type in multiple synatex, I tend to use shift+enter, to avoid the use of many ">"s.

 

It does not have any effect in practice, but is there a way to improve this? I dont like seeing many many ">"s.

I have a big expression with multiple terms. The expression is kind of :

expr = a*ln(u) + b*ln(u) + a*ln(v)+b*ln(v)

I want to factor ln(u) and ln(v) to get (a+b)*ln(u) + (a+b)*ln(v)

I tried factor(expr,ln(u)) but I get the error :
Error, (in factor) 2nd argument, ln(2*da+(4*da^2+4*d^2-4*da*Sigma[a]+Sigma[a]^2+Delta[b]^2)^(1/2)-Sigma[a]), is not a valid algebraic extension.

I tried without Delta[b] and Sigma[a] : deltab and sigmaa but it didn't work either.

Do you have an idea how to factor the many ln ?

Thanks,
Mathieu

Hi,

I would like to format the solution given by maple.
I have the answer given by a paper and I would like to reproduce the same formula.

I have the expression :

(a1/2+a2/2)*ln(a1/2+a2/2+sqrt((a1/2+a2/2)^2+(b1/2-b2/2)^2+d^2))+(a1/2-a2/)*ln(a1/2-a2/2+sqrt((a1/2-a2/2)^2+(b1/2-b2/2)^2+d^2))

I would like to assume deltaa = a1-a2 and sigmaa = a1+a2.

The issue is that algsubs(deltaa = a1-a2, expr), my a1+a2 is replaced by deltaa+2*a2 and same for algsubs(sigmaa = a1+a2, expr), so i can't have sigmaa*ln(...) + deltaa*ln(...).

And all my squares are developed, for example I have : sqrt(1/4*a1^2+1/4*a2^2+1/2*a1*a2+...)

I can't put them in canonical form (1/2*a1+1/2*a2)^2 to get (1/2*sigmaa)^2.

 

Sorry for my english,
If you know how to do, i would be really grateful !

Mathieu

Hello,

       I have a huge sparse matrix (1.5e6 x 1.5e6) of both symbolic or non-symbolic form. When I export matrix using ExportMatrix command, it is not writing the matrix in order of rows and columns. To further explain the problem,

          Let A be that huge sparse matrix. I am using

                    ExportMatrix("matrix.mtx",A,format=MatrixMarket)

We expect the output to be,

 1 1 0.1

 1 10 0.65

.

.

.

But it is writing the output as

 

100 1 0.25

100 25 0.65

Hence it is not writing in order. What is the way we can force it to write in order? I do understand using for loop will consume more time.

1 heading 1

   1.1 sublevel 1

         1,1,1 subsublevel

    1.n sublevel n

2 heading 2

 

Hi

Is there a way of importing data in NetCDF format into Maple 15? This format is very widely used in atmospheric sciences as a data standard for experimental data such as satellite-derived data.

Thanks

Hello,

 

I am working on a project where Maple's output is fed to another software which requires all it's input in specific format. So, I want to print this expression,say

y=+2.*x+.2, in this software, but it takes input as

y=2*x+0.2, So now I have to change

+2. to 2.0 or 2 (if it's starting of the equation)

-2. to -2.0

.2 to 0.2

 

Is there any way to convert all the numbers in the equation to...

Hello,

 

I am working on a Maple project and it require me to pass a differential equation in a specific order like

x'=y & y'=x^2.(It is differentaiting w.r.t 't'(say))

However when I convert the equation into string it converts something as

diff(x(t),t)=y(t) & diff(y(t),t)=x(t)^2

 

Is there any way to stop maple from evaluating into maple/math format?

Is there any way to pass an equation without changing it's existing form?...

Hey guys.

 

I've been using a format where everything, math and text, is in black. The awnsers come out in blue.

Some coleges use a (ugly?) format where the equations are in red and are, in my opinion, less easy to read and take longer to type down.

 

So my question is simply this: Can I do everything using the black format I'm used to, or are there certain things that I MUST use the red format to compute?

If there are...

Hello every one,

I am using similarity transformation to transform a PDE into an ODE.

I got the ode but its in a very ambiguous (unclear) form.

I need help to have the ode in a more friendly reading format.

Thanks

pdetoodest.mw

hello,

after defining N_1 N_2 and N_3 with long numbers, and defining M by N_1*N_2*N_3 i tried to step backwards.

By entering something like: M/N_1 (what is exactly like N_2*N_3) it does not show me full numbers, but instead 1/something*M.

After refreshing M and afterwards refreshing M/N_1 it totally worked out and showed me the product of N_2*N_3

Now my question is: how can i prevent this odd display format without refreshing everytime? (i tried...

hi

when i copy my results in excell or notepad, they are in the following format

                   HFloat(-2.372591966940632)
          ...

Dear All,

Further to my previous question on this forum "How to write data from a matrix while choosing the format?", I would like to update it by adding a complex number. What is the easiest way to deal with that?

Here is the file (that does not compile): writedataMatrix.mw

> driver := proc () local A, B, x, f, g, i, j, format, fd:

A := Matrix(3, 3):
f := 1-2*I:
g := evalf(sin((1/5)*Pi)):

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