Maple 2019 Questions and Posts

These are Posts and Questions associated with the product, Maple 2019

This is my attempt to produce a subplot within a larger plot for magnifying data in a small region, and putting that subplot into the white space of the figure.
Based on the questions: How to insert a plot into another plot? and Inset figure in Maple, I wrote a couple of procedures that create sub-plots and allow the user to place the subplot window as he/she chooses. This avoids the graininess issues mentioned by acer in the second link (and experienced by me).

So far, I only have this completed for point plots, but using acer's method of piecewise functions posted in the plotin2b.mw of the second article, with the subplot function being defined only if it satisfies your conditions, would allow the subplot generating procedure to be generalized easily enough. But the data I'm working with all point plots, so that's the example here.

The basic idea  is to use one procedure to create boxes, make tickmarks on the expanded region, and make tickmark labels, combine all of those into one graph. Then create scaled and shifted versions of the data series, then make graphs of those. Lastly, combine them all into one picture.

Hope this helps someone who has to do the same.

Mapleprimes isn't inserting the contents, but here is the download of the file: SubPlotBoxesandVectorDataSeries.mw

 

I want to plot y=sec(x) and x=-pi/4, x= pi/4. I also want the bounded region shaded. I have been able to graph sec(x) but I can't figure out how to get the two vertical lines and the bounded region shaded.

I'm having problems with Multiplying Complex Numbers in Maple 2019.

Thanks in Advance.

Example 2: Multiplying Complex Numbers

 

(2-i)(4+3*i)

(3+2*i)(3-2*i)

4*i(-1+5*i)

(3+2*i)^2

2-i(4+3*i)

 

3+2*i(3-2*i)

 

4*i(-1+5*i)

 

(3+2*i)^2

(1.1)

``


 

Download Multiplying_Complex_num.mw

How I can plot the answers obtained from solving two differential equations?

Thanks

SAL.mw
 

restart

e := 0.62e-2

0.62e-2

(1)

r := 0.15e-1

0.15e-1

(2)

DDo2 := .17*3600

612.00

(3)

DDco2 := .12*3600

432.00

(4)

NULL

N := 20

20

(5)

P1o2 := 3600*(1000*(27*10^(-13)*24.45)*100)/(10000*0.986923267e-2)

0.2408029155e-3

(6)

P1co2 := 3600*(1000*(99*10^(-13)*24.45)*100)/(10000*0.986923267e-2)

0.8829440235e-3

(7)

P2o2 := Pi*r^2*DDo2*N/(e+r)

408.1106684

(8)

P2co2 := Pi*r^2*DDco2*N/(e+r)

288.0781188

(9)

diff(y[o2](t), t) = ((P1o2+P2o2)*(21-y[o2](t))-100*(167*y[o2](t)/(1.6+y[o2](t))*.25))*(1/1300)

diff(y[o2](t), t) = 6.592560841-.3139314686*y[o2](t)-3.211538462*y[o2](t)/(1.6+y[o2](t))

(10)

diff(y[co2](t), t) = ((P1co2+P2co2)*(0.4e-1-y*y[co2](t))+.25*(.8*(167*y*y[co2](t)/(1.6+y*y[co2](t))))*100)*(1/1300)

diff(y[co2](t), t) = 0.8863969285e-2-.2215992321*y*y[co2](t)+2.569230769*y*y[co2](t)/(1.6+y*y[co2](t))

(11)

                 initial*conditional     @t=0     yO2=21 , yco2=0.04


 

Download SAL.mw

 

Hello, so my maple won't solve any function involving either cos, tan or sin. Has anyone experienced this before or know how to fix it? 

For example i need to find: cos(30), but it comes up as cos(30) after I hit enter. 

 

Many thanks to anyone who tries to help! :)

how I can I get MAPLe to simplify this to Pi/2-beta ,

simplify(arctan(sin(beta)/cos(beta)),arctrig) assuming beta<Pi/2,beta>0;

simplify(arctan(sin(beta)/cos(beta)),symbolic) assuming beta<Pi/2,beta>0;

why i can't get Pi/2-beta

https://www.mapleprimes.com/questions/219048-Help-File-Edit-After-Storing-In-A-Database

I found a previous post which contained a worksheet script for creating help, but this example is likely out-of-date. Can anyone provide a similar example for post-2018 help files to save me considerable trial and error.

Hi, I am a beginner of maple and I met a problem recently.

I extracted some equations from a .txt file like below:

> read “D:/blablabla/filename”

                       EQ_1,EQ_2,...

Then I want to collect all these equations to make a list EQlist=[EQ_1,EQ_2,...] but the following code doesn't work:

> EQlist:=read “D:/blablabla/filename”

Error, invalid assignment

Could anyone tell me how to construct such EQlist?

Thank you in advance.  P.S. I can't just copy and paste because these commands are supposed to be in a loop.

Is this a bug?

eq:=5*x+y-10=0:
eq2:=y=solve(eq,y):

f:=(x,y)->eq2
                              
f(3,1)
                   

I think the way I applied it above is a bit unorthodox to Maple but maybe it is a bug.  Normally I think we use unapply in this situation. 

f:=unapply(eq2,x,y)
                             
f(3,1)
                     

Okay better, but I think that first way should work no?

 

I am trying to isolate theta/V in this equation, but Maple will only allow me to solve for either theta or V. Is there a way to make Maple solve for the expression instead of the variable?

I have attached the Maple document below. It contains some other stuff but it is mostly this equation I am interested in. It can be found near the bottom. I hope someone can help.

Best regards

Opdelt_TF_Maple.mw

 

restart;
with(DEtools);
DEplot(diff(y(t), t$2)-3*(diff(y(t), t))+2*y(t) = exp(t), [[y(0) = 0, (D(y))(0) = 2]], stepsize = .1, linecolor = black, thickness = 2);

 

Hi,

I'm trying to change with a Maple Worksheet the parameters of a MapleSim Model in Real-matrices format.

is there any way to do that?

actually i get the failure note:

<<Error, (in SetParameters) non-vectorized values in vector parameters: [list= ""]>>



 

Thank You

Regards
Johann
 

Hello everyone,

I'm studying an equation with three variables similar to the following:

x*y+z=0

Now, I would like to obtain the numeric values of x associated to (y, z) that are free to assume any integer value within the intervals [-1...5] and [0...5] respectively. Thus, I should get 42 values of x overall. The question is very similar to the one asked here: https://www.mapleprimes.com/questions/146636-How-To-Solve-An-Equation-In-Three-Variables but in my case I would like to obtain all the 42 values of x (included undefined solutions) associated to the sets (y,z), possibly arranged in a 42x3 matrix where the columns are the variables (x,y,z) and the rows the values (x,y,z) that satisfy the equation.

I started to tackle the problem using a for loop:

for y from -1 by 1 to 5 do

    for z from 0 by 1 to 5 do

        eq:= fsolve(x*y + z, x);

    end do;

end do;

eq;

 

But it returns only one value: -1.000. Any help is appreciated.

Thank you for your time.

I'm trying to plot this integral but without success. Could someone help me?  I tried it the following way.

Thanks in advance for any help!

integral_test.mw

 

Why on earth is Maple giving me all these solutions compared to last year??

Last year:

Now:

First 18 19 20 21 22 23 24 Last Page 20 of 47