MaplePrimes Questions

What is the Maple command that allows this:

restart;
set_:={a=3,b=5,c=9}:
magic_command( set_ );  %this will cause the display to show as below

to display as

          a=3
          b=5
          c=9

(just for display purposes, so it is easier to see each element on its own line. I'll use this to format result from say dsolve and solve and such)

HI,

Here is my question,

I want to plot dependent variable or say function f(x) on x-axis and independent variable x on x-axis. But dont know how to do it. Please help me for this.

Regards

Sunit

Hello,

I look for solving a DAE system i obtain after having determined the equations of a mechanical system with kinematic closed loops.

For that, thanks to the partitioning method, i could transform my DAE in ODE system.

But now, i don't manage to solve my ODE system.

The first issue was the calculation of big matrix with trigonometric functions. With your help in the post "Resolution of a big product of matrix with trigonometric function" (http://www.mapleprimes.com/questions/200012-Rsolution-Of-A-Big-Product-Of-Matrix) , i could calculate the different matrix involved are calculated.

Now, the resolution with my differential system is very long and never finished.

@Carl Love 3670 gives me good advices. He asked me to try to avoid symbolic calculations of the matrix.

Do not use the output option for dsolve.

Then the following procedure evaluates the Matrix AA:

AA:= proc(S,t)
local Cu_inv:= eval(Cu, S(t))^(-1), tCu_inv:= eval(tCu, S(t))^(1);
     eval(Avv - Avu.Cu_inv.Cv + tCv.tCu_inv.Auu.Cu_inv.Cv - tCv.tCu_inv.Auv, S(t))
end proc:

           To use it, invoke AA(Sol, t) where t is an actual numeric value.

Unfortunately, i don't see how i can use this method for the moment? But, i think that there is a step i don't understand. For me, i have to make the calculation of the big matrix AA and QQ before solving my differentiel system because my differentiel system is composed with AA and QQ.

Here you can find the system i try to solve.

 

and here you can find the maple file without the steps leading to the setting of the equations

calcul_des_matrices_.mw

 

I am so thankful if there are any hints about this question:

http://math.stackexchange.com/q/523048/8581

Generally, can we check the existence of a valid limit by using epsilon-delta method in Maple?

Thanks

I thought to ask here on this, may be someone has this book.

According to Amazon, it shows this book

http://www.amazon.com/Introduction-Maple-Andre-HECK/dp/1461265053/ref=sr_1_27?s=books&ie=UTF8&qid=1383016657&sr=1-27

(rest of message was deleted by this amazing Maple prime software, will write it again)

The book above is supposed to new?

"Book Description
Publication Date: November 6, 2012 | ISBN-10: 1461265053 | ISBN-13: 978-1461265054 | Edition: 3rd ed. 2003"

but 3rd edition was published in 2003. Is this really a new book for Maple?

 

Find a loop do define these matrices, even for large values of n. Record the Matrix Mn 

 

all i,j=1,2,13,..,n for example 

N := `<|>`(`<,>`(1, 2), `<,>`(2, 2))

P := `<|>`(`<,>`(1, 2, 3), `<,>`(2, 2, 3), `<,>`(3, 3, 3))

Q := `<|>`(`<,>`(1, 2, 3, 4), `<,>`(2, 2, 3, 4), `<,>`(3, 3, 3, 4), `<,>`(4, 4, 4, 4))

 

Please help!!!

How do you type  x bar in Maple? I did not find !

after composite

test5 := subs(y=-q/p, subs(x=-q/p, x+y));
test6 := subs(p=x,subs(q=y,test5));

how to recover test6 := -2*y/x back to x+y with y/x or x/y;

hi,

How can i solve Volterra integral equation in maple 13?

please help me.

thanks and nice job.

 

Hi there,

How can I get gridlines in my plots in Maple TA? Se eg. the source of the following question:

Thanks alot in advance!

mode=Multiple Choice@
name=Grafen for den afledede@
comment=@
editing=useHTML@
solution=@
algorithm=$r = rint(3);
$f1 = rint(3);
$f2 = rint(3);
condition: ne($r,$f1);
condition: ne($r,$f2);
condition: ne($f1,$f2);
$rf = switch($r,x^2,cos(x),x);
$ff1 = switch($f1,x^2,cos(x),x);
$ff2 = switch($f2,x^2,cos(x),x);
$fm = mathml("$rf");
$opgaveplot = plotmaple("plot($rf,x=-10..10), plotdevice='gif', plotoptions='height=250,
width=250'");
$rplot=plotmaple("plot(diff($rf,x),x=-10..10), plotdevice='gif', plotoptions='height=250,
width=250'");
$fplot1=plotmaple("plot(diff($ff1,x),x=-10..10), plotdevice='gif', plotoptions='height=250,
width=250'");
$fplot2=plotmaple("plot(diff($ff2,x),x=-10..10), plotdevice='gif', plotoptions='height=250,
width=250'");@
uid=61d45fb9-b1cc-4e0b-a986-9bbb24985734@
privacy=10@
allowRepublish=false@
description=@
difficulty=0.0@
modifiedBy=669aa1fb-4bde-408c-ae4d-6fa47454164c@
school=d1f34b37-d475-429f-b82f-5a0479c33756@
attributeAuthor=true@
numberOfAttempts=1@
numberOfAttemptsLeft=1@
numberOfTryAnother=0@
numberOfTryAnotherLeft=0@
question=<p>
Betragt funktion f(x) = $fm og dens graf herunder.&nbsp;</p>
<p style="text-align: center; ">
$opgaveplot</p>
<p style="text-align: center; ">
&nbsp;</p>
<p>
Angiv hvilken af følgende figurer repræsenterer grafen for funktionen?</p>
@
answer=1@
choice.1=$rplot@
choice.2=$fplot1@
choice.3=$fplot2@
choice.4=Ingen af dem@
choice.5=Der er flere rigtige@
fixed=@

Hello,

       I have a huge sparse matrix (1.5e6 x 1.5e6) of both symbolic or non-symbolic form. When I export matrix using ExportMatrix command, it is not writing the matrix in order of rows and columns. To further explain the problem,

          Let A be that huge sparse matrix. I am using

                    ExportMatrix("matrix.mtx",A,format=MatrixMarket)

We expect the output to be,

 1 1 0.1

 1 10 0.65

.

.

.

But it is writing the output as

 

100 1 0.25

100 25 0.65

Hence it is not writing in order. What is the way we can force it to write in order? I do understand using for loop will consume more time.

While I was solving a set of equation using solve function in maple 17, I got a long list of solution set. I want that solution whose components sum to 1. How to extract that solution.

e.g. solve({b[1] = 0, b[2] = 0, b[3] = 0, b[4] = 0, b[5] = 0, b[6] = 0}, {gamma[1], gamma[2], gamma[3], gamma[4], gamma[5], gamma[6]}); where b[i]=0 is a linear equation interms of gamma[1], gamma[2], gamma[3], gamma[4], gamma[5] and gamma[6].

When I use fsolve in place of solve the program was running endlessly.

I have two equations:

and I need to extract the coefficients of x0 and xp0 (to build a matrix; but that is not the issue). So I use coeffs:

coeffs(op(2,X),x0);

coeffs(op(2,XP),x0);

xp0

While I can live with the first result (for X) (not that I like it), the fact that the 2nd one (for XP) has a completely different structure prevents any kind of algorithmic extraction of the coefficients (and the second one of course is 0) for further use. I tried the form of coeffs with a third argument (a name which gets the result assigned) but the same result. This example is a real case, obviously a trivial one and others will be much more involved so I really would like this to work. And yes, I did "collect" before using coeffs (not that it was needed here).

Any ideas out there?

Mac Dude.

hello all,

how i compare with matrix to another matrix
for example

H:=

C:=

 i want know how each column at matrix c same in each column of H, Like column 1 at matrix c, in column 2 at matrix H, and column 3 at matrix c, in column 4 at matrix H.. how can i do that code??
i don't know..

I am trying to plot a function f(x).  Within the definition of f(x) I have some parameters, e.g., a, b, c tha have been defined.  Then these three parameter define a new parameter R.

The function is f(x)=R x.

 

 

a := 1;              Define a
1

b := 2;              Define b
2


c := 3;               Define c
3

R = a+2*b+3*c; Define R from a, b, c

R = 10 + 2 b~ (it should had given me 14)

F(x):=R*x;  Define the function
x -> R x


plot(R*x, x = -5 .. 5);   RECEIVE ERROR
Warning, expecting only range variable x in expression R*x to be plotted but found name R

 

 

I also tried to define R as R(a,b,c) and then F as F(R,x)...

but still it doesnot work.

Can anyone direct me to the right solution?

 

Thanks in advance.

NM

First 1517 1518 1519 1520 1521 1522 1523 Last Page 1519 of 2429