MaplePrimes Questions

E.g. I have five solutions from former computations i.e. k1..k5, some of which are common expressions, some are multiple solutions and some are just nothing, because Maple was not able to compute it.

Now I try the following:

 

for i from 1 to 5 do

subs(x = a, k||i):

end do;

 

That won´t work, because Maple realizes, that some of the k||i expressions are no expressions.

Now I think of inserting a boolean-check such as:

 

 

for i from 1 to 5

while type(k||i, t) do

I have some code for evaluating a velocity given different variables: > h := 50; e := 5/6; > d := .218*100; Omega := 6*Pi*(1/100); > a := -h/e; b := h/(1-e); > Q := piecewise(x <><><><><><><><><><><><><><><><><><><> k := piecewise(0 <><><><> F := 0; > tau[1] := 1/(30*d); tau[2] := (1/4)*tau[1];

How do I get Maple to go into 1-d input?

Choosing Maple Input only changes the font color to red, 3^b as it should be displayed is displayed as 3.

This is in Maple 12.01.

Is there a way to ask Maple to write an expression in terms of other expressions? Eg.

f[1] := v[1]+v[2];
 f[2] := v[1]*a[1]+v[2]*a[2];
 f[3] := v[1]*a[3]*a[4]+v[2]*a[5]*a[6];
 f[4] := v[1]*a[1]*a[4]+v[2]*a[2]*a[6];
 f[5] := v[1]*a[3]*a[7]*a[8]+v[2]*a[5]*a[9]*a[10];
 f[6] := v[1]*a[3]*a[4]*a[8]+v[2]*a[5]*a[6]*a[10];
 f[7] := v[1]*a[1]*a[7]*a[8]+v[2]*a[2]*a[9]*a[10];
 f[8] := v[1]*a[1]*a[4]*a[8]+v[2]*a[2]*a[6]*a[10];

 

Is there a way to make Maple turn expressions of the form a(b+c)^d  into (a^(1/d)b + a^(1/d)c)^d? A specific example of what annoys me is results like these:

10.17594299*(-.2450501048*x+.2692858295)^2.824978580

This expression would look simpler if 10.17594299 is moved into the parentheses, like this:

(-0.5570846541*u + 0.6121809387)^2.824978580

Can Maple do this for me? I have blindly tried simplify, expand, etc, but none of them do what I want.

Photobucket

Help me, thank a lot

> R := 1000*Dirac(x-10):

int(R, x = 0 .. 10);

500

we have result to be 500

I define a function of time t and variable x

> p := piecewise(0 <= t and x < 10, R, 10 <= t and t < 20, 0):

int(p, x = 0 .. 10);

 

I am trying to animate two different space curves such that the second curve starts a specified time after the 1st curve. At first glance, it looked like this would work, but it does not. > with(plots); with(Student[VectorCalculus]); > > a := animate(spacecurve, [[cos(t), sin(t), t], t = 0 .. A], A = 0 .. 2 Pi, color = red, axes = boxed, labels = [x, y, z]); > b := animate(spacecurve, [[sin(t), cos(t), t], t = Pi .. B], B = Pi .. 2 Pi), color = blue); > display(a, b);
I'm using the LinearAlgebra package and the Matrix() command to build matrices in Maple 9.5. I need to be able to find the number of rows and the number of columns of a certain matrix A. I ran into problems running nops(A[1,1..-1]) and discovered that if I find the operands of a 3x2 matrix "wem" I am returned this: 3, 2, {(1, 1) = 0.7, (1, 2) = 0.1, (2, 1) = 0.2, (2, 2) = 0.3, (3, 1) = 0.1, (3, 2) = 0.6}, datatype = anything, storage = rectangular, order = Fortran_order, shape = []

Hi

Can anyone help me out.
I have created a procedure to produce the determinant of a  vandermonde matrix.
Now I have to prove the following

    Det(V) = product(xi-xj)   (excuse formatting)


I have been scratching my head & swearing like a trooper. I need help!!

Hello,

I am wondering if this is possible. I have a system of ODE that I want to solve numerically, let say they should give me x(t) and y(t) (two first-order ODE). But instead of specifying the initial condition as initial value: y(0) = a, x(0) = b, I want to specify the end value, e.g: x(10) = a, y(10) = b and let dsolve/numeric integrate backward from t=10 to t=1. Is it possible ? how do I do that ?

 

Thanks.

 

Hi,

I want to be able to identify terms in a multinomial expansion.

For example in (x+y+z)^3 i want to say that     x^2 y = x^2 z = y^2 x    etc.

Can anyone tell me how to do this?

Thanks

Jenny
 

For example I input:

 a := 1;
 b := 2;
 c := a+b;

then I press "cntr+=", and Maple gives me the answer:

 c := a+b=3

Is it possible to make maple show calculation steps, not only the result?

 c := a+b=1+2=3

Hello Colleagues, I attached a maple worksheet. 
View 9494_Graph_Components.mw on MapleNet or
 Download 9494_Graph_Components.mw
View file details
In which I have the following concerns:

Ok, here is what I tried to do:

restart;
with(Statistics):

X3 := RandomVariable(Binomial(n, p)):

k3 := n*(phi+ln(-1/(-exp(phi)+exp(phi)*p-p)))/phi;

j3:=algsubs(sqrt(Variance(X3))=sigma,k3);

 

When I do this, I receive an error message: "Error, (in algsubs) no variables appearing rationally in pattern".

First 2013 2014 2015 2016 2017 2018 2019 Last Page 2015 of 2434