gkokovidis

2370 Reputation

13 Badges

20 years, 291 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

You can use a for loop to iterate through each of your constants.  I have used the ?seq command to do the same.  The example that I used is originally from the help page for the ?fsolve command, with a slight modification.  You should be able to use this as a basis for your specific problem.

 

restart:

polynomial := K*x^5-11*x^4-7*x^3+12*x^2-4*x = 0;

(1)

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

(2)

seq([fsolve[K](polynomial)],K=1..5);

(3)

 

 



Download fsolve_seq.mws

 

 

Regards,

Georgios Kokovidis

Dräger Medical

This thread here deals wiith a similar topic.  There are more discussions on this topic in Mapleprimes.  You can use the search button at the top of the page with the keyword "writedata".

 

Regards,

Georgios Kokovidis

Dräger Medical

Look at the help page for the ?implicitplot command.  Your right hand side has a capital Y instead of a lower case y.  Rewrite your equation as shown below, and use a range of -2..2 for x and y.

2*(x^2+y^2)^2=25(x^2-y^2)

Regards,

Georgios Kokovidis

Dräger Medical

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

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