Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
The xy2pol looks that still has problems with units: Basile Edited by moderator 07 June 2016 23:30:43(UTC)
| Reason: marked as bug
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Better be in harmony wth the maths and Smath. There is nothing to look gain, Smath is OK. The Magnitude (length) and The Angle (angle) in polar coordinates have different units. For sure they have different units: one is in "UnitGraph" the other is in "rad" The rad is not a common unit. It is not correct. YES: rad is correct, rad is the maths unit in trig approximations as well as in official tables. If you want °: convert by appending ° in the Smath result
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Jean, 1. Please go previously and see the picture. "rad" is the unit for both the magnitude and angle. There is ONE placeholder for ONE unit.
The Magnitude (length) and The Angle (angle) in polar coordinates have different units. For sure they have different units: one is in "UnitGraph" the other is in "rad"
The rad is not a common unit. It is not correct.
YES: rad is correct, [YOU JUST SAID THAT ONE IS LENGTH THE OTHER ANGLE!!!] rad is the maths unit in trig approximations as well as in official tables. If you want °: convert by appending ° in the Smath result
2. In this specific set of applications I have no interest in "numerical MathEMATICS". I use units. Thank you.
Basile
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
@Basile, Just show what you are trying to describe verbally Not that it would convince anyone who doesn't wish, though. |
Best regards, Mike Kaganski |
1 user thanked mikekaganski for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Mike, The xy2pol does not work when units are included: Do we agree? When eventually it is working: The units of the "Magnitude" and the units of the angle, (for the case of complex numbers here), will be different. Note: I see you got W(att) how? I see that you have a semicolon ( ; ) I have a comma (,). Re(S);Im(S) versus Re(S),Im(S) Basile
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,368 Was thanked: 829 time(s) in 525 post(s)
|
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: Basile Mike,
The xy2pol does not work when units are included: Do we agree? Yes we do Quote:When eventually it is working: The units of the "Magnitude" and the units of the angle, (for the case of complex numbers here), will be different. Yes, that's what I show in my screenshot, that uses ≡ instead of =, just to show the desired result: seeing is better than reading. Quote:Note: I see you got W(att) how? Now I suppose it's apparent: Ctrl+= and manually make system with desired result Quote:I see that you have a semicolon ( ; ) I have a comma (,). Re(S);Im(S) versus Re(S),Im(S) Russian locale default settings |
Best regards, Mike Kaganski |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
In this specific set of applications I have no interest in "numerical MathEMATICS". [Basile]
From A...Z, Smath is a numerical math tool as any other CAS and including your specific application. xy2pol result is a vector of two components that need no unit as they are implicit. Extract each component and append a dead unit decoration for clarity to yourself and the reader.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: Razonar atan2.sm (36kb) downloaded 14 time(s). |
Best regards, Mike Kaganski |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,368 Was thanked: 829 time(s) in 525 post(s)
|
Hi Mike. I prefer this other, but have some round inconvenients: Best regards. Alvaro. atan2.sm (45kb) downloaded 9 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
Originally Posted by: Razonar I guess that with the new try function samebody can make a good one atan2. But with try, it won't differentiate again. |
Best regards, Mike Kaganski |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,368 Was thanked: 829 time(s) in 525 post(s)
|
Originally Posted by: mikekaganski Originally Posted by: Razonar I guess that with the new try function samebody can make a good one atan2. But with try, it won't differentiate again. Oh, I think that this happen only to me :-). Not very sure that try don't accept diff. So, this with numerical optimization must to be the best solution (until atan2 not be in SMath): Best regards. Alvaro. Edited by user 06 June 2016 03:13:09(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 17/01/2013(UTC) Posts: 296 Location: Khabarovsk, Russia Was thanked: 151 time(s) in 107 post(s)
|
It's a good option, and only ~30% slower. |
Best regards, Mike Kaganski |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Like this Alvaro: look for the Matlb code in the f(x) menu, look for mwatan2 ... if you have in your version: then go Jean Maths atan2.sm (11kb) downloaded 11 time(s).
|
|
|
|
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.