MaplePrimes Questions

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

Hello All,

I have had a few questions that have come up while working on a Maple Assignment for my Calculus III class. I was wondering if anybody could help me with these questions, as well as show me how to enter them in Maple. Here are the questions I have been struggling with.

 

  1. In the xy-plane, graph the ellipse ((x-4)^2)/(4))+(y-4)^2=1 and two level curves of F(x,y)=x^3+y^3-3xy that just touch the ellipse.

                  a. What do we know about the gradients of F and the ellipse at those points?

                  b. Use your graph to approximate the minimum and maximum values of F subject to the constraint ((x-4)^2)/(4))+  (y-4)^2=1.

 

      2. A company manufactures a product using inputs x,y,z according to the production function Q(x,y,z)=20x^(1/2)y^(1/4)z^(2/5). The prices per unit are $7 for x, $12 for y, and $18 for z.

                 a. Create the cost function

                 b. The company wants to produce 2500 products. Estimate the minimum cost by using the graph of the level surfaces of the cost function (from part a) together with the production constraint.

Any help you could give me would be much appreciated. Thanks!!

 

 

            

In some tutorials for certain "Maple-words" a name "command" is used, while others use "function".

What is the difference between "function" and "command" in Maple?

I have list for a:=[11110, 10101,100,10101], but, this list i want assume that all number is base 2..
so, how i want to convert to base 10?

Hello every one

I want to write a maple program that finds and plots the fourier transform of the function of two variable. Would you please help me?

Thanks.

How do you define funtion y"+2y'=0 y(0)=1.solve this question using in maple command!

First 1515 1516 1517 1518 1519 1520 1521 Last Page 1517 of 2427