## Removing extra spaces in a string...

Hi, If a sentence (as a string) is given with uneven number of spaces in it, how can we smooth it out so that every word is followed by exactly one space. I think this would be solved by Regular Expression in patmatch, but exactly I don't know. Kindly help me. Thanks.

## multi plot...

i have two function f(x) and g(x) and i wanna plot them in one plot x=1200..2300, but for f(x) y=0..600 and for g(x) y=0..50. How can i display different scaling y-axis?

## 2D and 3D in the same graph...

Hi, I would like some help with plotting a 2D and 3D graph together. I actually have an equation with two varying parameters and I have displayed a 3D plot.What i want is to set a value for the one parameter and plot the line together with the previous surface, so that I can see where this line is placed on the surface.I provide the example to make myself clearer. Itouch50 := -0.4058074876e13*sqrt(1.+h)/(sqrt(ts)*(-500000000.0*ln((625.+125.*h+25.*h^2+5.*h^3)/h)* sqrt(1.+h)+587311661.7)) Itouch := 474335.0379*h*(10300.*2.718281828^(-3.703703704*ts)+1030.*2.718281828^(-3.703703704*ts)* h+490.*2.718281828^(1/(5.*ts+6.))+49.*2.718281828^(1/(5.*ts+6.))*h)/(51200.*sqrt(ln(100.*h))*h+5120.*sqrt(ln(100.*h))*h^2+25600.+12790.*h+511.*h^2)

## Need help simplifying this equation...

Hello, I have never used Maple before and I am working on an assignment but unfortunately class ended before I could ask my professor with some help so I was hoping someone on here might be able to help me out. All I need to do is get the first equation to look like the second equation, I would use the simplify command but I cannot break apart the l(l+1), can anyone help me out?

Equation 1: Need it to look like this: View file details

## How do you make a general function ie f(x,y,z)...

I want to tell maple that func is a function of x, y, z, but I don't know what the function is. This is so when maple evaluates derivatives, etc, it won't assume 'func' is a constant. ie: instead of func := (x,y,z) -> x^2 + 2y + 3xyz; I just want to say func : = (x,y,z); so that when I ask for a derivative, maple just prints out 'diff(func, x, 1) etc, where 'diff(func, x, 1) means the first partial deriv of x. I hope that's clear enough for all you experts out there. I am a newbie to Maple. I tried func : = (x,y,z); but it did not seem to work for me.... Thanks in advance,

## Unassign from within a procedure...

Hello. I was wondering if it is possible to unassign a variable from within a procedure. The accompanying file illustrates what I am trying to do. As always, my anticipated thanks to anyone kind enough to take the time to help me. I would be totally lost in MAPLE without this forum. a href='http://maplenet.maplesoft.com/maplenet/worksheet/mapleprimes/2292_Unassign within a procedure.mw'>View 2292_Unassign within a procedure.mw on MapleNet or Download 2292_Unassign within a procedure.mw

## converting matlab or c code to maple?...

Hi, Is there an easy way to convert Matlab or C code to something that Maple can use? I know CodeGeneration in Maple can go the other way, but can't import into Maple. Thanks! Andy

## Anyone could tell me how to access Maple TA v.3 Ma...

I wonder who could help me to became a Maple TA v.3 Beta_Tester? Thanks in advance Ivan Weinem iweinem@yahoo.com.br

## draw timedependent vector field trajectories?...

Hi, I'm new to maple and I would like to draw a plot of a time-dependent 2D Vectorfield and some trajectories: 1. I have the field udep := (x, y, t) -> cos(t)*x - sin(t)* (-y); vdep := (x, y, t) -> sin(t)*x + cos(t)* (-y); it looks like this: 2. now i would like to draw a trajectory T that has at every point a tangent parallel to the field (to show the path of a massless particle inside this field)

## Separation of variables killing me!...

Hi, Separation of variables has been driving me nuts again, By applying the method of separation of variables solve: ux + uy =0 Separate the variables: fp1 := diff(u(x, y), x) = -(diff(u(x, y), y)); pdsolve(fp1, u(x, y)); u(x, y) = _F1(y - x) is this the correct solution? u(x,y):= _F1(y-x) If it is, what is the _F1? If it is not the solution can someone explain the correct solution to me? Regards malt

## Using Matirx equations...

I wonder if someone could help explain to me how to use Matrix equations. Suppose A is a 3x3 matrix of constants, b a 3 vector of variables (x,y,z) and c a 3 vector of constants. The equation A.b = c is really 3 equations in x y z. Is it possible to extract those equations from the matrix equation A.b = c? I explain my question more clearly in the uploaded worksheet. Thanks The link can be found in the File Manager Vie

There is a discontinuity at 0, but discont gives no answer: discont(1/sin(abs(x)),x); Any idea?