MaplePrimes Questions

Hi,

Im trying to evaluate a Transfer function from a block diagram.

i have written all the equations but i cant find the command to find the symbolic solution

of theta_l/Theta_d in terms of A,B,C,s,Kp,Kv

 

attched is the maple file.

i use maple 13.

 

 

 

 

Hello,

For a face recognition program I need to import all the jpg files that are in a map
on the hard drive. I can already do this by f(i):=Read("C:xxx\\xx\\xxx\\xxx.jpg"); 
that gives f(i) a single jpg file.
But this requires every file to be imported separately. Is there a way to import all the jpg
files from that map?
e.g. f:=Read("...\\*.jpg"); that would give f a list of all the jpg files in the map.

KR 

Suppose that I wanted to produce a 2D plot which was coloured in the region between two functions.

I mean not just between two curves, but between two functions. I would like to make the curves appear as smooth as Maple knows how, but without getting any jaggedness due to using a high grid in an implicitpot.

Consider this example. These two curves are displayed as being quite smooth (using adaptive plotting or whatever `plot` knows to use). How best can the regions between these two curves be filled, without having to recourse perhaps to a rough implicit plot?

plot([x^2-1, -x-1], x=-1.5..1.5, y=-1.5..1.5, color=black);



A simple trick with a product provides a defined implicit region that `implicitplot` can handle. But there can be small gaps, or irregularities, because the formulas for the curves are being solved in a complicated way and no longer being used as mere functions.

plots:-implicitplot( (y - (x^2-1))*(y - (-x-1)),
                     x=-1.5..1.5, y=-1.5..1.5,
                     filledregions=true, gridrefine=4,
                     coloring=[COLOUR(RGB,.8,.8,.9),"white"],
                     axes=boxed, labels=["x","y"],
                     view=[-1.5..1.5,-1.5..1.5] );



Another technique is to overlay two simpler implicit plots, colouring and layering them carefully so as to give the impression that only the inner regions had been coloured. The problem here is that the intersections all have to be computed and the problem split up piecemeal (which I did not do) so that the layered colouring is adjusted to whichever curve lies on top. Without that care, then something like this happens, with odd subregions appearing uncoloured.

plots:-display(
   plots:-implicitplot( x^2-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=4,
                        coloring=["white","white"] ),
   plots:-implicitplot( -x-1 >= y, x=-1.5..1.5, y=-1.5..1.5,
                        filledregions=true, gridrefine=2,
                        coloring=[COLOUR(RGB,.8,.8,.9),"white"] ),
               axes=boxed, labels=["x","y"], view=[-1.5..1.5,-1.5..1.5]);



Did I miss something obvious? Is there some other calling sequence or command that makes this much easier (and smoother, by default)?

I want to have a Plot component display animations, controlled by a button. I want each click
of the button to show a new animation.

So e.g. the Action when Clicked for the button might be something like this (for animations alternately in blue and red):

use DocumentTools, plots in

if cc = red then cc:= blue else cc:= red fi;
Do(%Plot0 =animate(plot,[sin(x+t),t=0..Pi,colour=cc],x=0..Pi,frames=4));
SetProperty(Plot0,play,true,refresh=true)

I'd like to read old Maple Worksheets created with Maple V release 4 (.mws files) to the Maple version 12.


When I am loading old worksheets, then system crashes with an error message:
Kernel connection lost, You should save this worksheet and restart Maple ....

Is there a way to load (import) old worksheets into newest versions of Maple

Thans Jaroslav

I wish to display in 2D a vertical arrow with amplitude oscillating sinusoidally between 1 and -1.  Hours studying help files and attempting to craft a command to produce this simple result yield nothing but unhelpful error messages. Please provide the command that will do it.

Hi!

 Sorry for my english, I'm french! :)

I try to make a modelisation of pedestrian dynamics.

 

Look:

There's someone, (a dot in Maple) at some randomn place in a square.

 

He want to go to another place.

So, there's 3 dot in Maple:

- S: The start fixed

- X: Mr X who is traveling from S to E

- E: The end fixed

so, without any rule, X is drawing a line from S to E.

I have a long expression which I want to factor optimally.  If I can cancel terms in the numerator and denominator, great, and if not, I just want to reduce the size as best possible.  Maybe there will be terms such as

(x12 + x32 + y12 +y32)*(x22 + x42 + y22 + y42)

which I see when factoring the denominator by hand.  Here's the worksheet, the final...

The Question was like this:

Using this program as a basis, write a procedure  so that Maple performs a trapezium rule approximation of

the integral of

When I use the solve command in Maple15 nothing happens. I just want to solve for V and Cf.

Does maple not like implicit equations? The file is attached

hi,

how to solve Ax=0 ?

A is 8*8 Matrix and det(A)=0
how to find x (x1,x2,...,x8) ? 

 

thx;

aryan.

This is the procedure for the question I posted on http://www.mapleprimes.com/questions/128600-Romberg-Approximation-Procedure-In-Maple?sq=128600 

Can anyone see where the problem is?

RombInt:=proc(f,a,b,m,n)
local j,k,R;
if type(m, numeric) then
if not type(m,nonnegint) then ERROR("m must be a non-negative integer"); fi;fi;

Hi, I want my output to be column vectors, how do I use the printf statement?

Hello there,

 

When I was trying to solve a differential equation with dsolve, I've got such a error report:

> dsolve({Q(0) = F[Az], diff(Q(x), x) = q[2](x)});
Error, (in dsolve) found the following equations not depending on the unknowns
of the input system: {Q(0) = -(1/4)*l^2*q[0]-(1/4)*l^2*q[0]*exp(2)+F}
 

But if I only write:

> dsolve(diff(Q(x),x)=q[2](x));

then there is no problem. 

How to find the discontinuities of the function
g:=unapply(int((1-z*(cos(t)+cos(2*t)))/(1-2*z*(cos(t)+cos(2*t))+2*z^2*(1+cos(3*t))),t=0..Pi),z);

over the reals with Maple?

First 1790 1791 1792 1793 1794 1795 1796 Last Page 1792 of 2429