Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
Offline nasch  
#1 Posted : 29 November 2017 23:47:22(UTC)
nasch


Rank: Member

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

My first post. I'm trying SMath instead of MathCad P4. RF Resistance. ber and bei.sm (35kb) downloaded 13 time(s). RF Resistance. ber and bei.xmcd (200kb) downloaded 3 time(s).

Having difficulties transferring the RF resistance sheet from MC15. The ber, bei functions are missing. I added plugin EFI for Mathcad for the "Jv" (vs. Jn) function but it doesn't appear in the listing of available functions.

Attached is the mc file and my attempt to transfer to SMath.

I welcome the collabs help to move forward.

Sincerely,

nasch
Offline Jean Giraud  
#2 Posted : 30 November 2017 01:05:03(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Originally Posted by: nasch Go to Quoted Post
The ber, bei functions are missing


Check if you can do something from the Smath built-in
mwbessl [i,j,k,y] from the f(x) menu.
Offline nasch  
#3 Posted : 30 November 2017 04:23:52(UTC)
nasch


Rank: Member

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

Thanks, for your reply. Unfortunately, I do not see "mwbessl..." listed. Maybe something that I need to activate? Is there a certain plugin I need to load?

Thanks, again
Offline Jean Giraud  
#4 Posted : 30 November 2017 19:23:56(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Originally Posted by: nasch Go to Quoted Post
I do not see "mwbessl..." listed


You may have to install from the plugin list.
Click on "Tools", click "Plugins" ... install all.
Otherwise, rescue to "Smath Doctors" ... [Martin, Davide ...]

Bessel Midwest.sm (9kb) downloaded 7 time(s).
Offline nasch  
#5 Posted : 30 November 2017 20:32:40(UTC)
nasch


Rank: Member

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

Thanks, again. Unfortunately, the "mwbessel..." function are not defined. I have 23 plugins loaded, all with green check-marks so I think they are all working. "Install all" is not there.

Then again, I do not have admin rights (my work PC), so that may be a problem?
Capture.JPG
Offline Jean Giraud  
#6 Posted : 30 November 2017 21:02:34(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Sorry Collab, can't help + ... hope Smath Doctors catch your pain.
Offline mkraska  
#7 Posted : 30 November 2017 21:27:18(UTC)
mkraska


Rank: Advanced Member

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

Was thanked: 631 time(s) in 419 post(s)
Try with my portable distribution, see signature. There, the mathlib.dll (mathcad special functions) is installed and the bitness of the executable is adjusted.

The screenshot below is from the interactive handbook. You find it using the [?] button in the toolbar in the distribution mentioned above.

Goto Plugins> EFI for SMath Studio> Special functions.

2017-11-30 19_23_19-SMath Studio 0.98.6484 - [Section Special functions.sm].png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://en.smath.info/wi...th%20with%20Plugins.ashx
Offline uni  
#8 Posted : 30 November 2017 22:04:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 682
Man
Russian Federation

Was thanked: 521 time(s) in 337 post(s)
Try this.

Links:

1. Cephes Mathematical Library.

Quote:
There, the mathlib.dll (mathcad special functions) is installed and the bitness of the executable is adjusted.


mathlib.dll must be uninstalled (removed manually) from the Mathcad EFI plugin. Cephes Mathematical Library contains same functions.

2017-12-01_00-02-41.png

Edited by user 30 November 2017 22:11:25(UTC)  | Reason: Not specified

Russia forever!
Viacheslav N. Mezentsev
Offline uni  
#9 Posted : 30 November 2017 22:17:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 682
Man
Russian Federation

Was thanked: 521 time(s) in 337 post(s)
Originally Posted by: nasch Go to Quoted Post
Then again, I do not have admin rights (my work PC), so that may be a problem?

No, you have to set 32-bit version flag for the SMath Studio Desktop exe file.

Links:

1. Matlab C++ Math Library 2.1 (Win32)
Russia forever!
Viacheslav N. Mezentsev
Offline nasch  
#10 Posted : 30 November 2017 23:22:09(UTC)
nasch


