Solve an equation

Solve an equation - How to numerical solve an equation - Messages

#1 Posted: 4/29/2022 5:46:12 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

Hallo guys,

i have an simple qeustion:

How can i numerical solve an equation with a solver block like in mathcad.

An equation which is transzentent for example

for example:

sin(x) + x = Y --> solve for x


and how can i solve an equation when equation is not transzentent?

like in mathcad with a solver block area....?

thank you br Stefan
#2 Posted: 4/29/2022 6:19:37 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

Various examples are possible.

Mathcad Block. FindRoot example.jpg

Mathcad Block. FindRoot example.sm (4 KiB) downloaded 55 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Stefan Müller 5/4/2022 7:30:00 AM
#3 Posted: 4/29/2022 6:39:29 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

ok seems to be that i need some plugins,

where can i find those plugins? I cannot install them directly in the software due to firewall problems thank you!
#4 Posted: 4/29/2022 7:22:17 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

equation.sm (8 KiB) downloaded 54 time(s).

2022-04-29_13-20.png
1 users liked this post
Stefan Müller 5/4/2022 7:30:00 AM
#5 Posted: 4/29/2022 9:30:23 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

how can i solve an equation when equation is not transzentent?


The attached document is minimalist, but most precious for advanced demand.
root is not documented neither available from f(x) menu
but active from Smath/maple companionship.
Observe how powerful for applied maths.
Cheers ... Jean.

Solve Maple Companion READ FIRST.sm (58 KiB) downloaded 53 time(s).

#6 Posted: 4/29/2022 9:42:31 AM
Arie

Arie

93 likes in 285 posts.

Group: User

Wrote

ok seems to be that i need some plugins,

where can i find those plugins? I cannot install them directly in the software due to firewall problems thank you!




https://smath.info/svn/public/

contains the source. Although if you're behind a firewall you might not be able to access this either.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 Posted: 4/29/2022 3:20:31 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

here you have all the gallery plugins, you can download the ones you need and drag&drop those zip archives on your program canvas.

Also, you can create a portable distribution and download/update once you are on another system.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
2 users liked this post
Arie 4/29/2022 3:27:00 PM, Stefan Müller 5/4/2022 7:30:00 AM
#8 Posted: 5/3/2022 7:25:24 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

ok thank you,

@alyles:

some of the plugins i downloaded but the zip file is empty:

for example: Excel Files Plugin --> downloaded but contains no files (maybe firewall delets the content from it...)

Ill use the solve function


another question:

for example if i have a simple equation:

a+b=c

how can i symbolic solve the equation

so that a=c-b is the result.

If i use solve function all variables need to have a number

I simply want to symbolic solve the equation to a variable without using any numbers asigned to a variable

thank you,
br Stefan
#9 Posted: 5/3/2022 11:04:08 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Another question:



SolveSimple.PNG
1 users liked this post
Stefan Müller 5/4/2022 7:30:00 AM
#10 Posted: 5/3/2022 11:45:50 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

There is maple and maxima plugins for symbolic calculations you asked for.
SMath's own symbolic engine is not capable as those two.

Regards

screenshot.png
#11 Posted: 5/3/2022 3:35:45 PM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

thank you,

can you provide me with the smath file so that i can look into? Thank you br Stefan
#12 Posted: 5/3/2022 3:53:56 PM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

thank you,

can you provide me with the smath file so that i can look into? Thank you br Stefan


Notice the optimizations are set to symbolic to view results.
You can check and set optimization of individual regions by right click.

Regards

symbolic.sm (4 KiB) downloaded 66 time(s).
#13 Posted: 5/4/2022 6:14:37 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

Thank you but i have a problem i downloaded the latest version

i downloaded maxima plugin and others but i do get a failure when opening your file see attached picture

Failure.JPG


There is a file missing:

cmaple.exe / maxima.bat missing

What can i do ?

however smath says maxima plugin is installed:

Failure2.JPG

Thank you br Stefan
#14 Posted: 5/4/2022 6:42:10 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

Thank you but i have a problem i downloaded the latest version

i downloaded maxima plugin and others but i do get a failure when opening your file see attached picture

There is a file missing:

cmaple.exe / maxima.bat missing

What can i do ?

however smath says maxima plugin is installed:

Thank you br Stefan


It seems your mentioned firewall settings prevented proper installation of Maple plugin.
Usually SMath plugins are saved under this path in Windows 10.

C:\Users\/AppData/Roaming/SMath/extensions/plugins/

I can copy my plugins directory on Windows partition and upload it for you to download and copy/overwrite.
But it won't be a convenient way to install plugins. Set an exception to your firewall for SMath downloads.

--

Maxima is another subject, plugin seems installed but you will need Maxima software to make it work.
Latest version can be downloaded and installed from link below.
https://netix.dl.sourceforge.net/project/maxima/Maxima-Windows/5.46.0-Windows/maxima-5.46.0-win64.exe
You also have to set the path for Maxima.bat under Insert>Maxima control windows>Settings menu.

Click to enlarge

Regards
1 users liked this post
Stefan Müller 5/4/2022 7:58:00 AM
#15 Posted: 5/4/2022 6:47:03 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

o ok

i need maxima software in order to work properly?

I was thinking the plugin only is enough?

Thank you for the input!

Yes please upload your plugins folder since i cannot download the plugins in the software due to firewall

But what plugin is there required under bin "cmaple.exe"

What he cannot find?
#16 Posted: 5/4/2022 7:10:30 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

Yes please upload your plugins folder since i cannot download the plugins in the software due to firewall


It may have not all plugins, it is just copy of my personal folder.
plugins.zip
1 users liked this post
Stefan Müller 5/4/2022 7:58:00 AM
#17 Posted: 5/4/2022 7:32:35 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

another question:

what is the name of the maple plugin you mentioned?

I may need maple software in order to work properly i think or?

Thank you br Stefan
#18 Posted: 5/4/2022 7:41:01 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

another question:

what is the name of the maple plugin you mentioned?

I may need maple software in order to work properly i think or?

Thank you br Stefan


You won't need additional software installation with maple plugin.
1 users liked this post
Stefan Müller 5/4/2022 7:58:00 AM
#19 Posted: 5/4/2022 7:54:19 AM
Stefan Müller

Stefan Müller

0 likes in 45 posts.

Group: User

ok thank you but now im a little bit confused.

I searched maple plugin herer:

https://en.smath.com/list/plugins

but i cannot find the plugin

software needs cmaple.exe in order to work. Where do i find this?

Thank you br Stefan
#20 Posted: 5/4/2022 8:10:28 AM
overlord

overlord

551 likes in 1332 posts.

Group: Moderator

Wrote

but i cannot find the plugin

software needs cmaple.exe in order to work. Where do i find this?


https://smath.info:8443/!/#public/view/head/plugins/MapleTools/Resources
It is in cmaple.zip file on this page.

It is in also plugin.zip file I uploaded for you.
1 users liked this post
Stefan Müller 5/4/2022 8:39:00 AM
  • New Posts New Posts
  • No New Posts No New Posts