MaplePrimes Questions

Version: Maple 7

How can I acheive the following?

Pseudo-maple, this is what I want to happen.
> f:=modp(x,2);
> subs(x=3, f);
(output) 1

The problem is that the first line echoes "f:=x" and then subs(x=3,f); outputs 3.

In a similar way, I get the following unexpected result,
> f2 := 0.5 < floor( modp(floor(y/17)* 2^(-17*floor(x)-modp(floor(y),17)) ,2) );
(output) f2 := .5 < 0

For some reason the RHS of...

This is an equation:T*s^3+s^2+K=0,where T>0,K>0, s is complex variable. I have known that one of its roots has real part, and this real part is independent of T and K. I don't know how can I use maple to illustrate this conclusion, can you give me some advices? I try to use solve command, but the result is very chaotic.

Thank you in advance.

I want to produce a list with oder by total degree, of monomials in several variables

i.e. {1, x, y, x^2, y^2, xy} would be the list or all monomials in the variables x and y with total degree <=2,

currently i can produce a list using a loop command that gives me the set

U:=(seq(seq((x^n)*(y^m), n=0..2),m=0..2));

which returns the list

U=1, x, x^2, y, xy, x^2y, y^2, xy^2, x^2y^2

which has terms that i do not require i.e. ...

Here is my code , could you please tell me where i'm going wrong... isn't plotting anything

Fern :=proc(n);
local pick,n;
n := NULL;
for n from 1 to n do 
pick := rand();
if pick < 0.01 then
x[n+1] := 0;
y[n+1] := 0.16*y[n];

else if pick < 0.01 + 0.85 then
x[n+1] := 0.85*x[n] + 0.04*y[n] + 0;
y[n+1] := -0.04*x[n] + 0.85*y[n] + 1.6;
else if pick < 0.01 + 0.85 + 0.07 then
x[n+1] := 0.2*x[n] - 0.26*y[n] + 0;
y[n+1] := 0.23*x[n] + 0.22*y[n] + 1.6;

Hi

In a particular calculation I kepp getting (erratically) the error message,

Error, (in sqrfree) argument must be a polynomial or a rational function in lam

 

I don't...

My school deployed the application for examination purposes, got this app installed on a server and deployed. but question is this

1. when a student logs in with his or her id and click on the assignment link from a client system connected to the server and start attempting the assignment, at a time the question will stop responding, responding in the sense that one will not be able to next or back the question. and if such student close the assignment page and logs...

Hello,

I am working on a problem that I can't seem to figure out the plot commands in Maple. The problem is this...

Given a family of surfaces described by z=(ax^2 +by^2)*(exp(-x^2*-y^2))

I need to obtain a 3D plot of these surfaces and, from the graph of the surfaces, explain how constants a and b will change the shape of the graph. I cannot find the syntax required so plot such a function, but I have been trying using spacecurve(). Does the equation...

Hi everybody:

I just recently "discovered" Maple components based on an interesting blog posted by Dr. Lopez and I am trying to figure out what's really possible. Is it meant for "Big Time" or for small (but still usefull) things? Specifically, I don't see any provision about creating custom components. Not even as simple as an on/off switch. For sure you can combine the ones from the palette and achieve certain customization but you're going to waste quite a bit...

Hi

I am trying to run the following sample code

http://www.maplesoft.com/support/help/Maple/view.aspx?path=OpenMaple/Java/Examples

 

but I get error msg

fatal error(-1) loading GMP library: C:\Programme\Maple 12\java\bin.win\libgmp-3.dll

 

"Error Lauching openmaple splash screen"

 

the file "libgmp-3.dll" is in the correct directory

 

I am using Maple 12, jdk 1.6.0_23 and WinXP

First a little background: I am using Maple 14 on a Windows 64 bit machine.

I first imported some x,y data using the readdata function. Then I made a Spline function from this data like so: f :=x->Spline(data,x);

Then I created a second function, lets call it g(z) which calls f like so: g:=z->f(1/z);

If I simply try to evaluate g(z) at a point it works. But if I try to plot g(z), like so: plot(g(z), z=5..7) I get the error: Error, (in CurveFitting:-Spline...

How do i input the following function on maple:

 

f o g(x) ?

if the function f(x) is defined as well as that of g(x)....

Question: (how to do this)

Write a procedure that takes as input a lowercase text string and returns a list 26 integers.
the fist entry is a count of the number of letter 'a's,the second the number of lette 'b's ,.... , the 26th the numberof letter 'z'.


Thank you 

A mounth ago, I noticed a command which could express an expression by a charactor. For example: We can define r equals sqrt(x^2+y^2+z^2). When we compute ∂xr, it will give the answer like x/r. In the examples, this compared with 'subs','eval','algsubs'. So I am sure it is different from the three commands before. Now I need to use this command, but I cannot remembered what it is. Who can tell me. Thanks.

dear all,

          i have a simple optimization problem. the objective function is like A*X + B = E and the constraints are 100 <E < 8000 and 10<X<600. I want to find the Min and Max ranges of A and B such that Amin*Xmin+Bmin=Emin and analogous for maximum. I am not sure about the correctness of my modeling. Please guide me to proceed. Thanks.

I would like to ask, whether MAPLE can compute expressions written in covariant notation, like these ones (I have written it in LATEX): $u^{\mu \alpha}_{\nu} u_{\mu} u^{\nu} v_{\alpha}$, (where $\mu, \nu, \alpha = 0,...3$), i.e. whether we can compute the summation (like in these above examples), contraction, substitute ansatzes for $u$, compute derivatives of this above expressions, etc. I looked for any information in documentation, but I did not found anything. I checked,...
First 1907 1908 1909 1910 1911 1912 1913 Last Page 1909 of 2431