Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

 

Hello

I found this example in the Help.

I'm wanting to export the encrypted file (the gibberish between local and end proc) to friend running another M2018, and want it to run.

I would need to rerieve "abc.mla" repository that we saved it in. But I cant find it. and if i did send it, he would be able to decrypt it surely?

Encrypt_Proc.mw

 

Hi,
I had written some help pages in Maple 18 that I just migrate in Maple 2018.
This seems correct except one single point: when I try ot access them from the help menu, their names are preceeded by a  "WS" label and, when I click on it, the help page appears in a new window of my Maple's session, not in the help window.
I guess "WS" means "WorkSheet" ?
How can I force the halp page of "my" function to appear in the main help page window?

(hope I was clear enough)

Thanks in advance
 

 

 

I want to calculate the voltage between phase 1 and phase N in an electrical circuit:

 

The vectorial formula is:

`#mover(mi("U"),mo("→"))`[L1-N]-`#mover(mi("ΔU",mathcolor = "blue"),mo("→",mathcolor = "blue"))`[L1]+`#mover(mi("ΔU",mathcolor = "#339966"),mo("→",mathcolor = "#339966"))`[N] = `#mover(mi("U",mathcolor = "red"),mo("→",mathcolor = "red"))`[L1-N]

 

Voltage drops are calculated with the current multiplied with the resistance: ΔU = I*Z[L]

 

i

 

-`#mover(mi("I",mathcolor = "blue"),mo("→",mathcolor = "blue"))`[L1]*`#mover(mi("Z",mathcolor = "#ff99cc"),mo("→",mathcolor = "#ff99cc"))`[L]+`#mover(mi("I",mathcolor = "#339966"),mo("→",mathcolor = "#339966"))`[N]*`#mover(mi("Z",mathcolor = "#ff99cc"),mo("→",mathcolor = "#ff99cc"))`[L]+`#mover(mi("U"),mo("→"))`[L1-N] = `#mover(mi("U",mathcolor = "red"),mo("→",mathcolor = "red"))`[L1-N]NULL

This is a real example with realistic values and angles. Note that i have two different vectors with the same index.

This is on purpose and the vector is different. This is because the first vector is before the resistance in the wire and

the one i want to find, is after the resistance in the wire (the red one).:

``

"(U[L1-N])=230∠0°"

"(I[L1])=20∠-30°"

"(Z[L])=0.097∠7.2°"

"(I[N])=40∠-120°"

 

The negative angles is because i am using my reference which is in 0°. And are the vector to the right of my reference is the angle negative, and is it on the left of my reference is the angle negative. I dont want to explain the vectorial diagram, because i think it will do more confusion than explaining.

 

``

"230∠0°-(20∠-30°*0.097∠7.2°)+(40∠-120°*0.097∠7.2°)=(U[L1-N])"

 

My question is, if the formula above is possible to solve in maple?

 

 

The result is calculated on my CAS-calulator:

 

"(U[L1-N])=226 V∠-0.7°"``

``


The example in Maple:

Download Example_to_Mapleprimes.mw

 

The help page for interface states that errorbreak can be between 0 and 2, however despite being able to do so according to the output of 
<code>

interface(errorbreak=0)

</code>

 

My worksheet still breaks on most errors.

 

Is this something I am doing wrong, or is this because i am using maple 2016?

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

 

 

First 515 516 517 518 519 520 521 Last Page 517 of 2097