Unanswered Questions

This page lists MaplePrimes questions that have not yet received an answer

Dear all,

I wrote some simple functions in Maple 13, called "myproc" file,

and used startup code (edit-->startup code) to initialize it in a worksheet by: read "myproc";

Now I am using Maple 14, it does not work, says, "unable to read", sort of thing.

 

I have also tried to rename the file to myproc.m and read "myproc.m";

does not work either.

Is there any compatibility problem?

Thanks.

casper

Hi,
I want to call Maple from Excel, this works so far. Problems in the attached Excel sheet:

- The result of a Maple command (components of a vector) will not be placed into separate cells. How can this be done ?
- To auto-update the solution when changing the input matrix, for each component of the solution vector the complete matrix needs to be recalculated. Surely, there is a better way to do this. 

 

 Hi mates!

Can anybody tell me - is there in maple something like Paskal's begin and end for if-operator?

big thanks in advance)

I was wondering if there's a simple way to add something like an interpolation loop to a procedure. For example, say I have a function of 2 vars which is expensive to compute, f(x,y). I can use option cache to speed up points which are already computed, but is there an easy way to interpolate between them using ArrayInterpolation? That is, if f varies on scales of order 1, if I have calculated it at 0.1, 0.2, then It can be guessed with a spline at 0.15 accurately enough. What...

I have the following procedure that generates Sierpinski's triangle:

seirpinski := proc (n)
> local Mat, Vector1, Vector2, Vector3,
> Prob1, Prob2, Q, prob, counter, fractalplot;
> Mat := linalg[matrix]([[.5, 0.], [0., .5]]);
> Vector1 := linalg[vector]([0, 0]);
> Vector2 := linalg[vector]([0, 0.5]);
> Vector3 := linalg[vector]([0.5, 0]);
> Prob1 := .333; Prob2 := .333;
> Q := linalg[vector]([0, 0]);
> writedata("fractaldata", [[Q[1...

I guess someone is kidding with me...

I want unsubscribing of this s... place!

Please explain details of the fmt string in the mapleta function numfmt.  The help page only says

Returns the value of x, formatted according to the template fmt.

 For example,

 numfmt("#.00", 20.9)

Hi, im having some trouble with Math182_Lab_4_2007W.pdf with question 7, its giving me hints on how to set up my X and Y from the old points of x1 and y1, but my instructor forgot to teach us using the map command and im having trouble on what to do next.

 

i'll include my worksheet, MAT_182_-_Lab_#_4.mw

 

I have this non-linear ODE in q(p):

ode := diff(q(p), p) = (q(p)-a*p)/(p-a*q(p))*(p^(-b)-1)/q(p)^(-b);

for some real parameters a and b, it may be solved in exact form for the special value a=1.

Is there any hope of getting a closed-form solution or of expressing the solution in a neat way for the case 0<a<1? even some specific value of a would be of interest, e.g. a=1/2.


dsolve(eval(ode,{a=1}));

 

 

let us consider the series

 

y = a_0 - sum(a_i,i=1..n)

 

here the terms a_i are defined recurrsively as follows

 

a_i = (a_(i-1) -4*ln(x)/ln(10) + 4/10 + 4*ln(a_(i-1)) )/ ( 1+ 4/(a_(i-1) * ln(10)))

 

a[n] := (a[n-1]-4*ln(x)/ln(10)+4*(1/10)+4*ln(a[n-1]))/(1+4/(a[n-1]*ln(10)))

 

how can i program this in maple. so i can...

 

what is the general sum formula for the following seires (we may notice from these few terms it has a pattern)

 

Hi all,

I need to define a state machine in MapleSim. A Maple procedure would help to solve this issue. How do I include a Maple procedure in my MapleSim model?

I am looking forward to your answers.

Fabian

f:=x->x^3:
y[1]:=0.5:
y[3]:=subs(x=y[1],f(x)):
i := 2:
y[i] := y[i-1]-(y[1]-y[2+1])*(1/2):
i:=1:
g[i] := (y[i+1]-y[i+2])*x/(y[i]-y[i+1])+(y[i+2]*y[i]-y[i+1]*y[i+1])/(y[i]-y[i+1]):
g[i] := unapply(g[i], x):
h[i] := unapply(solve(y = g[i](x), x), y):
for i from 2 by 1 to 7 do
g[i]:=(f@h[i-1])(x);
g[i]:=unapply(g[i],x);
y[i+2]:=subs(x=y[i+1],g[i](x));
s:=solve(z=g[i](x),x);
h[i]:=unapply(s[1],z);
end do:

for i from -1 by -1 to -8 do

 Hello,

I am trying to use a worksheet developed by Professor Batista [ritz06.mws] for calculating plate vibration frequencies using the Ritz method, which is available from the Applications directory - Mechanical Engineering folder.  The worksheet was developed using Maple 12 and I am using Maple 11; a careful reading of the file didn't show any commands that were incompatible across the two versions and yet I am not able to solve the worksheet using the default inputs provided in the worksheet.  I have attached a PDF output of the file with the error message.  Any assistance that could be offered would be greatly appreciated.

Please send your response to wayne.bell@fpl.com.

Kind regards,

First 322 323 324 325 326 327 328 Last Page 324 of 361