Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello all,

I've noticed that something has changed to the type of sqrt in Maple 15, which breaks backward compatibility...

In Maple 14, we have

> type(sqrt,procedure);          true
> type(sqrt,`module`); false
> eval(sqrt);          proc(x::algebraic, f::identical(symbolic))  ...  end proc

while in Maple 15, we have

> type(sqrt,procedure);          false
> type(sqrt,`module`); true

I copied a column of figures from Excel and pasted them into an Maple worksheet.  Maple displayed a column vector with the appropriate values.  I set the variable y equal to this vector and was able to verify that, for example, y[3] had the correct value.  However, when I tried to use y[i] after a summation symbol which used i as the index I got the error message "Error, bad index into vector".  The summation expression worked fine when I redefined y by the following:

The original question I posed was whether I could control the output format of a complex array in MathML. I will pose the more general question, how could I customize the MathML output (much like LaTeX output can be customized)?

 

Regards.

I'm putting together what will eventually be a rather large simulation system that I want to be able to maintain across a reasonably large organization. Do you have any recommendations for Source Code Control/Versioning systems that work with your .msim file format or should I resign our team to exporting/importing code back and forth into Modelica for source control?

 

Thanks.


When I try to solve a DAE system I got this error:

               Error, (in dsolve/numeric/DAE/applysub) numeric exception: division by zero

Any ideas?
Thanks everybody for help!

Hi to all

I am trying to merge two functions into a single graph. I have discovered the "piecewise" function but however I want to be able to manipulate the variables in both functions and plot a 3D graph to determine the results.

this is what I have so far

Z := proc (t)

if subs(p = 25, (100-p)*(1-exp((-1)*.11*t))/(10.00000000*exp((-1)*.11*t)+1)) < CM and 0 < t then subs(p = 25, (100-p)*(1-exp((-1)*.11*t))/(10.00000000*exp((-1)*.11*t)+1))

of the implicit function 8*x^3+y^3-6*x*y-3=0 with Maple?

How can I save a webpage as a text file? Not the source code. When I save a webpage from I.E. as a text file it seems to strip out a lot of the source code and I end up with a simple text file. Take this wikipedia webpage as an example http://en.wikipedia.org/wiki/List_of_HTTP_headers Now if I use Maple it grabs everything on the page, source code included which I do not want. Is there an easy way or must I create some code in maple (http surgery so to speak) to strip out the excess?

Hi

Im new to programming in maple and need some help.

I have this function, lets say it is f= x2 and i have a constant called c (lets say it is 2 for now)

I use the command subs, but this could be wrong.

i write :

subs(x=c,f)

The output the becomes 4, when i would like i to be 22 . Put in other words, how can I get maple NOT to calculate the result?

Thanks.

I am trying to use second quatized operators in the Maple Physics package.  These operators obey the commutation relations:

[psiA(x1),psiB(x2)] = Dirac(x1-x2) and [psiA(x1),psiC(x2)] = 0 for example.  The commutator therefore depends on the arguments of the operators.

Using:

> with(Physics);

> Setup(quantumoperators = {psiA,psiB,psiC},algebrarules={%Commutator(psiA(w),psiB(v)) = Dirac(w-v),%Commutator(psiA(w),psiC(v))=0})

I'm new to Maple and find some aspects of the syntax and UI confusing.  The manual isn't much help.  In the case of "e"...

1) If I type in:    evalf(e^1,10) by just typing the letter e from the keyboard, I get back the letter e.  But if I go into the palette and select the expression e^a, and put it in evalf that way (for a=1) I get back a numerical value for e.  I can see that one of these e's is italicized and one isn't...???

Hi

I have been using the pdesolve command to solve the heat conduction equation in an infinitely long cylinder, but now I need to incorporate the convection that occurs at the end surfaces, in the case of a short cylinder.

 

The following is the code I have been using:

>> PDE := diff(Theta(r, t), r, r)+(diff(Theta(r, t), r))/r = (diff(Theta(r, t), t))/alpha;

>> pdsolve(PDE);

 

I have tried to add...

Hi

The problem is, as said, how can i get a "math output" when having something typed into my package.. 

An example of this could be:

printf("\Your function is: x^2");

When typing it like this my output becomes x^2, I would like it to become x2 , how can I fix this?

 

- Slangers

how can i draw a polygon with labeled vertex by numbers which are inside of that polygon§

First 1726 1727 1728 1729 1730 1731 1732 Last Page 1728 of 2254