gkokovidis

2335 Reputation

13 Badges

20 years, 298 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

exp(1.) will also return the default 10 digit floating point apporoximation, without a call to evalf.

 

 

?Statistics[Fit] will bring up the help page for the Fit command, which is part of the Statistics package.  Within this help page, there are hyperlinks to other commands, like NonlinearFit.  There are examples of using the command, along with an explanation.  It is a good starting point.

 

Regards,

Georgios Kokovidis

Dräger Medical

See page 465 of Introduction to Maple By André Heck.

Regards,

Georgios Kokovidis

Dräger Medical

?plots[animate]

will open the help page for the animate command.  The plots package will need to be loaded, unless you use the single line version of the command:

The example below, taken from the help page, is similar to what you want to do:

restart:

with(plots):

animate( implicitplot, [x^2+y^2=r^2, x=-3..3, y=-3..3], r=1..3, scaling=constrained );

Here, "r" is equivalent to your "B" in your first question.  For the second question, you can use implicitplot3d.

Give it a try and see what happens.

 

Regards,

Georgios Kokovidis

Dräger Medical

Cut and paste of your function example above works just fine.  What else do you have in your worksheet besides this?



f:=x->(1/sqrt(1+x^3));

(1)

f(3);

(2)

 



Download func_example.mw

Regards

Georgios Kokovidis

Dräger Medical

Here is one example.  There are other ways as well.  For more details, follow the links in the help page for the plot command.  ?plot


imp_color.mws

Regards,

Georgios Kokovidis

Dräger Medical

Plot both equations and look for an intersection.  You can also plot x^2+x+1=0, as described above.  Once you solve, you will end up with 2 complex solutions.  See help pages for the solve command for more details.  Are you expecting this answer?



 

plot({4+x,3-x^2}, x=-6..6);

 

plot(x^2+x+1,x=-3..3);

 

 

 



Download plot2.mws

 

seq(.4^x, x = 1 .. 5);

         .4, .16, .64e-1, .256e-1, .1024e-1

or

k:=[1,2,3,4,5];

.4^~k;

         .4, .16, .64e-1, .256e-1, .1024e-1

 

Regards,

Georgios Kokovidis

Dräger Medical

Try a floating point approximation:



DA:=Ore_algebra[skew_algebra](euler=[theta,z]):
Ore_algebra[skew_power](sqrt(3.0)*theta,2,DA);

(1)

 



Download ore.mws


Regards,

Georgios Kokovidis

Dräger Medical

Try changing your subscripted variable k[s] to k[ss]  (you have it in two places), and see if your problem goes away.  Maple is interpreting the subscript as a frequency component (seems like a bug).

Regards,

Georgios Kokovidis

Dräger Medical

?plot

will open the help page for the plot command.  You can cut and paste an example and modify it as a starting point.

A hint to make your life easier.  Use an asterisk as a multiplication sign.  So, 3x^2-2x would be written as 3*x^2-2*x.  The range for x, can be written as x=-0.1..0.1.  This should be enough for you to create the following plot.

 

By looking at the help page for ?signum, your answer will depend on the value of your constant _C1.  If the value of _C1 is greater than 8*ln(2), then your solution will be infinity.  If the value of _C1 is less than 8*ln(2), then your answer will be -infinity.  If the constant _C1 is 8*ln(2), the solution will be undefined.

You could post your original problem that generated this answer, preferably as a worksheet or text.

Regards,

Georgios Kokovidis

Dräger Medical

Copy and paste each of these to open the help pages.  The last one shows how to create a functional operator.

?Student[Calculus1][FunctionChart]

and

?Student[Calculus1][Asymptotes]

and

?->

A simple example that shows how to plot with an expression and then plot a function:

plot(3*x^2-15,x=-5..5);

f := x -> 3*x^2-15;

plot(f,-5..5);

Once you define a function, f, as above, you can substitute in numbers like this:

f(2);

Search for the keywords that you are looking for in the help pages for more examples.

Regards,

Georgios Kokovidis

Dräger Medical

Maple does not directly support a 3d equivalent of the 'inequal' command, which is part of the 'plots' package.

The following link will take you to the Application Center.  It introduces the InequalityGraphics package, with examples.  You will have to download and install in order to use it. 

 

Regards,

Georgios Kokovidis


Try this link here and see if it addresses your question.

If not, then you can do it like this:

> restart:
> with(plots):
> p1:=implicitplot(x^2+y^2=1, x=-1..1, y=-1..1):
> fprintf("c:/temp/implotdata.txt","%f",Array([op([1,1..-2],p1)])):
> fclose("c:/temp/implotdata.txt");

On a Win platform, this will create a file called implotdata.txt in the C:\temp directory with two columns of data.

First 21 22 23 24 25 26 27 Last Page 23 of 75