Maple Questions and Posts

These are Posts and Questions associated with the product, Maple

Hello. I want to organize some parameter
F=fsolve(1+x^2=j).

If j=-5, for example, an empty value 'F=' will be returned. How can I write the expression

If F=(void), then action 1, else action 2 end if

The fact is that I just don't know how to write the result (void), that is, the result of 'F ='

Thanks

Hi

I was wondering how one uses maple to solve for variables that comprise the limits of an integral?

X and R are between 0 and 1.

Any thoughts would be greatly appreciated, thanks in advance...!

Download Solvingforlimitsofintegrals.mw

When should i use ->  for a procedure definition and when not ?
In my post i do see examples of  procedures which are made on two different ways.
proc  ..end proc;

Still difficult to get a procedure on two ways 

test:=x->x^2;
Typesetting:-mprintslash([(test := x -> x^2)],[x -> x^2])

test(2);
4

restart;
test:= proc()
local x,a;
a:= x^2;
end ;
Typesetting:-mprintslash([(test := proc () local x, a; a := x^2; end proc)],[
proc () local x, a; a := x^2; end proc])

test(2);
x^2

test(3);
x^2

As you can see with the standard proc definition i getlost with  calculating x^2 

In the past I worked with mathcad where it was very easy to work with units. Now I try to switch to Maple but I am still struggling when I want to implement units. In the simple attached worksheet I try to multiply vector a in [m] with vector b in [cm]. I get an answer in [m] but I cannot convert the answer to another unit. Right clicking allows me to change the unit e.g. to mm but nothing happens in the worksheet. When I use convert, the units are expressed numerical in cm but the vector still shows m. My apologies in advance for this simple questions but I find no way to solve my issue.

CollabExample.mw

Anyone can help me to convert matlab codes to maple, pls, this is my code p

Can i make a natural numberline what shows the enumber of primes at each of 1000 numbers  
I have her

0-1000 : 168
1000 -2000: 135

2000-3000 : 127

3000- 4000: 120

4000 -5000 : 119 

then a gap (jump) 

10^7- 1000- 10^7  : 53 

You can see that the "number of primes"  is fluctuating
Can i make a procedure what calculates the latest mersenne prime number ?
Problem is only that there is a theorem: there are arbitrary long series of divisible numbers on the numberline 
There are gaps of length n - 1, where are no primenumbers  in positioned.

The idea is to get a idea of the distribution of primes to make a guess from where to start to find another one? 

Hello, I found this code from Acer works great:

p=floating point number such as 0.003483 

nprintf(`#mn(\"%1.3e\");` , p)

prints a number in Scientific format,    3.483e-03

Perfect.

HOWEVER, What is the #mn please?   Is it a comment, or a MathML function?

Regards, Bill

Dear all, do you know if there is a way to ask Maple and the Physics package to use the bold notation of vectors instead of using arrows? 

Thanks, Kevin

Hi,

I want to solve system of  PDE equations by maple and i dont know how can i write it codes that can solve them for me. Can anyone help me please??!!

 

Good day.

When I export an animated 3D (surface contour) plot to a gif format, the image is incomplete (please see attached file).

Can anyone suggest a way to reformulate the expressions so the animated plot can be exported to Powerpoint intact?

Thanks for reading!

MaplePrimes_Dec_5.mw 

Hi all !

I have a list of coupled ordinary differential equations 

L := [e1,e2,e3] = [diff(z(t), t, t)*m = 0, diff(x(t), t, t)*m - B*diff(y(t), t)*q = 0, diff(y(t), t, t)*m + B*diff(x(t), t)*q = 0] with unknown functions x(t),y(t),z(t).

I want to obtain the list of "normal forms" of the ode using the DEnormal function. The help page says that it is possible to use it with an operator list but none example is given. 

Thanks!

Kevin

December and Maple 2021.2 have both arrived, which means that we can look forward to year 2022 and Maple 2022.

        What should we like to find new in Maple 2022?  Here follow a few suggestions, to which readers of Maple Primes can add.

        In my opinion the weakest feature of Maple 2021 is the solution of integral equations.  Even when this package was first introduced into Maple, a couple of decades ago, it was weak, applicable to only linear such equations.  A quarter century earlier, David Stoutemyer (a true genius and entrepreneur, originator of Mu-Math, Mu-Lisp, Derive and computer-algebra capabilities incorporated in calculators of Texas Instruments) had published code for non-linear integral equations, based on Reduce.  There is a Handbook of Integral Equations by Polyanin and Manzhirov that lists about 2000 solutions of integral equations.  Let Maple 2022 be the basis of a boast by Maplesoft for Maple to be able to solve 96 per cent of those equations, in the same way that Edgardo Cheb-Terrab can (rightfully) boast that Maple can solve 96 per cent of differential equations in a standard compilation.  Any differential equation can, apparently, be converted to an integral equation, whereas the converse is not true.  For this reason alone, the development of solution of integral equations should become a priority to assist users of Maple.

        Another area worthy of expansion and enhancement is the solution of differential equations in terms of Heun functions; that capability is already present, but working with those functions in their present form is difficult and slow.  The inclusion of related functions, such as Lame functions, into Maple is long overdue.  Although efforts have been devoted to the development of the physics package in recent years, culminating in a tremendous achievement of capability, only a few physicists in the world can appreciate that luxury, whereas the solution of differential, and integral, equations permeates all science and engineering. 

          What items are on your list of wishes for Maple 2022?

Dear all, 

I am trying to use the Physics package to perform a simple computation about the expression of speed and acceleration in the local polar basis (Frenet). I am trying to get something like :

Define the position vector :

differentiate wrt t to get the velocity vector 

simplifying 

 

Similarly :

 

simplifying

Can anyone please help me ? Many thanks!

First 367 368 369 370 371 372 373 Last Page 369 of 2229