MaplePrimes Questions

Hello,

I have some difficulties to create an X-Y chart and what data structure I should use.

I have a loop, I set the maximum number of iteration to nmax.

At the end of each iteration, I will retrieve two information (variables):

-iteration number, 1 by 1 until nmax, integer: n
-an value associated with this iteration, integer: v

I will store iteratively these values (at least v) at the end of each loop...

Hello all

May I please ask a question about colors? I have multiple plot structures, created using

plot1:=odeplot(...)

plot2:=odeplot(...)

I do not wish to specify a color for each.

When I display them all together

Display(plot1,plot2,..)

they (understandably, I guess) all show up with the same color (all having been created separately).

Is there any way to get the Display (or other) command to (realize it's drawing...

Here is the sort of data I want to plot:

plot([seq([i,i],i=1..10),seq([i,1/i],i=1..10)],style=point);

The above works (Maple 14, Windows 7, Standard GUI). but I'd like to use different scales on the left- and right-hand sides, e.g. raise the second plot by a factor of 10.

I thought dualaxisplot would be the ticket, but I haven't been able to make it to work. It may have to do with the fact that my data is a list of coordinates rather than a function ...

My next project will be to understand second order cone optimization
and submit an easy to understand example to the maple application
center inorder to help other people understand it as well. Due to the
extreme technical nature of the problem I have offered various "experts"
up to 500 USD if they can explain it to me in simple terms.

Most optimization people have told me: We want $$$$$$$$ to explain it to you.
Apparently, everyone ells should share their knowledge to the world

Hello,

I’m just toying around with diff(), dsolve(), and, as it happens, also with pdsolve(). Let’s say I have an equation as the following:

DF := (diff(f(x, y, t), `$`(x, 2)))*omega+(diff(f(x, y, t), `$`(y, 2)))^2+diff(f(x(t), y(t), t), t) = 5;

A function f, depending on x, y and t where x and y also depend on t. I multiply the second partial derivative of f by x with ω, add it to the square of the second partial derivative of f by...

Hello,

I don't understand what's going on with Maple. Here is a simple code to test a difference between 2 values from an imported file (Array).

If the number of loops (for n to 6, line 7) is set over 8, I get EACH TIME a "Kernel Connection Lost". I don't understand why Maple fails on this simple code.

Is it a bug or something is wrong with this code ?

I attached also the matrix dataset (Import Data -> Excel file -> variable name "data")

Hi,

I have created procedures to encode and decode messages using the RSA method. Although that this method requires a private key, which is only known by me, the message is not uniquely from me.

I was wondering if anyone had any ideas about how I could create some sort of signature so the message was only from me.

BodeHi there,

can anybody tell me why this code works..

restart: with(DynamicSystems): alias(delta = Dirac): alias(sigma = Heaviside): interface(imaginaryunit = j):
DGL := 2*(diff(x(t), t))+10*x(t) = 5*y(t):
sys1:=DiffEquation(DGL, inputvariable=[y(t)], outputvariable=[x(t)]):
BodePlot(sys1, thickness = 2);

and this code doesnt'

restart: with(DynamicSystems): alias(delta = Dirac): alias(sigma = Heaviside...

I am using the code generation package to generate fortran 90 code.   In a Maple module I have a procedure that uses "CodeGeneration[Fortran]" to turn a symbolic matrix into a subroutine in Fortran; i.e., given an n-vector q the Fortran subroutine will return an n by n matrix.  However, since Maple's "Fortran" command does not support Fortran 90 I have utilized the StringTools[RegSubs] to alter the line continuation differences between fortran 77 and fortran...

Hi,

I have to simulate some kinematic movements of machine. There are tree differential equations (ce2,ce2 amd ce3) which describe movement (there are angular velocity ac1, ac2, ac3 or angular beta, ang, teta ). I know exact solution in MatLab but I am trying do it the same in Maple (13). Unfortunatelly results-curves I recieved are not the same (In Matlab I have very smooth). Is there any Maple expert who can check my equations...

Hello all,

I am compiling a list of different formulas, maple commands etc that I use alot so I can copy paste them into documents I make. Is there some way of making the math bits "inactive" so I don't screw it all up by executing it by accident.

Thanks for any input,

Frank Obeth

Hi, I have the following equation and I would like to solve the equation "EQN" for n with 0<taut<1 and 0<taum<1 but I received not only a solution but also the warning "solutions may have been lost". I wonder why.

The equation is:

> EQN:=6581019.044*n*(ln(3.*(6110.-1811.*n+1980.*n*taum+1200.*n*taut-7800.*taum-7800.*taut)/(-25423.*n+28140.*n*taum+18000.*n*taut+74230.-101400.*taum-117000.*taut))/(10000.-1000.*n)^(3/4)/taum)^(50/13)-.2407407407*ln...

If I run the below code which finds the optimal portfolio weights given a portfolio
target return G then I get a nice solution:

restart:
with(Optimization):
with(LinearAlgebra):

n := 4:
C := 10000:
G := .1*C:

X := Vector[column]([seq(x[i], i = 1 .. n)]):
ER := Vector[column]([0.5e-1, -.20, .15, .30]):
Q := Matrix([[0.8e-1, -0.5e-1, -0.5e-1, -0.5e-1], [-0.5e-1, .16, -0.2e-1, -0.2e-1], [-0.5e-1, -0.2e-1, .35, 0.6e-1], [-0.5e-1, -0.2e-1, 0.6e-1, .35]]):

Dear my friends

I have a computer with Intel Core 2 due CPU. When I am solving the Maple program by it, only 50 percent of CPU power is involved. How can I use the whole power of CPU during executing a Maple program?

I also applied "kernelopts(numcpus=2)", however it has not any positive influence.

Yours

Dear all,

I'm trying to derive the equation of motion for a mechanical system using lagrange equation

I do have u := sum(sum(U[2*i, n](t)*sin((2*I)*pi*x/a)*sin(n*pi*y/b), n = 1 .. 1), i = 1 .. 1); so u is a function of (x,y,t) but U is function of t only.

T:=subs(x = (1/2)*a, diff(u, t))^2;

Therefore T is function of (x,y,t)  and it has terms containing U(t) and d/dt(U(t))

now I need to differentiate T with respect to d/dt(U(t)) .

First 1913 1914 1915 1916 1917 1918 1919 Last Page 1915 of 2431