MaplePrimes Questions

I made a customised procedure of Elzaki transform which  is working for functions but  it is not for derivatives.Elziki_costume.mw

I remember seeing sometime ago an option called something like "fraction free" in LinearAlgebra. But may be I was looking at something else or different package. I can't remember now. I searched the help pages now and googled and can't find it.

In Maple, when asking for eigenvectors of matrix, I'd like the vectors to come out fraction free, like with Mathematica.

It is ofcourse easy to write code to post process this and remove the fractions.

But before I do this, I thought to ask. Here is an example

restart;
A:=Matrix([[48,-30,-14,1],[65,-41,-19,0],[17,-10,-5,3],[-35,22,10,0]]);
(e,v):=LinearAlgebra:-Eigenvectors(A);

In Mathematica:

Anyone knows if such option exists somewhere?

Maple 2020.1

Heck Example 15.5 must have worked for an old version of maple.

restart;
## plot two functions and color the region between
sine :=   plot(sin(x), x=0..4*Pi, color=black,thickness=3):
s    :=   plot(sin(x), x=0..4*Pi, color=red, filled=true):
cosine := plot(cos(x), x=0..4*Pi, color=black,thickness=3):
c      := plot(cos(x), x=0..4*Pi, color=red, filled=true):
f := x -> if cos(x)>0 and sin(x)>0 then
              min(cos(x),sin(x))
          elif cos(x)<0 and sin(x)<0 then
              max(cos(x),sin(x))
          else 0
          end if;
b := plot(f(x), x=0..4*Pi, filled=true, color=green):

display([sine, cosine, b, s, c]):

Gives the error.

Error, (in f) cannot determine if this expression is true or false: 0 < cos(x)
and 0 < sin(x)

I tried verify(cos(x),0,less_than) and verify(sin(x),0,less_than), etc., but that makes f(x) always return 0.

f := sin(x);
g := cos(x);
plottools:-transform(unapply([x,y+g],x,y))(plot(f-g,x=0 .. 4*Pi,filled=true));
Works, but, I can not remember how that works.

Is it possible to use if in maple 2020.

In this example, PDEtools:-Solve throws an error, while solve returns empty solution.

Why the different behavior? Should PDEtools:-Solve also return empty solution like solve?

I noticed this, when I changed my code from using solve to using PDEtools:-Solve

restart;
eq:=[ eta1+2*eta2 = 0, eta1+2*eta2 = a1+a3, eta2 = a2+2*a3];
PDEtools:-Solve(eq,[a1, a2, a3]);


solve(eq,[a1, a2, a3])

interface(version)
Standard Worksheet Interface, Maple 2020.1, Windows 10, July 30 

   2020 Build ID 1482634


Physics:-Version()

The "Physics Updates" version in the MapleCloud is 832 and is 

   the same as the version installed in this computer, created 

   2020, October 3, 5:34 hours Pacific Time.


Maple 2020.1 

How do I use to compute d(logS(t)) and use this to find the closed form solution of S(t)

Hello

Just started out with maple. 

I entered a function that looks like this, to find the volume of a sphere: V := (4*Pi(d/2)^3)/3

then I use the eval command like this: eval(V, d = 6.35*mm)

and I get this:(4*Pi(3.175000000*mm)^3)/3

Anything I tried, maple doesn't want to spit out one number! I just need what that is equal to, I don't need an expression with Pi. Spent over two hours trying to figure it out, watching videos etc but no luck! hoping that someone can help me with this!

Is there any way to get maple to use zero index offseting?

n[0] actually represents the first element?

 

Syrup has awsome functionality but it only installs halfway.  I have tried to run Maple as administrator and install from File - Open From Cloud. Is there a better way ?

 

Hello there, 

Would you please have a look at this question?

I got the answer in the 'eq_4_35', but what I wanted to see is the 'desired' expression. 

Somehow, the term '3*C' doesn't want to go away from the 'x__0' term, thus I wonder there is a way to cancel the term in the expression. 


 

restart;

eq_4_34 := x__alpha = C*x__a - C/2 * (x__b + x__c);

x__alpha = C*x__a-(1/2)*C*(x__b+x__c)

(1)

eq_4_33 := x__0 = 1/3*(x__a + x__b + x__c);

x__0 = (1/3)*x__a+(1/3)*x__b+(1/3)*x__c

(2)

eq_4_33aux := X__sub = (x__b + x__c);

X__sub = x__b+x__c

(3)

attempt2 := algsubs((x__b + x__c) = X__sub, eq_4_33);

x__0 = (1/3)*x__a+(1/3)*X__sub

(4)

attempt3 := X__sub = solve(attempt2, X__sub);

X__sub = -x__a+3*x__0

(5)

eq_4_34x := x__alpha = algsubs((x__b + x__c) = 3*x__0 - x__a, rhs(eq_4_34));

x__alpha = -(1/2)*C*(-x__a+3*x__0)+C*x__a

(6)

eq_4_35 := x__a = simplify(solve(eq_4_34x, x__a));

x__a = (1/3)*(3*C*x__0+2*x__alpha)/C

(7)

desired:= x__a = x__0 + (2*x__alpha)/(3*C);

x__a = x__0+(2/3)*x__alpha/C

(8)

 


 

Download Q20201005_2.mw

Hi

I have the following of fractional of ode system.

.How to solve it by maple.

Just curious about an output in an if statement.

Why do I need to use Print() in an if statement, when I don't need it otherwise? Why doesn't "hei" show in the output of the attached example?

Printinloop.mw

Charging a capacitor with a DC is well known and interaction with a sinusoidal signal is known to perfection.

The mathematical solutions behind an arbitrary waveform V1(t) is hard or impossible? to find .

To simplify, the arbitrary wave can be expressed with a 2-d degree polynom. This gives a fairly simple

expression with an integral. The problem however is that V2(t) - the capacitor voltage - appears on both sides and maple seems unable to resolv this into a symbolic expression.

If this can be solved it would be great ! The solution should be of the symbolic form V2(a,b,c,V2start,t1,t2,RC) and give the answer what voltage the capacitor V2 would reach arter charging between t1 and t2  with a V1(t) that is changing during charge.

Professor Robert J. Lopez is a Maple Fellow and the author of many Maple webinars and applications. He is also co-author of a book entitled Discovering Calculus With Maple, which I have recently acquired, and which turns out to be keyed to Maple V Release 3 on a Mac. Well, I have Maple 2020 on a Mac. What is the best way to get this book to work for me?  Thanks very much.

How do I plot the complex function |z+1||z-1|=1 in Maple? I know there is complexplot but don't quite understand how to use it.

I'm trying to readin a XML file, where some figures are attached a unit.

Here's part of the XML file.

When doing the readin and assigning the values to  a variable with AttributeValue, the type of the variable is a string.

How can I convert this string value ("10.*Units:-Unit(m)") to a number attached the defined units?

First 493 494 495 496 497 498 499 Last Page 495 of 2428