Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline - Norm -  
#1 Posted : 30 January 2018 21:40:39(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
I have another MC sheet I'm working on in SMATH. I am not certain how to solve for/ replace the "Find" solver in MC. Attached is my worksheet and the pdf of the Prime MC sheet.

I welcome any help to solve this.

Thank you,

Thermal Physics - Rod in Cylinder.sm (14kb) downloaded 23 time(s). Thermal Physics - Rod in Cylinder.pdf (171kb) downloaded 29 time(s).

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline CBG  
#2 Posted : 31 January 2018 03:02:26(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
This can be one of the solutions.
The "T" in the formula can be easily isolated.


Temp.png

Thermal Physics - Rod in Cylinder_R1.sm (14kb) downloaded 23 time(s).


Best Regards

Carlos
Offline Jean Giraud  
#3 Posted : 31 January 2018 07:46:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: CBG Go to Quoted Post
This can be one of the solutions.
The "T" in the formula can be easily isolated.


Well done Carlos,

I think it can be plotted directly on the canvas
Will try tomorrow [tonight, I'm dead... not completely !]

Jean
Offline Jean Giraud  
#4 Posted : 31 January 2018 08:43:54(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
I think it can be plotted directly on the canvas
Will try tomorrow


roots(,,) solve on the canvas.
Next matter is the unit system to be adapted,
unfortunately incompetent on that !

RodSolveRoots.PNG




Offline mkraska  
#5 Posted : 31 January 2018 11:24:21(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Not nearly as nice as your Mathcad sheet...

Uses the symbolic solver in Maxima. You have to select one of the four solutions, I guess the
real positive one is correct.

Thermal%20Physics%20-%20Rod%20in%20Cylinder_Kr.sm (40kb) downloaded 22 time(s).

2018-01-30 22_02_41-SMath Studio 0.98.6598 - [Thermal%20Physics%20-%20Rod%20in%20Cylinder.sm_].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 2 users thanked mkraska for this useful post.
on 31/01/2018(UTC),  on 31/01/2018(UTC)
Offline - Norm -  
#6 Posted : 31 January 2018 16:54:01(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
Thank you, all, for your help. I'll look closer at the solutions presented; learning more about SMATH.

Martin, I get a message opening your sheet looking for "Maxima.bat". Is this in a plugin that I need to download? Your sheet presents the following message: "Initializing error. Please reinitialize under settigs."

Norm
Offline mkraska  
#7 Posted : 31 January 2018 17:34:41(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Please follow the link in my signature, there you find instructions how to install Maxima (a free CAS system) and how to tell SMath where to find it.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline Jean Giraud  
#8 Posted : 31 January 2018 18:46:11(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Try this in stricly Smath ... done 6179.

Very interesting, but missing the physical drawing !!!

Solve Maple Thermal Physics.sm (34kb) downloaded 23 time(s).
Offline CBG  
#9 Posted : 31 January 2018 19:25:11(UTC)
CBG


Rank: Advanced Member

Groups: Registered
Joined: 14/10/2015(UTC)
Posts: 308

Was thanked: 77 time(s) in 58 post(s)
One of the solutions with graphics.

Tem_Graf.png


Thermal Physics - Rod in Cylinder_R2.sm (16kb) downloaded 19 time(s).


Best Regards


Carlos
Offline Razonar  
#10 Posted : 31 January 2018 20:18:07(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi. In the attached, just numerical methods, and how to parametrize the solver, like Mathcad find solve blocks.

Best regards.

Alvaro.

Thermal Physics - Rod in Cylinder.sm (18kb) downloaded 27 time(s).
thanks 1 user thanked Razonar for this useful post.
on 31/01/2018(UTC)
Offline - Norm -  
#11 Posted : 31 January 2018 21:18:10(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
Carlos, Jean, Martin and Alvaro, many thanks! Your support is superb!

There's a lot here for me to digest.

Norm
Offline Jean Giraud  
#12 Posted : 01 February 2018 01:40:41(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: nasch Go to Quoted Post
Carlos, Jean, Martin and Alvaro, many thanks! Your support is superb!

There's a lot here for me to digest.

Norm


Norm,

observe closely your function ... it has rational format.
It suggests that a rational model would fit the data set.
Isn't true looking at the fit from a 4 terms rational.
The red and green traces from Carlos would be as easy, not done.

Please, don't forget the physical drawing.
You could do the very same in Mathcad.

Jean

Maths Thermal Physics - Rod in Cylinder_R2.sm (67kb) downloaded 22 time(s).

Offline overlord  
#13 Posted : 01 February 2018 03:26:44(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Yet another one without using for-loops and using both [Built-in Plot] and [X-Y Plot Plugin].
God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can. (Smath Studio 0.98.6604)

Thermal Physics - Rod in Cylinder_R3.sm (21kb) downloaded 26 time(s).
Offline Jean Giraud  
#14 Posted : 01 February 2018 06:46:42(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: overlord Go to Quoted Post
God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can.

Not backward compatible ... maybe a bug ?
I welcomed that feature as it was announced. And reattached Mandelbroth,
no answer from Designers ... maybe not so gorgeous as you pretend.

Offline Razonar  
#15 Posted : 01 February 2018 07:18:17(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
As I say before, this is a general numeric setup.
Best regards.
Alvaro. Thermal Physics - Rod in Cylinder.sm (25kb) downloaded 25 time(s).
Offline Jean Giraud  
#16 Posted : 01 February 2018 08:36:46(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Razonar Go to Quoted Post
As I say before, this is a general numeric setup.


Alvaro,

Your original [previous] is a gorgeous piece of work.
Just needed be doctored a bit. It might be compacted.

Jean

Maths Thermal Physics - Rod in Cylinder_R2 [Alvaro].sm (21kb) downloaded 27 time(s).
Offline overlord  
#17 Posted : 01 February 2018 09:41:35(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,128
Turkey

Was thanked: 509 time(s) in 339 post(s)
Originally Posted by: Jean Giraud Go to Quoted Post
Originally Posted by: overlord Go to Quoted Post
God I really don't like to look at those for-loops, thanks to Andrey I will avoid them as much as I can.

Not backward compatible ... maybe a bug ?
I welcomed that feature as it was announced. And reattached Mandelbroth,
no answer from Designers ... maybe not so gorgeous as you pretend.



It shouldn't work before 6580, using range like this is introduced with this verison as far as I remember. This is why I have written the Smath version I used. Anyway, below you can see how it looks. Still I think it looks better then for-loops.

Regards
Thermal Physics - Rod in Cylinder_R3.png
Offline Razonar  
#18 Posted : 01 February 2018 10:21:55(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi Jean.

The point about MAXITERS is to figure after the root function body, not before in such way that you can change it like TOL in Mathcad.

Also notice that in your worksheet you don't call the function Bisection defined there, but the function Bisection from the Nonlinear solvers plugin.

Best regards.

Alvaro.
Offline omorr  
#19 Posted : 01 February 2018 10:41:33(UTC)
omorr


Rank: Administration

Groups: Registered, Advanced Member
Joined: 23/06/2009(UTC)
Posts: 1,740
Man
Serbia

Was thanked: 318 time(s) in 268 post(s)
Hello,

Sooner or later, this way or another - one will end up by using some nonlinear solvers.

radiation.GIF

Regards,
Radovan

Edited by user 01 February 2018 10:47:46(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Jean Giraud  
#20 Posted : 01 February 2018 17:32:21(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: overlord Go to Quoted Post
It shouldn't work before 6580, using range like this is introduced with this verison as far as I remember. This is why I have written the Smath version I used. Anyway, below you can see how it looks. Still I think it looks better then for-loops.


I love for-loops !

1. with units => "Matrix must be square"
2. w/o units => "Can not calculate"


Matrixmustbesquare.PNG
Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.