## Cant figure out why my code wont run in Maple?...

Hi so ive been working on a few codes making Eulers method and RungeKutta and Taylor Series (second order) and I cant figure out why my code is giving me a weird output? I will attach my maple files here, I can post more information if you'd like. Also have no idea how to start for taylor series so any help with code on that would be appreciated!

 >
 (1)
 >
 (2)
 >
 >
 >

 >
 (1)
 >
 (2)
 >

## Maple write differential equation from Lotka-Volte...

How to write down the differential equation for this practical question?

I can use dsolve to solve the system equation.

Thank you!

## small issue in Latex. Use of mathrm for ln...

I am still checking output using latest Latex and Maple 2020.2. I noticed a small problem.

Current Latex uses \mathrm{ln} instead of as before, which is just \ln this casues the space before the operator now to be lost, cause hard to read math.

It is better not to use \mathrm on ln

Here is an example

restart;
Latex:-Settings(UseImaginaryUnit=i,
UseColor = false,
powersoftrigonometricfunctions= computernotation,
leavespaceafterfunctionname = true
):
expr:= 4*exp(3*x)+3*ln(x);
Latex(expr)

4 {\mathrm e}^{3 x}+3 \mathrm{ln}\left(x \right)



It should be

4 {\mathrm e}^{3 x}+3 \ln\left(x \right)

Without even \, between the letter before \ln as old latex() did:

latex(expr)

4\,{{\rm e}^{3\,x}}+3\,\ln  \left( x \right)


As the Latex engine itself takes care of the spacing around math operators best.

Here is the difference when the Latex is compiled. The use of mathrm with exponential is not an issue, since it is one letter operator, but not with ln.

\documentclass[12pt]{book}
\usepackage{amsmath}
\usepackage{mleftright}
\mleftright

\begin{document}
This is how it is now
$4 {\mathrm e}^{3 x}+3 \mathrm{ln}\left(x \right)$

This is what it is better to be
$4 {\mathrm e}^{3 x}+3 \ln\left(x \right)$
\end{document}

Compiled with lualatex compiler gives

The above shows the space problem.

Using Maple 2020.2 and Physics   879

## How to use Typesetting:-Settings(prime=x,typesetpr...

There might be a setting for this. I do not know.

I  noticed, once I call Latex() first time, if I then later issue Typesetting:-Settings(prime=x,typesetprime=true); and after that, call Latex() again, it has no effect.  The derivative does not change.

But calling Typesetting:-Settings(prime=x,typesetprime=true); before calling Latex() the first time, works.

Since I do not want to do restart() in a running program, and I would like to call Typesetting:-Settings(prime=x,typesetprime=true); may be different times to change the letter and after having called Latex earlier, is there a way to make this work without having to do restart? I do not rememebr now if this was the case in earlier version or not. I looked at Latex:-Settings() and see no setting for this inside Latex itself to use in place of the above global Settings.

 > interface(version);

 > Physics:-Version();

 > restart; Latex:-Settings(UseImaginaryUnit=i,       UseColor = false,       powersoftrigonometricfunctions= computernotation,       leavespaceafterfunctionname = true ): ode:=2*diff(y(x),x)*x=(1+x-6*y(x)^2)*y(x): #This works, since setting is called BEFORE calling Latex first time Typesetting:-Settings(prime=x,typesetprime=true): ode; Latex(ode)

2 y^{\prime}\left(x \right) x =
\left(1+x -6 y \left(x \right)^{2}\right) y \left(x \right)

 > restart; Latex:-Settings(UseImaginaryUnit=i,       UseColor = false,       powersoftrigonometricfunctions= computernotation,       leavespaceafterfunctionname = true ): ode:=2*diff(y(x),x)*x=(1+x-6*y(x)^2)*y(x); Latex(ode); #This does not work, since setting is called AFTER calling Latex. #The latex generated remains the same.   Typesetting:-Settings(prime=x,typesetprime=true); ode; Latex(ode)

