Rouben Rostamian

MaplePrimes Activity


These are replies submitted by Rouben Rostamian

@EoM007 In your worksheet you have reversed the left and right hand sides of  the equations that gave.  The order matters.  Keep omega(t) on the right-hand side.

As to differentiating a vector, use the tilde operator, as in:
V := < a(t), b(t) >;
diff~(V,t);

@EoM007 Showing a picture of your worksheet isn't very helpful because I cannot work with it.  See if you can post your actual worksheet.  In the window where you edit your message, click on the big fat green arrow to upload it.

@Christianwm I am unable to read the file that you have uploaded.  It's possilbe that it's due to non-ASCII characters in its name.   See if you can rename it to something with English characters only.

Additionally, have a look at this recent exhange.  It may have some useful informaiton:

https://www.mapleprimes.com/questions/222566-How-To-Make-Danish-Letters-Work-In-MapleCloud

It's hard to tell without further information.  It will help if you upload your worksheet here so that people may have a look.

In the screen where you edit your message, click on the big fat green arrow to upload your worksheet.

 

Linux 64 bit, Maple 2017.3 64 bit — crashes.

 

Mahmood, In the title you refer to "two equations" and later you ask about "these equations" but I can't tell what equations you are talking about.

To receive helpful answers, try to clearly state the problem that you are attempting to solve, and how you intend to solve it.  Then the rest of your calculations may make better sense.

 

@John Fredsted The M that enters the right-hand side of the differential equation is not the mass of Mercury, it is the mass of the sun, and therefore M = 1,99*10^30 is correct.

As to h, it is equal to r^2*diff(phi(t),t) which is a constant during the motion.  But r*diff(phi(t),t)  is the orbital velocity, let's call it v.  Therefore h = r*v.  We know r at perihelion, all we need is v at perihelion. A good approximation to v may be obtained by assuming that the orbit is circular, therefore the orbital velocity is the length of the orbit, that is 2*Pi*r divided by the time it takes to go around which is about 83 days if I remember it correctly.

@Seb1123 Your definition of f says that f(n) is the sum of all previous values of f.  If your suggested answer of 1,2,6,18,54 were correct, then 18=1+2+6, which may be true in some other universe, but not where I live.

If you really want to get the sequence 1,2,6,18,54, then you need to insert a factor of 2 in your formula, as in

f:=n->piecewise(n=0,1,n>=1,2*sum(f(k),k=0..n-1));

and then modify it as Joe Riel has explained.

 

@tomleslie Try a simple plot, such as
plot(x^2, x=-1..1);
and then export it as PDF.  You will see that the picture is placed in the upper left corner of a 11in x 8.5in paper, with a lot of whitespace around it.  I am absolutely at a loss to see the utility of that.  What in the world is the use of an  8.5'' x 11'' export?   Shouldn't exporting to PDF honor the plot's bounding box as exporting to all other image formats do?

I have complained to support@maplesoft about this repeatedly, and each time I have gotten an acknowledgement saying that, yes, that's dumb, and they will look into it, but nothing has happened over the last five or six years.

@tsunamiBTP For the integral of cos(n*t) Maple produces sin(n*t)/n, which is what is expected, as that is what we would normally do when we do the calculation by hand.  To be very pedantic, however, the proper answer should be

                            

That's the way Macsyma did it in the 1980s, but that gets too tiring after a while. Maple only gives the general answer sin(n*t)/n. That works correctly most of the time, including in the case of the series calculation that I showed earlier.

But you are right in being super-careful about seeing that the software is doing what we expect it to do.

 

@Ramakrishnan That error message is due to badly formed expressions in your document. That is a common problem with Maple's Document mode and 2D input because these make such errors difficult to detect.  Many people prefer the Worksheet mode and 1D input for that reason.  You may want to give that a try. See:

Configuring Maple

Please note that this configuration will not convert any previous documents that you may have made under Maple's original settings. Sorry. It applies only to new worksheets that you will make after this configuration.

@Kitonum Parentheses and square brackets have different evaluation rules as you must certainly know; see

?Indexing Arrays, Matrices, and Vectors

That's the source of his problem.  He needs to change the parentheses to square brackets.

@carriewong Have a look at this modified worksheet.

Qmaple-modified.mw

 

@carriewong I think I know where your difficulty lies but it will be easier for me to explain the problem if you show me your equations first.  Then I will explain how to do it the right way.

The expression you have provided evaluates to a simple sum.  I see no brackets in the result.  You must be doing something else.

A note on Maple terminology:

An object of the form [a,b,c,...] (in square brackets) is called a list.
An object of the form {a,b,c,...} (in curly braces) is a set.

They behave quite differently.  Don't get them mixed up.

First 67 68 69 70 71 72 73 Last Page 69 of 99