Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

I am having problems with the attached worksheet, in which I am attempting to solve a couple pair of PDEs, particularly in defining initial and boundary conditions.  See MapleExample1c.mw

Can anyone help?

Melvin

Hey guys, I'm a new Maple user and I've been struggling to figure the collect command out.

I made a smaller example to show what I am looking for

I want to find out a way to use collect command and go from "c" output to "d", choosing the terms I want to be collected as common factors.

I'm also uploading the files if it's of any help, The one called question is the example in the picture above and final objeticve is the big expression that I`m trying to factor.

In the final objective file I'm looking for a way to make the "i" output be factored like this as:

Wi δ Wi (...) + Wi δ Wf (...) + Wi δ θi (...) + Wi δ θf (...) + Wf δ Wf (...) + Wf δ Wi (...) + Wf δ θi (...) + Wf δ θf (...) + ...

 

Thanks in advance

Download Final_objective.mw

Download Question_about_collect_and_factor.mw

 

My problem is as following:
Our school has a requirement that we have to show the numeric values, when we calculate. And i was wondering if there's an easy way to do it?

Example of how i would normally do it:
A:=5
B:=5

C:=A+B = 10. 

What they want:
A:=5
B:=5

C:=A+B = 5+5=10

Does anyone have an easy way of doing this? Because in an exam I wont have the time to plug in the values myself.

Hi,

I try solve this differential equation:

de := diff(y(t), t)+2 = (y(t)^2+1)*(diff(x(t), t))
dsolve(ode);

Maple not solve.

Any help?

Regards

Hello, I try this integral, but Maple not solutions, the answer is the same integral.

int(N*exp((2*(-(1/2)*x^2-2*a^2*ln(x)*x/(-2*x^2+2)))/sigma^2)/(-2*x^2+2), x = -1 .. 1)

N,a, sigma are constants.

Regards

What is the procedure to migrate a Maple license on a new PC ?

Hey, I have been using maple for a whole 30 minutes, and have no idea what I am doing! I have some code set up to run the Eulers approximation to solve an ODE.

The code seems to run fine, but in the final output where it should give a number value, I am getting 6+0.10f (where f is a variable define beforehand). My friend who has run the same code does not run into this problem.

The Maple software is a on a public school computer, so maybe the specific one I am using has some setting set up that are not default?

Does anyone know what is going on? In the end I would like the output to be a decimal number. 

 

Reference image: https://imgur.com/a/A4DZuik

 

Dear all,

I have two vectors, I would like if possible using maple  I find  determine the real number t  such that  the subset  { v1, v2} of C^2 ( where C is the set of complex number) is  linearly dependent?

 

Linearly_dependence_of_C2.mw

 

 

Many thinks for your help

 

Hi, I have the following simple differential equation. 

2x dx -9y^2 dy = 0

How can I enter the command to solve it? I know I'm supposed to use dsolve command, but I keep getting an input error saying that it expected an ODE. Google says that said message is because for whatever reason Maple cannot understand dx or dy, and that instead I need to use diff command. But when I enter: 

2x diff(x) - 9 y^2 diff(y) = 0

I get another error. I have tried other combinations, but at times I get errors like y(x) and y cannot both appear in the given ODE, which I don't understand why they can't as they are like basic run of the mill ODEs, so I'm a bit confused. 

I have also checked Maple's docs but they don't help either, I tried the first example given here: 
https://www.maplesoft.com/support/help/Maple/view.aspx?path=dsolve
 and I got the same "expecting an ODE or a set or list of ODEs" as in my own examples, so I'm guessing the docs are assuming steps or some configuration. 

 

How am I supposed to enter the command? Thanks in advance!

This is a simple encryption method to hide text messages

Mentioned in Arabic manuscrips with more than hundreds years old ...

PRINCIPLE :

Just the place of letters in the sentence rearranged as described below :

For example "ABCDE" we pick up the First letter "A" from the left and write it as the last letter in the Right "......A"

but this time we pick up the letter "E" as the last letter from Right and place it at the Left Side of the previous one  ".....EA"

and this cycle continue until for rest letters ... "CDBEA" .

by this way the text become hard to discover !

It is Amazing that for decoding this message you should repeat the same rearrangment algorithm several times until the readable text appears as the first "ABCDE"

EXample :

"AlbertEinstein"

"iEntsrteebilnA"

"eterbsitlnnEAi"

 "tilsnbnrEeAtie"

"rnEbenAstliiet"

"sAtnleibiEentr"

 "biieElennttArs"

"nenltEteAirisb"

"etAEitrlinsebn"

"lritnisEeAbtne"

"EseiAnbttinrel"

"tbtniAnireeslE"

"inrAeienstlbEt"

"nesitelAbrEnti"

"AlbertEinstein"

the same text appeared after 14 step cycle


 

Arabic Cipher

 

ArabicCipher := proc (x) options operator, arrow; StringTools[Permute](x, [seq(1+iquo(StringTools[Length](x), 2)+((1/2)*i+(1/2)*irem(i, 2))*(-1)^(i+irem(StringTools[Length](x), 2)), i = 0 .. StringTools[Length](x)-1)]) end proc

proc (x) options operator, arrow; StringTools[Permute](x, [seq(1+iquo(StringTools[Length](x), 2)+((1/2)*i+(1/2)*irem(i, 2))*(-1)^(i+irem(StringTools[Length](x), 2)), i = 0 .. StringTools[Length](x)-1)]) end proc

(1.1)

seq((ArabicCipher@@i)("AlbertEinstein"), i = 1 .. 14)

"iEntsrteebilnA", "eterbsitlnnEAi", "tilsnbnrEeAtie", "rnEbenAstliiet", "sAtnleibiEentr", "biieElennttArs", "nenltEteAirisb", "etAEitrlinsebn", "lritnisEeAbtne", "EseiAnbttinrel", "tbtniAnireeslE", "inrAeienstlbEt", "nesitelAbrEnti", "AlbertEinstein"

(1.2)

NULL

seq((ArabicCipher@@i)("FereydoonShekofte"), i = 1 .. 12)

"nSohoedkyoefrteeF", "yokedferotheoeSFn", "otrheefodeeSkFony", "deoefSekeFhorntyo", "eFkheoSrfnetoyeod", "fnreStooeyhekoFde", "eyohoetkSoeFrdnef", "SoketFerodhnoeyfe", "odrhenFoteeykfoeS", "teoeFynkefhoredSo", "efkhnoyrFeedoSeot", "FereydoonShekofte"

(1.3)

``


 

Download Arabic_Cipher.mw

 

 

Lecture 4 - Problem 2
a)
> a := -2100; b := 2100; N := 8; h := (b-a)/N; C := 4491; x := [seq(h, h = -2100 .. 2100, h)]; y := proc (x) options operator, arrow; sqrt(1+((1/2)*exp(x/C)-(1/2)*exp(-x/C))^2) end proc; evalf(y(x[1])); evalf(y(x[N+1])); L := (1/3)*h*(y(x[1])+4*(y(x[2])+y(x[4])+y(x[6])+y(x[N]))+2*(y(x[3])+y(x[5])+y(x[N-1]))+y(x[N+1])); evalf(L);
                             -2100
                              2100
                               8
                              525
                              4491
     [-2100, -1575, -1050, -525, 0, 525, 1050, 1575, 2100]
         /                           2\
         |    /1    /x\   1    /  x\\ |
x -> sqrt|1 + |- exp|-| - - exp|- -|| |
         \    \2    \C/   2    \  C// /
                          1.111332350
                          1.111332350
                                           (1/2)
         /                               2\    
         |    /1    /-700\   1    /700 \\ |    
     175 |1 + |- exp|----| - - exp|----|| |    
         \    \2    \1497/   2    \1497// /     

                                               (1/2)
              /                              2\    
              |    /1    /-175\   1    /175\\ |    
        + 700 |1 + |- exp|----| - - exp|---|| |    
              \    \2    \499 /   2    \499// /     

                                                (1/2)
              /                               2\    
              |    /1    /-175\   1    /175 \\ |    
        + 700 |1 + |- exp|----| - - exp|----|| |    
              \    \2    \1497/   2    \1497// /     

                                                (1/2)
              /                               2\    
              |    /1    /175 \   1    /-175\\ |    
        + 700 |1 + |- exp|----| - - exp|----|| |    
              \    \2    \1497/   2    \1497// /     

                                               (1/2)
              /                              2\    
              |    /1    /175\   1    /-175\\ |    
        + 700 |1 + |- exp|---| - - exp|----|| |    
              \    \2    \499/   2    \499 // /     

                                                (1/2)     
              /                               2\          
              |    /1    /-350\   1    /350 \\ |          
        + 350 |1 + |- exp|----| - - exp|----|| |      + 350
              \    \2    \1497/   2    \1497// /           

                                                (1/2)
              /                               2\    
              |    /1    /350 \   1    /-350\\ |    
        + 350 |1 + |- exp|----| - - exp|----|| |    
              \    \2    \1497/   2    \1497// /     

                                                (1/2)
              /                               2\    
              |    /1    /700 \   1    /-700\\ |    
        + 175 |1 + |- exp|----| - - exp|----|| |    
              \    \2    \1497/   2    \1497// /    
                          4354.742601
> L := (1/3)*h*(y(x[1])+4*add(y(i), i = y(x[2]) .. y(x[N]), 2)+2*add(y(i), i = y(x[3]) .. y(x[N-1]), 2)+y(x[N+1])); evalf(L);
Error, invalid input: add expects 2 arguments, but received 3
                          4354.742601

We've just decided to jump from Mathcad to Maple, and are doing our very first steps with Maple.

Our company is a small sized engineering company (15 employees), and what I am looking for is a bit help to make a working company setup.

This includes in the first run - how do I create and tell Maple where to find those items?

  • Templates with company logo
  • Programs and packages
  • Are there any configuration variables that can / should be set?
  • Are there any other common files that can be made accessible for all on a common network server?

Error

can not raise the datalimit above hard limit

 

my new notebook has 32GB memory

kernelopts(datalimit=28*unit(gibibtye)):

do i need to assign datalimit with kernelopts?

and

I remember i set a trick to protected this file

now I can read and run 

but return above error

does it mean that I do not need to set limit?

Minimise(eq1, {eq2>=0,eq3>=0,eq4>=0, a1<>0,a2<>0,a3<>0,a4<>0})

can not handle strict inequalities error

 

 

First 636 637 638 639 640 641 642 Last Page 638 of 2218