Scott03

774 Reputation

10 Badges

19 years, 326 days

MaplePrimes Activity


These are answers submitted by Scott03

Here is the full links that will link both the .mw file and the MapleNet version

  

View 8107_fsolve.mw on MapleNet or Download 8107_fsolve.mw
View file details

I copied what you had put in your last post in both Maple 11.02 and Maple 10.06 and didn't get the error that you reported.  Could you seperate each command and indicate on which line you got this error?  Also, what version of Maple are you using?

 

Scott

I think the problem here your input is being interpreted in a way that is not what you are expecting.  First when you entered

a[1]:=1;

on the first line, you created a table which has at index 1 the value 1.  Then you proceded to overwrite the table.  The rest of the tries were getting closer to a solotion.

The following is what I found to work

a[1]:=1;

seq(assign(a[n], a[n-1]+1/2^(n-1)), n = 2 .. 10);

 

Scott

From the plot options help page it says the following concerning the adaptive option:

"When plotting a function over an interval, the interval is sampled at a number of points, controlled by sample and numpoints. Adaptive plotting, where necessary, subdivides these intervals to attempt to get a better representation of the function. This subsampling can be turned off by setting the adaptive option to false."

It appears that the numpoints option just gives the plot routine a minimum for the number of points, but if the adaptive option is left to the default true, it may choose more points to give the plot a better representation (which is not what you want in this case since you want to control the number of side of the polygon).

 

Scott

 

Maple 11 will be able to be installed and run on the Mac OS 10.5 to my knowledge.  The only thing that will come up is that there is a printing problem when using the default Java provided with Leopard.  This link provides some information on how to change the Java that Maple will use on your system to fix this issue.

 

Scott

To start off with, start with what qiaoyech suggested

> with(Student[Calculus1]);

> Hint(Int(x^2+2*x+1/x, x));

> Rule[%](Int(x^2+2*x+1/x, x));

 

Then you can continue on by using the following combinations till you get to the end:

>Hint(%);
Rule[%](%%);

 

Scott

While this doesn't answer the question about exporting from Maple 11,  but in MapleTA there is a command called rint() that may generate the random integer that you are looking for.  One advantage that this will have over the Maple call is that it will reduce the overhead for that statement.

 

Scott

Since I don't have an exact example of this happening I am guessing at this point but I believe that the source of the problem may be the brackets you are using.  The following are the main uses for the different brackets:

( )  - these brackets are used when calling a function.  For example calling the plot function

> plot(sin(x),x = -10..10);

{  } - these brackets are used when forming a set.  From the help page it states that:

    "A set is an unordered sequence of distinct expressions enclosed in braces, representing a set in the mathematical sense. You    should not assume that the expressions will be maintained in any particular order because Maple uses an ordering convenient for its implementation."

[ ] - these brackets are used when forming a list.  From the help page it states that:

"A list is an ordered sequence of expressions enclosed in square brackets."

    - these brackets are also used when using the long form of refering to a function within a package which hasn't been imported (see the "Using Packages" help page for this

 

I hope this helps clear some of the problems.

 

Scott

You can do the formula that you were trying to do, but you could use the function VectorAngle from the Linear Algebra package in something like the following:

 

V1 := <1, -1, -1>:

V2 := <3, 1, 0>:

LinearAlgebra:-VectorAngle(V1, V2);

                             arccos((1/15)*sqrt(3)*sqrt(10))

evalf(%);

                           1.1970

 Edit:  To do what you were looking for in your post (and not using the VectorAngle function) would be the following:

arccos(LinearAlgebra:-DotProduct(V1, V2)/(LinearAlgebra:-VectorNorm(V1, 2)*LinearAlgebra:-VectorNorm(V2, 2)));

Scott

Could you indicate the code that you are trying to add an in what mode are you using in which Maple version?

The error message indicates that the brackets aren't matching up (either due to the brackets not entered correctly or one of the brackets is being commented out).  Looking at what you are typing would help us suggest a solution.

 

Scott

I have come across this about a month ago and the developers have been notified.  The only way around it that I found was editing the html to get rid of the extra code.

 

Scott

I believe that you have fallen into the trap that you entered just the letter e that has no value and is treated as a variable.  If you want the exponential function, try exp(x) instead of e^x.  Therefore your dsolve command should look like this

dsolve({diff(y(x), x, x)+exp(x)*(diff(y(x), x))+(1+x^2)*y(x) = 0, y(0) = 1, (D(y))(0) = 0}, y(x), series);

 

Scott

I am not 100% sure, but I believe that Robert was referring to this post http://www.mapleprimes.com/forum/howdoyousolvelargesystemequationsapplyingrules

 

Scott

Hi casperyc, Could you let me know what version of Maple you are using? I just tried the code that you gave on Maple 11.02 on WinXP and it worked fine with 60 and 100. As for the post question, Will has put out an announcement stating that he is fixing an issue that has come up. Scott

If you have TA 3.00, I would suggest updating to 3.01.

You can find the updates here.

 

Scott

First 12 13 14 15 16 17 18 Last Page 14 of 30