2 \left(\frac{d}{d x}y \left(x \right)\right) x =
\left(1+x -6 y \left(x \right)^{2}\right) y \left(x \right)

2 \left(\frac{d}{d x}y \left(x \right)\right) x =
\left(1+x -6 y \left(x \right)^{2}\right) y \left(x \right)

 >

## what is the opposite of expand for trig function?...

After doing

A:=tan(3*x);
B:=expand(A)

How to get A back from B? I tried

combine(B);
simplify(B,size);
simplify(B,trig);
simplify(B);


They do not give A back. tried few conversions to exp() and back and forth. Can't get original expression back.  trigsubs() does not help here.

This is all need to be done in code, assuming one can not look at the expression and decide what to do on any A/B pair. But I am mainly now looking at trig expressions.

Any suggestions?

Maple 2020.2

## Boolean algebra in combination with "for i from 1 ...

Hi there!

I am trying to tell Maple to print something one time once a condition has been met for a variable that ranges from a to b, let's say from 1 to 9 in this case. Testbestanden is to be printed, if (F[i]+F[i+1]<20) is true for every i, and Durchgefallen is to be printed as soon as one counterexample is found. The following code illustrates what I need, it doesn't work, however. What is the correct syntax? Switching the lines "if (F[i]+F[i+1]<20)" and "for i from 1 to 9" leads to Maple printing "Testbestanden" for every i that fulfils the statement which is not what I need either.

for i from 1 to 10 do
F[i]:=i
end do;

if (F[i]+F[i+1]<20)
for i from 1 to 9
then print(Testbestanden)

else print(Durchgefallen)
end if
end do

## ExcelTools / text dropped when referenced...

Here's a possible bug in ExcelTools.

When importing from an Excel file, Maple drops text which is referenced from a different sheet. That does not apply to numbers.

Workbook_Excel_indirect.zip

## How to plot a table ...

I have a table T with 10 numbers .How can I plot this table ?

Thanks for any explanation !

## solving first order differential equation...

I am trying  to solve a first order differential equation.  But the maple is not able to solve. Please help me in finding the solutions...

Exact solution is not necessary. Solution in the series expansion is also be very helpful.

 >
 >
 >
 >
 >
 (1)

 >

 >

 >

 >

 >

 >

 >

 >

 >

 >

 >

 >

 >

[moderator edited to remove pages of output]

## Is it possible to create a custom discrete sampled...

I would like to use a template in Maple to create a sampled data custom component to mimic a digital controller in order to study the effects of the non-linear features of the controller.  Is it possible to do this in Maple using a template?

## Will Apply silicone Macs be natively supported...

Hi!

Are there any plans to release a native Maple version for the Apple silicone (ARM architecture) Macs? I suppose that the current versions will work fine through Rosetta 2 emulation layer, but the Rosetta 2 will be removed from Mac OS in 2-3 years. Moreover, the native app would be much faster.

Thank you

## Beginner question - exploring or building a table ...

Good morning,

I'm new to Maple and have an informal learning relationship with calculus.

I'm exploring an expression but want the max value of a variable to be based on another equation.

I'd be curious how to do this and then how to also graph and table the exploration.

I'd like to evaluate, graph, and table this:

s = u*t + 1/2*a*t^2

Where the maximum value of t = (v - u)/a

s = distace

u = starting velocity

v = final velocity

a = acceleration

t = time for acceleration to reach final velocity

Thank you.

## Maple write system differential equation from a gr...

How to write the differential equation only according to the graph? Is the temperature related to newton's cooling law?

Anyone can help me? Thank you so much!

## Cannot Install Physics Update 877...

I cannot install the latest physics update 877 even after installing 2020.2 update. Geting an error message will try to attach screen shot. Update worked fine on physics update yesterday. Maple 2020.2 on MacBookPro OS 10.15.7

Don't know how to attach screen shot so here is text from install window;

Fetching package "Physics Updates" from MapleCloud...
ID: 5137472255164416
Version: 877
URL: https://maple.cloud

An error occurred, the package was not installed: