## Wrapping code in a procedure...

Hello all, I want to turn the following piece of code into a function of sorts by wrapping it in a proc. When I attempt to do so exactly as given in the below sample, 2 error messages are returned: The first is an 'Error, unterminated procedure' and the second 'Error, unable to parse'. > restart; with(LinearAlgebra); > func:=proc(params,a,b) eta_f:=params[1]: eta_s:=params[2]: eta_w:=params[3]: eta_int:=params[4]: omega:=params[5]: G:= params[6]: u[0]:= params[7]: params[7]: n:=a+b: Arand:=RandomMatrix(n,n):A:= Arand-Arand: end proc; To state my problem in it's completeness; For simplicity I have only included an excerpt of my full input - which runs fine before the introduction of 'proc' - but I encounter identical problems to that outlined above throughout. As such I assume a solution to the above excerpt can be applied generally.

## Integral Representation for Mathieu Functions (?)...

Hi all, I am posing a question that has plagued me since I studied these in a Dynamical Systems course a couple of years ago... Is it possible to get an integral representation for the (angular) Mathieu Functions (AMF's) - via generating functions or any method? Consulting Ambrowitz and Stegun, and searching through recent papers the closest I came to finding such a result was one that (paradoxically) gave the integral representation of the AMF's in terms of itself (it appeared in the integral kernel). So I was wondering if anyone could do any better or clarify this. John

## I cannot evaluate a limit......

I want to evaluate the limit as sigma=0 of the integral from -infinity to +infinity of V(t)*f(t) where f(.) is the normal density. I think that I must obtain V(mu) but I only get: "lim sigma->inf of integral etc etc. " The "commands" that I did use are: restart; > MyFunc1:=(t,sigma,mu)->int(V(t)*1/2*2^(1/2)/Pi^(1/2)/sigma*exp(-1/2*(t-mu)^2/sigma^2), t=-infinity..+infinity); >limit(MyFunc1(t,sigma, mu), sigma=0); Probably I am doing something wrong, because I am almost sure that MAPLE can do it. Could somebody please point my mistake or suggest any hint? Thanks a lot. JV

## trigenometry help...

I am a nursing student and do not understand math very well at all. i need help with 5 math problems . I would greatly appreciate any help out there. thanks in advance.(they are multiple choice problems.) 1) Convert this relationship to a form which has no trigonometric relationships in the answer, just numbers. [2*(tan of 15 degrees)]/[1 - tan^2 of 15 degrees] a) sqrt3 b) 3 c) (sqrt3)/3 d) 3/(sqrt3) 2) Choose the answer which completes the identity below.( i believe this is D, am i correct?) (The square of the tangent of x) + 1 = ? or alternatively written in symbols this is [tan^2(x)] + 1 = ?

## How can we find intersection of a cone and a dynam...

Hi, i would like to put a question. suppose we have a cone, and we want to find whether a line will intersect the cone or not, how will we find this? A more challenging question would be: if the line is changing due to the movement of originating point, how would we find its intersection?

## Integrals...

int((4*x-3)^3, dx) Tried to use Maple straight away to integrate the above. As it turned ou the answer was wrong.Does this mean that I have to solve it by way of substition Curious

## An unexpected error to a simple problem...help ple...

Hi everyone, First things first, I really enjoy reading this forum and have found it quite helpful; kudos to the experts who make this a very valuable resource. That being said I've been using MAPLE 10 since its release and recently began working in the Worksheet mode rather than the Document mode - the benefits of which have been mentioned in previous topics and explains my shift. This has lead me to a problem which makes no sense to me and I could use a little help on. Essentially I have a list of values acquired from a strain gage signal (non-integer floats) and wish to select a value within the list closest to 10,000, retrieve the associated index for it and create a new list up to that value for further calculations. Here is the input (SG1 is my list):

## MathMLViewer Statement...

I uploaded a code intended to create a step by step solution to find the area of a triangle, starting with the formula, substitution, and evaluation of that statement. However the value of b[3], the evaluation part, is placed infront of the statement instead of the last statement. I have been looking at the code for weeks but I get no where. Maybe a second eye will see what is wrong with the code. View 690_Howto.mw on MapleNet or Download 690_Howto.mw
View file details

## Maple TA 2.5 {no access on Linux Server}...

Hello Dears, Although I have been worked on Maple TA in LAN's

## Getting the username within Maple T.A....

Hi, does anyone know if it's possible to "get hold of" the username of the student taking a test in Maple T.A.? That is, is there a variable that contains this string? This could prove useful for personalising question content (think of individual seeds for random number generation, or keys in cryptographic contexts). We would love to be able to (predictably) provide a customised question for each student by somehow hashing up the username, and writing a question which uses that variable. If there's an alternative to this I'd very much like to hear about it: in essence we wish to grasp hold of something that's unique to the student who's logged in.

## Assumption not working with PDE...

Hello! I have the following PDE: PDE := { diff(alpha[1](u, v), u) = -I*exp(I*u)*beta[1](u, v), diff(alpha[1](u, v), v) = -I*exp(-I*v)*beta[2](u, v), diff(alpha[2](u, v), u) = I*exp(-I*u)*beta[2](u, v), diff(alpha[2](u, v), v) = -I*exp(I*v)*beta[1](u, v), diff(beta[1](u, v), u) = (1/8*(I*exp(-I*v)*alpha[2](u, v)+(2*I)*beta[1](u, v)+(2*I)*exp(-I*(v+u))*beta[2](u, v)))*(a-1)-(1/8*(-I*exp(-I*u)*alpha[1](u, v)-(2*I)*beta[1](u, v)+(2*I)*exp(-I*(v+u))*beta[2](u, v)))*b, diff(beta[1](u, v), v) = (1/8*(I*exp(-I*u)*alpha[1](u, v)+(2*I)*beta[1](u, v)-(2*I)*exp(-I*(v+u))*beta[2](u, v)))*(a-1)-(1/8*(I*exp(-I*v)*alpha[2](u, v)+(2*I)*beta[1](u, v)+(2*I)*exp(-I*(v+u))*beta[2](u, v)))*b,

## Differentiating with Maple...

How do I, with Maple, differentiate the following y = (x- 1)^2/x Curious