MaplePrimes Questions

I'm trying to write a program (see code below) that produces a circle with a sector identified by two radii and a small arc connecting the radii (to emphasize the angle, which I will later add a "theta" label to). The sector needs to be shaded, and I prefer not to have any axes showing; I think I can do some of this by right-clicking on the figure after it is rendered by Maple, but it seems to me that the code should be able to handle all of this as well. I will be using the resulting figure in a homework set that I am producing for a trigonometry class.

This should be a very basic question. Is there any explicit function or syntax of the commands that we can add a number to all elements of a vector or a matrix? I know with map we can do that but I doubt it is the proper one.

hi.

i have this function f(r,theta) which i want to graph in polar/cylindrical coordinates. but when i try to plot it, the coordinate system seems to be in cartesian because my horizontal axis becomes my values for r and vertical axis becomes my values for theta.

How can i plot my function f(r,theta) in polar/cylindrical coordinate such that r=0..1, and theta=0..2*Pi?

Hi, it seems I have an unusual situation and I have been unable to find a way to solve it. Hopefully someone can help. I have an overdetermined system; 14 equations, 4 unknowns. The unknowns are restricted to particular ranges (roughly 0 to 500).

Hi there,

ich want to create a Maple-package -- say Foo -- using Maple12 by using 'module()'.

This works OK for me and I can load it with

"with(Foo);"

Then a list of the (exportet) functions appears.

 

What code do I have to enter in order to display also a predefined message, ie. via printf? For example

"with(Foo)" ---> "You are proud user of the Foo-package!"

?

Hi, I have a set of plots which is determined at each step of a for loop of my subroutine. But display function does not work when I put it inside the loop. Please tell me what I need to do to make it work. Thank you,

Can you help me please ?

I'm having a lot of problems figuring out how to use Maple. I've watched all of the tutorial videos but they arent much help and there are no step by step directions, or templates, that show you how to solve the problems for my Linear algebra class. Here is the problem:

2x-3y+4z =-12

x-2y+z=-5

3x+y+2z=1

Could someone please quicky walk me through the steps needed to solve this problem? Thanks a lot.

Hi there, I got a set of discrete Data as functions of 4 variables (x1,x2,x3,x4) . I would like to interpolate the data and then get a continuous function f in terms of (x1,x2,x3,x4). Finally I would like to get the partial derivative of f wrt x2. How can I sort out this? x0:= 1/2: s:=x->x^2: sol:=(x2,x3,x4)->dsolve({y''(x1)-(x3^2+s(x1)*x4^2)*y(x1)=0,y(x2)=exp(-x2),y'(x2)=1/2},numeric,output=operator,range=0..x0): g:=(x1,x2,x3,x4)->eval(y(x1),sol(x2,x3,x4)): g(x0/3,x0/3,10,1); dx2:=1/1000: Data:=(x1,x2,x3,x4)->[seq([x2+i*dx2,g(x1,x2+i*dx2,x3,x4)],i=-3..3)]: ???

Hello, Can you set Maple to use degrees instead of radians instead of converting all the time? I have tried to search for it, but I did not understand those methods that were written. Greetings, Jonas

Good Morning Everyone,

Would anybody help me in the following if statement. What I would like is to compare the value of Az with the allowable, if it is less than allowable, I would like to print "O.K" , if not I would like toprint "N.G". In Maple I'm getting an error message, invalid terms in product. Please Help.

if (Az < 0.25*mm) then print "O.K" else print "N.G" end if;

 

Hello there, I can plot a set of data into a boxplot, but I am unable to plot a boxplot directly from a set of descriptors including quartiles, minimum and maximum. Say I have these data: 3, 12, 13, 16, 20 - 3 being the minimum, 20 the max, and 12,13,16 are my quartiles (lower, median, and upper). Is there a way to plot these into a boxplot? a) Make a box plot of the results for each of the two classes and describe the difference between the two classes of performance test. Loading Statistics with(stats);

I would like to declare spin states; spin up (alpha) and spin down (beta)

such that they form an orthogonal basis not necessarily using Dirac Ket notaion.  I am using the Physics package and Linear Algebra


When I try to use the Dirac Ket notation, I have noncommuting issues with the Cartesian basis

Cart := Vector[column](3, [Ket(X), Ket(Y), Ket(Z)]);

Spin := Vector[column](2, [Ket(alpha), Ket(beta)]);

Hi pro, I have some problem with Maple.

Now I use Maple 12.

First

I want transfer this mathematical formula

> sin(q[1])*(sin(q[2])*cos(q[3])+cos(q[2])*sin(q[3]))

to

> sin(q[1])*sin(q[2]+q[3]);

how to do that. Can i use any command ?

Second

When I type this command

> A:=diff(sin(q[1](t)+q[2](t)),t);

and now I want derive with variable dq[1](t)/dt then how do i ?

First 2092 2093 2094 2095 2096 2097 2098 Last Page 2094 of 2434