MaplePrimes Questions

i'm curious if exist any possibility to make a procedure like

myproc:=proc(x,y)
.
.
.
endproc

and then assign to it a typesseting rule which display statement

myproc(x,y)

to

x (some symbol) y

thx for any advice...
hi everyone,
i'm trying do a tamplate for solving school problem. I need only input some variables at begining and it's should give me whole solution. But i need to print it so i have to use this layout style:

i have:
f:=y=x+5
then i use:
subs(x=2,f)

i wanna have inline form
y=x+5=2+5=7
but i can get only
f=y=x+5subs(x=2,f)=7
this is just for examle of layout i want to get but i don't know how...
if i turn off input the subs(x=2,f) dissappear but gap still remines..

btw does exist a statement by which can i control if expreson is inline or not?
How can I do Laplace transform of Jacobi elliptic functions (e.g. SN,CN,DN or Theta) using Maple? The simple formula >laplace(Jacobi SN(t,k),t,s); does not work. The more complex formula int(exp(-p*t)*JacobiSN(t,k),t=0..infinity);does not work too. May be Maple numerical solution exists? Jane.
I have a Matrix (M) and want to extract the actual equations from the following M.x=x; where x is a vector of variables that I want to solve for. I would like to be able to extract the actual equations (the values for M are determined elsewhere), for example, 3 x1 + 4 x2 + 2 x3 = x1. How can this be done in Maple? Thanks. Brian
I am a newbie to Maple, i have learnt Maple for several days.In Matlab i can easily declare a row vector t=0:0.02:0.5 (from 0 by 0.02 to 0.5) but in Maple i can't. I tried using "for" loop but i could not insert into a vector. How can I write a vector like that ? Please show me.Thanks a lot.
>e1r := -1.5; > e1i := 12.455; > e2r := -.022269812; > e2i := .25368881; > E1 := e1r -I*e1i; E1 := -1.5 - 12.455 I > E2 := e2r -I*e2i; E2 := -0.022269812 - 0.25368881 I > nz1 := RootOf(E1*NZ^4 - NZ^2*(2*E1^2) + E1^3 - E1*E2^2=0,NZ,index=1); Error, (in content/polynom) general case of floats not handled ok so what is wrong with this? its all simple equations and complex floats, the syntax for rootof looks correct...
I wanted to solve a differential equation and followed the examples in Maple manual exactly: ode := {(2*t*x*q+x-4*t*x^2*(2*y(v)-1))*(diff(y(v), v))-1 = 0}; ic := {y(0) = 1/2}; soln := dsolve(`union`(ode, ic), {y(v)}); But I got neither results nor error informations. Does it mean, "ode" has no solution? In such case, how can I get some tips from Maple? thanks a lot.
I have a problem with a sentence that I have. I don't know whether it is a formatting problem or problem with the statement itself. I'm trying to say something like this (if it makes it less abstract, I'm trying to formally define a Sudoku puzzle). For any set S and function F that maps the ordinal set |S|^2 to |S|, there exists a set T which is a subset of S^|S||S||S| such that any element of T Tabc is equal to the empty set iff c !=F(a,b) First of all, theres a couple issues with this. |S| is the cardinal of S, but for convenience I also use it as an ordinal set. Second, as I started typing this I saw that I do not have the necessary statement for all Tabc which are members of T. How can I correctly input this statement into Maple?
I was wondering if anyone can recommend a good (free) text editor for writing Maple source code. I am writing some programs and thus far I have just been using Notepad, but automatic syntax highlighting and indentation would be nice to have. Thanks!

I am trying to use maple to find the limit of a subsequence, but what I've tried hasn't worked

For example define Maple Equation. Then using maple

Maple Equation = Maple Equation

Hi,
Can someone tell me how to solve an IMPLICIT first order ODE? That is, an eqn. of the form F(x,y,y')= 0 where we cannot seperate the term y'. An example will be helpful.
Thanks.
D.O.
I have the following code snippet which uses solve to get the 4 solutions to a quartic equation. In my application I must know which solution is which, for they each have a specific placement in later calculations. I know that most of Maple's datasets use memory address as their method of sorting, and therefore each run can give a different order to the results. Is this also true for solve? I need to know a way which the order of the solutions will always be constant. (sorting by returned value will not suffice) WaveEQDet := proc(layer,eV) local E1, E2; > E1:=Epp1(layerelementtable[layer], eV);
The plot function will not work with the following code:

> vatt:= (r,b,rc) -> -epsilon*(cos(Pi*(r-rc)/(2*wc)))^2;

> VattR := proc(r,b)
> rc:= evalf(b*2^(1/6));if r < rc then RETURN(-epsilon) elif rc <= r and r <= (rc+wc) then RETURN(vatt(r,b,rc)) else RETURN(0) end if;
> end proc;

> plot(VattR(r,1),r=1.1..1.2);
Error, (in VattR) cannot determine if this expression is true or false: r < 1.122462048
> VattR(1.1,1);
-1.0

The functions work fine on their own....
I would like to set my sessions to show the 1D Maple sheets - however when trying the options in the menu - it still wont happen. What am I doing wrong? Help - the 2D version drives me nuts!
Please recommend a good introductory book for Maple. My math skills are very high & I have much programming experience, so a Maple for Dummies approach would be too simplistic.
First 2383 2384 2385 2386 2387 2388 2389 Last Page 2385 of 2427