MaplePrimes Questions

ok I want to extract data from http://online.wsj.com/mdc/public/page/2_3024-AsianStocks_HONG_KONG.html
So in maple I type:

HTTP[Get]("http://online.wsj.com/mdc/public/page/2 _3024-AsianStocks_HONG_KONG.html", timeout = 100)

but this only give me a bunch of crap and no data and is extremly slow.

What can I do to get the data in a much more efficient way?

hi

i have two row data in excell and i import in maple as the following

Cl_alpha:=<<0.0887574|0.35157>,<0.502959|0.401794>,<0.91716|0.452018>,<1.30178|0.502242>,<1.71598|0.552466>,<2.13018|0.602691>,<2.54438|0.652915>,<2.95858|0.703139>,<3.37278|0.753363>,<3.78698|0.803587>,<4.20118|0.853812>,<4.5858|0.900448>,<5|0.950673>,<5.4142|1.0009>,<5.8284|1.05112>,<6.21302|1.09776>,<6.62722|1.14439>,<7.01183|1.19462>,<7.42604|1.24126>,<7.84024|1.28789>,<8.25444|1.33453>,<8.63905|1.37758>,<9.05325|1.41345>,<9.46746|1.44574>,<9.88166|1.47444>,<10.2959|1.49596>,<10.7101|1.50673>,<11.0947|1.50314>,<11.5089|1.47803>,<11.8935|1.43498>,<12.2781|1.42422>,<12.6923|1.42063>,<13.0769|1.41704>,<13.4615|1.40628>,<13.8757|1.39552>,<14.2604|1.38117>,<14.645|1.38117>,<15.0592|1.3704>,<15.4438|1.35605>,<15.858|1.33812>,<16.2722|1.32735>,<16.6864|1.29148>,<17.071|1.29507>,<17.4556|1.27354>,<17.8698|1.19462>,<18.2544|1.23767>,<18.6391|1.18027>,<19.0533|1.24843>,<19.4675|1.26996>,<19.8521|1.21973>,<20.2367|1.23049>,<20.6509|1.24843>>;

where first row is x and second row is y. i want to interpolate the y values for new x values at the following

xnew:=<<0.119048>,<0.505952>,<0.922619>,<1.30952>,<1.72619>,<2.14286>,<2.52976>,<2.94643>,<3.3631>,<3.77976>,<4.16667>,<4.58333>,<4.97024>,<5.3869>,<5.77381>,<6.19048>,<6.54762>,<6.99405>,<7.38095>,<7.79762>,<8.18452>,<8.60119>,<8.9881>,<9.40476>,<9.82143>,<10.2381>,<10.625>,<11.0417>,<11.4286>,<11.8155>,<12.2024>,<12.5893>,<13.006>,<13.3631>,<13.7798>,<14.1667>,<14.5536>,<14.9405>,<15.3571>,<15.744>,<16.1607>,<16.5774>,<16.9643>,<17.3512>,<17.7381>,<18.125>,<18.5417>,<18.9286>,<19.7024>,<19.3155>,<20.119>,<20.506>>;

 

please help me

 

thanks for your attention in advance

I thought the assume command would force Maple to not return solutions that violated the assumption.  But it does not.  How do I make Maple only return those values according to an assumption?

Here is what I did:

 

Hi all!

I want to restructure some expressinon with non-commutative matrix multiplications &*.

It's needed to transform

expr = `&*`(A, z) + `&*`(B, K, z)

to

expr = `&*`(A + `&*`(B, K), z)

How can i do that? Simplify, collect and factor commands don't work. 

Thank you.

When I install Maple 16, It show: Do you want to install watcom-1.3 ? What is the watcom-1.3 file in Maple16

Hi,

I wrote a procedure and saved it into a .mla library, then accidentally lost the file containing the initial code. Can I get it back from the library ? I didn't find the answer in the help on LibraryTools.

Thank you.

@acer I would like to return to this question again. Unfortunately, the code

> interface(prettyprint = 1):

>proc () print(eval(thisproc)) end proc;

does not reproduce itself. Its output is

proc() print(eval(thisproc)) end proc;
 This does not include the interface(prettyprint = 1): command.

Because of this I still consider my question as open.

Hello,

 

I am working with wedge products, and I came up with this question: how can I efficiently sort a list of indices, and obtain the sign of the associated permutation?

So for [4,3] I would like to obtain [3,4]-

for [1,4,2] I would want to obtain [1,2,4] -

for [2,1,4,3] I would want to obtain [1,2,3,4]+

I know I can do sort([4,3]) but what about the sign of that permutation?

 

Thanks!

I have just started using MapleSim 5 and running the examples I got the following notification and don't know how to resolve it (to what options are being referred to and what is infolevel?):

Compiling...

(in dsolve/numeric/RunSimulation) unable to compile, please check your options by running with infolevel[ToExternal]:=1;

Simulation failed.

To highlight the problem I am haveing let us observe the following example. If we solve the following numerically,

d2/dx2 (s(x)) +s(x) -1=0,

ic: s(0)=1/2,s'(0)=0

How would I go about createing a plot of (s(x),x) for  x a member of [0,2*Pi) (useing polar coordinates clearly)?

The probelm I am haveing is plotting for x a member of [0,2*Pi). I know how to do this for x a member of [0,2*Pi] and (0,2*PI), but not  [0,2*Pi).

My code contains a long "module" so i can't really "split execution group".

but it seems that the exported LaTex file is determined to fit "one segament of code" on one page when I compile...

Likely has been asked before, but I cannot find the answer:

I have a table with a good number of entries, all of them indexed by strings. I'd like to sort the table by ascending index (i.e. alphabetically A...,B... etc) before I write the result to a file. Obviously, the entries have to stay with their respective indices.

Like:

Table([B=4,C=2,A=3]); to be sorted as A=3,B=4,C=2.

The sort command in Maple works with Arrays only; I understand.

Hi,

I'm trying to define a simple forward difference operator Δ to act on a function f(n). I have defined, in a number of ways, Δ(f(n)) = f(n+1) - f(n). This works fine but I want Maple to calculate powers of Δ. e.g Δ2 (f(n))= f(n+2) - 2f(n+1) + f(n). As it stands, Maple returns (f(n+1) - f(n))2 seemingly however I define the functions.
What am I doing wrong? Help much appreciated.

DJF

When I input the following commands in a fresh document

with(VectorCalculus):

SetCoordinates(cartesianx,y,z)

cartesianx,y,z   (1)

Del(xy)

0ex   (2)

 

I get <0,0,0> when the answer is obviously <y,x,0>. What's going on?

Hi every one,

How can I get bouble Curl of this equation

 

 

 

In the above equation, the first term has the Laplacian, the second one has the gradient and in the term "k" is the unit vector and also u=(u1,u2,u3). sqrt(R) is a constant. 

 

First 1692 1693 1694 1695 1696 1697 1698 Last Page 1694 of 2428