## TechnicalSupport

Technical Support

16 years, 0 days
Maplesoft

## MaplePrimes Activity

We have just released an update to Maple. Maple 2024.1 includes improvements to the math engine, PDF export, the Physics package, command completion, and more. As always, we recommend that all Maple 2024 users install this update. In particular, please note that this update includes fixes to ODESteps and simplifying integrals, as reported on Maple Primes. Thanks for helping us, and other users, by letting us know!

At the same time, we have also released an update to MapleSim. MapleSim 2024.1.1 includes improvements to FMU import/export, plotting, co-simulation, and more, as well as enhancements to the Web Handling Library.

## Scan Math with Maple Calculator and Show...

Maple 2023 , Maple Calculator

[Right-click on image and open in new tab to see larger]

To Scan Math with the Maple Calculator and show solution steps in Maple:

1. first scan some math with the calculator

2. Maple calculator immediately shows the solution if that is what you are looking for:

3. Calculator gives options to show the solution steps in the calculator itself ( footprint button in top-right)

4. Or to upload the math to the MapleCloud (cloud icon with up arrow)

5. Once the math is uploaded, MapleCloud can be loaded on a desktop computer and the file opened from your account's Maple Calculator group of files:

6. Again, the solution and some more details are visible on Maple Cloud:

7. To open this math in Maple, click the blue button to Download the file.

8. The Maple commands to solve this math are shown, and the result.

To show steps in Maple at this point, convert the math to inert form, then run the Student:-Calculus1:-ShowSolution() command on it:

 (1)

Integrate

The solution to this integral is:

 (1.1)

 (2)

## High-precision, Floating Point Number Ev...

Maple Flow 2023

A Flow and Maple user wonders why Maple Flow may evaluate to high-precision, floating point numbers compared to the same commands used in Maple that evaluate to simple, concise answers.

We suggest the same results can be achieved by toggling the numeric/symbolic evaluation mode toggle in the Flow math container(s)

primes-flow-evaluation-modes.flow

For more information, please see section 3.5 of the Maple Flow User Manual (Numeric and Symbolic Evaluation Modes).

## fsolve vs. solve for floating point numb...

Maple 2023

Maple's fsolve command can quickly solve expressions involving large floating point numbers where the (symbolic) solve command can take much longer attempting to solve the equivalent rational expression. For example, consider the following worksheet:

 > restart;
 > sys := {a + b^0.2784982189 = c+1, b + c^0.9575068354 = a+2, c + a^0.1576130817 = b+3};
 (1)
 > fsolve_start:=time[real]():
 > fsolve(sys);
 (2)
 > fsolve_elapsed_seconds:= time[real]()-fsolve_start;
 (3)
 > solve_start:=time[real]():
 > ###warning, the following command may crash and/or execute indefinitely###
 > solve(sys);
 > solve_elapsed_hours:=(time[real]()-solve_start)/3600;

## Update Progress without printing new lin...

Maple 2023

Ever wonder how to show progress updates from your executing code without printing new lines each time?

One way to do this is to use a TextArea component and the DocumentTools package. The TextArea could be inserted from the Components Palette in Maple, or programmatically like so:

 > restart;
 > with(DocumentTools):
 > with(DocumentTools:-Components):
 > with(DocumentTools:-Layout):
 > s := "0": #initial text value
 > T := TextArea(s, identity = "TextArea0"): xml := Worksheet(Group(Input(Textfield(T)))):
 > insertedname:=InsertContent(xml)[1,1]: #find the inserted component name in case changed
 > for i to 10 do #start the demonstration procedure    Threads:-Sleep(1);    SetProperty(insertedname,value,sprintf("%d",i),refresh=true); end do:
 > Maplets:-Examples:-Message("Done");
 1 2 3 4 5 6 Page 1 of 6
﻿