Rank: Member

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

Many thanks! "Jv" is now defined. But "arctg" is not. Another plugin?
Offline Davide Carpi  
#11 Posted : 30 November 2017 23:52:58(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,777
Man
Italy
Location: Italy

Was thanked: 899 time(s) in 601 post(s)
Originally Posted by: nasch Go to Quoted Post
Many thanks! "Jv" is now defined. But "arctg" is not. Another plugin?


Name of trigonometric functions depend on the function naming type in global settings of your smath studio; in your case you should look for atan
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Offline nasch  
#12 Posted : 01 December 2017 00:11:27(UTC)
nasch


Rank: Member

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

Thank you! Now it computes, but the value; Rac(100kHz) is negative. Should be 141.553Ohm/Mi. I need the "angle" function definition from Mathcad. angle(x, y) Returns the angle from the x-axis to a line containing the origin and the point (x,y). Results are in radians between 0 and 2π, excluding 2π.



Offline Jean Giraud  
#13 Posted : 01 December 2017 00:24:09(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Originally Posted by: nasch Go to Quoted Post
angle(x, y)


NFG ... arg(1+1*i)=45°
Offline nasch  
#14 Posted : 01 December 2017 00:39:13(UTC)
nasch


Rank: Member

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

Using an old MC definition I obtained a better value:

Capture.JPG
Offline Jean Giraud  
#15 Posted : 01 December 2017 17:40:01(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Originally Posted by: nasch Go to Quoted Post
Using an old MC definition I obtained a better value:


These two documents may be of interest next blue moon.
Mostly if you need accurate Γ(x) ... Smath built-in ± 4/5 D

Cheers ... Jean

Bessel JY.sm (65kb) downloaded 10 time(s).

Maths Special Gamma(x) 15D.sm (76kb) downloaded 10 time(s).

Offline nasch  
#16 Posted : 01 December 2017 20:53:48(UTC)
nasch


Rank: Member

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

Many thanks!
Offline nasch  
#17 Posted : 07 December 2017 00:17:45(UTC)
nasch


Rank: Member

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

Thanks again for the collab's help. The work sheet displays the same result as MC. AC-DC Resistance Using Bessel Functions.sm (13kb) downloaded 1 time(s).

Now I have a fault using a modified sheet that the "Result is above max. allowed positive number." Capture.JPG. The limit for Rac(f) is 9.3MHz, then the error shows.

The result should be 219 micro-ohm/cm. Why the limit?

nas
Bellow Equiv Resistance.sm (15kb) downloaded 6 time(s).
Offline Jean Giraud  
#18 Posted : 07 December 2017 06:31:46(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
Originally Posted by: nasch Go to Quoted Post
The result should be 219 micro-ohm/cm. Why the limit?


Here, it says ... Jv(,,) not defined.
Offline Jean Giraud  
#19 Posted : 07 December 2017 07:26:28(UTC)
Jean Giraud


Rank: Advanced Member

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 2,030
Canada

Was thanked: 497 time(s) in 384 post(s)
I understand the skin effect from my > 50 years back Electronics.
What I don't understand is the so complicated route to Ohms/MHz.
If you could tabulate some values of that Oms/MHz, I will attempt
a model fit ... something like I did for ITER [Cadarache].

Cu.PNG
Offline Davide Carpi  
#20 Posted : 07 December 2017 14:40:50(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 1,777
Man
Italy
Location: Italy

Was thanked: 899 time(s) in 601 post(s)
Originally Posted by: nasch Go to Quoted Post

Now I have a fault using a modified sheet that the "Result is above max. allowed positive number."


Something triggered in the factorization of the ratio be(...)/be'(...) you can make it working with a trick

2017-12-07 12_39_30-SMath Studio - [Bellow%20Equiv%20Resistance.sm_].png
Best regards,

Davide

---
If you like my plugins please consider making a donation to SMath Studio
Users browsing this topic
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.