MaplePrimes Questions

I am stuck on a problem with my homework.

It says to plot f(x)={2-x   -3(greater than or equal to) x (greater than) 1

                          e^x            x(greater than or less than)1

How do you plot them to show the e?

I am trying to solve a vibration problem with 40x40 and larger matrices. I am using "LinearAlgebra[Determinant]" function for creating the eigenvalues' equation. When the matrix is larger than 30x30 Maple gives an error "object too large". How can I avoid it?

Regards

I have an expression k:

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

 

and the two solutions of the following expression:

solve(n*p*(1-p)=(sigma)^(2), {p});


Now I want to substitute the solutions of the former for p in k.

Because there are two different expressions to account for, how may I tell Maple to return two solutions at once, without typing each of them extra?

I have this simple piece of algebra I want to factor in the term (cw-cw1) as far as possible, with a minimal remainder of terms that do not factor. sw1j*(sw*cwj+cw*swj)*(1-cw1^2)+(-(1-cw^2)*swj+cwj*(cw-cw1)*sw-swj*cw*cw1)*cw1j*sw1+cw1*sw1j*sw*(-sw*swj+cwj*cw) Is there an easy way to do it?. I only ask because while it can be done fairly trivially by hand, I am finding it non-trivial to do in maple. Thanks in advance for suggestions.

Hello,

I would like to graph a piecewise parametric function:

1 < t < 2
x(t) =1.146967180*(t-1)^3-2.178399723*(2-t)^3+38.3612214*t+106.1461765
y(t)=.3047483217*(t-1)^3-.5750322227*(2-t)^3+10.1163822*t+444.0230985

2 < t < 3
x(t)=-.4672626810*(t-2)^3+1.146967180*(3-t)^3+45.2430246*t+92.3825701
y(t)=-.1402738345*(t-2)^3+.3047483217*(3-t)^3+11.9448719*t+440.3661194

.. and so on and so forth

I have searched and tried playing with the plot command but to no avail.

I'm wanting to use maple to plot the solution curves of a system of differential equations in the form x(t)=f(x(t),y(t)) y(t)=g(x(t−h),y(t−h)) z(t)=h(y(t)) Where h is a positive constant. Is it even possible to use maple to solve/plot something like this? I've tried by best to look through the help pages and can't find useful. Many thanks :)

What does the command length( ) return when the input is a list? For example length([1,1]) returns 7, how does length arrive at this result?

I started with the following expression:

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

 

and two equations:

{p=mu/n};

{n=-((sigma)^(2))/(p*(p-1))};

 

Afterwards I carried out two substitution steps:

1. Substitute mu/n for p in k and store the return as j.

j:=subs({p=mu/n},k);
 

2. Substitute -((sigma)^(2))/(p*(p-1)) for n in j.

I try to find out, whether two expressions are equvalent or identical, respectively.
E.g. I have the following expressions:

m1 := -sigma^2*n*(phi+ln(-1/(-exp(phi)+exp(phi)*mu/n-mu/n)))/(mu*(-1+mu/n)*phi);
m2 := 2*mu*n*(phi+ln(-1/(-exp(phi)+(1/2)*exp(phi)*(n+sqrt(n^2-4*n*sigma^2))/n-(1/2)*(n+sqrt(n^2-4*n*sigma^2))/n)))/((n+sqrt(n^2-4*n*sigma^2))*phi);

 

and I tried to just subtract one from the other and afterwards simplify:

m1-m2;
simplify(%);

I use the order linsolve to solve matrix,but it does nothing. It is as follows,

a := matrix([[-k, -c*omega], [c*omega, -k]])

b := matrix(2, 1, [A1, B1])

d := matrix([[M*omega^2-K-k, -c*omega], [c*omega, M*omega^2-K-k]])

f := matrix(2, 1, [A2, B2])

g := matrix(2, 1, [0, F])

h := matrix([[m*omega^2-k, -c*omega], [c*omega, m*omega^2-k]])

dbg1 := evalm(`&*`(d, b)+g)

AB2 := linsolve(a, dbg1)

Hi, I was trying to define a function defined as a Fourier transform. In the plot, there are several pieces of the curve missing.

 

Consider the solid obtained by rotating the region bounded by the given curves about the x-axis.

1)

y=1-25x^2, and y=0

Find the volume V of this solid.
Sketch the region, the solid, and a typical disk or washer.

2)

Use the method of cylindrical shells to find the volume V generated by rotating the region bounded by the given curves about the y-axis.

I have a 3x3 matrix called test, I am trying to compute the sum of all the elements of the first line.

 

sum(test[1,j],j=1..3)

Error, bad index into Matrix
 

how to do?

 

thank you

I have a system of nonlinear differential equations with initial conditions: sys := diff(x(t), t) = -4*y(t)*x(t), diff(y(t), t) = -y(t)+2*y(t)^2-4*z(t)*y(t), diff(z(t), t) = -z(t)-2*u(t)*z(t), diff(u(t), t) = -u(t)+2*y(t)*u(t)-4*u(t)*z(t)+2*u(t)^2 ics := x(0) = 1, y(0) = 1, z(0) = 1, u(0) = 1 If I've got the equations right, I should get x(t) = 0.9019 as t -> infinity. How would I solve this system of equations on maple to get an answer for x(t)? I've tried this: dsolve({sys,ics}, numeric) but what I get is this:
<p>I have a line defined by a set of parametric equations and the equation of a plane. I need to plot their intersection. </p>
<p>I can do the math by hand but I am having trouble plotting. Intersectplot seems to expect two surfaces, not a plane and a line. Should I be using something else?  </p>
<p>I'm a complete novice to Maple, I should add, and have just been using it for about five hours over the past two days. I understand how to use spacecurve to create points for a line and then draw the lines (using display3d), and a few other little things but that's it, unfortunately. </p>
First 2006 2007 2008 2009 2010 2011 2012 Last Page 2008 of 2431