gkokovidis

2370 Reputation

13 Badges

20 years, 287 days
Draeger Medical Systems, Inc.

 

 

Regards,
Georgios Kokovidis
Dräger Medical

MaplePrimes Activity


These are answers submitted by gkokovidis

Hello.  I didn't try to evaluate what you posted, but at first glance, what is (e)^(...  Are you using the 2D input, or 1D.  If you are using 1D, then you need to use exp() instead of e^ for the exponential function.

If that is not the heart of the problem, then can you upload your worksheet, so we can execute it as is without cutting and pasting the above code?

Regards,

Georgios

Look at the Tools menu, and select Tutors, Calculus-Single Variable, Curve Analysis

You can enter your function there, and click on different options, like Max, Min, Zeros..., by clicking on the buttons.

 

Regards,

Georgios

You can also use Roots from the Student[Calculus1] package. It uses fsolve under the hood.


restart:with(Student[Calculus1]):

Roots(tan(sqrt(lambda)) = sqrt(lambda), 0..1000 , numeric );

          [20.19072856, 59.67951594, 118.8998692, 197.8578112, 296.5544121, 414.9899843,

  553.1646458, 711.0784497, 888.7314225]

Download Roots.mw

 

Regards,

Georgios

Here is another way, similar to the above, without the use of single quotes.  It is a little bit faster for larger ranges of 'x'.

restart:

plot(int(exp(-x^2),x),x=-4..4);

 

 

 

Download int_plot.mw

Look at help page for ?Digits to control how many Digits get used during the computation.  This will also affect the number of digits that get displayed.

for i from 1 to 5 do
    A:= i:
    B:= 2*i:
    C:= A+B;
    print(C);
end do:

                               3
                               6
                               9
                               12
                               15


The code modification above does what you are looking for.


Regards,

Georgios

Look at the help file for the ?coeffs command.

 

restart:

eq:=23*x^4 + (12*h)*x^2;

coeffs(eq,x);

There is another command as well.  See help pages here.

 

Regards,

Georgios

The issue with the Integration Tutor, or any other tutor for that matter, has to do with how you enter your functions.  In your specific case, you have to include the multiplication sign after the 5.  See image below.

Regards,

Georgios

Hello tantan.  This is a place to get help with Maple related questions.  You will have better chances with help to your question here.

Regards,

Georgios

The Maple equivalent of the Matlab .* command is *~.  See here for more details.

Regards,

Georgios

You can combine plots with the ?display function.  See below.  If this is not what you are looking for, let us know.


restart:with(plots):

p1:=dualaxisplot(sin(x), cos(x), x = 0 .. 2*Pi, color = ["Blue", "Green"]):

p2:=dualaxisplot(2*sin(x), 2*cos(x), x = 0 .. 2*Pi, color = ["Orange", "Brown"]):

display(p1,p2);

 

 

Download dualaxisplotcombine.mw

Regards,

Georgios

See link here as a starting point.

 

Regards,

Georgios

 

 

I am not too familiar with the Calculator, but this works;

cos(X)-X

Then click graph, and you will see the plot. In Maple, you can do it as follows.  There are other ways as well.

restart;

plot(cos(x)-x,x);

 

fsolve(cos(x)-x,x);

.7390851332

(1)

 

Download cos(x)-x.mw

 

Regards,

Georgios

Here is one way:

 

restart:printlevel:=0:

for alpha from .4 by .1 to 5 do
S := solve(x^4-alpha, x);
print(S[2]):
end do:

 

Regards,

Georgios

It might have to do with how you entered your data.


restart:with(Statistics):

A :=<21.5, 22, 22, 22, 22, 22.5, 22.5, 23, 23, 23, 23, 23.5, 24, 24, 25>;

A := Vector(15, {(1) = 21.5, (2) = 22, (3) = 22, (4) = 22, (5) = 22, (6) = 22.5, (7) = 22.5, (8) = 23, (9) = 23, (10) = 23, (11) = 23, (12) = 23.5, (13) = 24, (14) = 24, (15) = 25})

(1)

Mode(A);

23.

                                                       (2)

 


Download Mode.mw

Regards,

Georgios

Here is one way to do this, using the Roots function.

restart:with(Student[Calculus1]):

eq:=sin((Pi*x^2)/2);

plot(eq,x=-5..5);

Roots(eq, -5 .. 5);

evalf(%);

 

Regards,

Georgios Kokovidis

Dräger Medical

First 7 8 9 10 11 12 13 Last Page 9 of 75