MaplePrimes Questions

How to run a command using Maple Command-Line on Ubuntu.

When I run the following command through terminal:

/home/myuser/maple14/bin/maple -c 2+2

Maple runs as expected, but the command (2+2) is not calculated.

How can I solve this?

Hi everyone,

I am trying to use the solve() function to compute the first zero crossing (root) of the BesselJ function. I am aware that BesselJZeros does work, but I am really trying to use solve. Currently if I use the following:

root1:=solve(BesselJ(0,x),x,allsolutions=true);

Now if i use:

evalf(map(allvalues,root1));

I obtain:

-2.30382558

If I try to use solve(BesselJ(0,x),x,allsolutions=true, useassumptions) assuming x>0; 

Fine $a_{n}$ of sequence 5 , 8 , 26 , 48 , 122 ,...

Hi I've been searching for an example of a while loop (no recursion) with 2 parts to it, but I have not been able to find one.  Does anyone know of any or can make one up for me?  Thanks!!!

I am a new user of Maple. Please guide me how to write these two equations in Maple15 to get solution. I have attached a file of these two equations.

Non-linear_coupled_e.docx

Thanks and kind Regards.

Can we plot without values to variables that we know are constant or do we always need to assign some kind of a value?  

As an example lets just go back to a first/second year classical mechanics course.  We'll just use the simple case of a falling projectile.  The object has a velocity of v0, with a gravitational force mg and resistive force kmv.  Using Newtons 2nd law of motion we can set up the equation.

Anyways as always maple easily...

Dear Maple users

I like to use animations in Maple for different educational purposes. The other day I tried making an animation simulating a simplified Epicycle, which is a small circle with its centre running on a larger circle. The smaller one has a ball running on it with a constant velocity. I used the following code:

> with(plots);
> with(plottools);
> omega := 1; k := 5; R := 5; r := 2;
>
> plot1 := plot([R*cos(omega*t), R*sin(omega*t), t = 0 .. 2*Pi]);

When presenting  t3 / t2  by programming

   $formula = maple("printf(MathML:-ExportPresentation(t^3/t^2))");

MapleTA will automatically simplify this to the result:  t

How can I force MapleTA to not simplify this expression?

Thanks!

We're are using Maple TA 8 at our university. I'm new to Maple TA and I would like to create an assigment with multiple choice questions about JavaScript and HTML. But I found the following problems when creating these MC questions:

1) Using < and > characters aren't allowed in the "Choices for the answers" fields. So I manually have to XML encode text containing these characters. Is there an easier way to do this? I would expect answers to be stored as plain...

The plot is fine until specifying the upper limit too high at which point the lower limit on the x axis is ignored from view. Works on Maple 12, does not in Maple 16.

 

@Markiyan Hirnyk Thanks for your helpful explanation.

But I have another problem related to PDE.

I used ((`@`(D, D))[1](f))(N,t)=0 for one of the bc but

I got an error.

pde.mw

 

I'm using Linearalgebra where I have a 10x1 matrix. I want to find the closest element of the matrix to origo, and the furthest away from origo. Can anyone help me to a understandable solution? :)

I adopted the approach suggested in an earlier post (http://www.mapleprimes.com

/questions/137320-Plotting-A-System-Of-Ode) for the known results,

but some part of curve is missing.

The output I got is

I need to write a recursive method to reverse a string.

The hint given is to convert the string inputed to a character sequence, then apply recursive method, then reverse character sequence, then convert back to  string and output it.

So "abcd" gives output "dcba"

 

I came up with what is below, but I don't know if that's a recursive method.

 

>with(StringTools):

>Reverse("abcd")

        "dcba"

Hello All ,

I would liek to know if ther is a way to tabulate the results in a matrix form , like matlab does .Each time i copy paste it in excel and do the text to colum to sort out the results.It would save me a lot of time if anyone has an idea about this.

Like in the file i have results of various parameters displayed but how do i tabulate it.

Steam_800_below_crit.mw

First 1674 1675 1676 1677 1678 1679 1680 Last Page 1676 of 2430