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

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Ballspin  
#1 Posted : 15 October 2010 20:18:52(UTC)
Ballspin

Rank: Newbie

Groups: Registered
Joined: 15/10/2010(UTC)
Posts: 2
Location: USA

Hello,

I see that SMath has the functions xy2pol and pol2xy to assist in converting between cartesian and polar notation. When using xy2pol, the result is configured such that magnitude and angle appear share the same unit placeholder (angle result is given in units of radians). When configuring SMath to apply angle unit of "degrees" to the result, the conversion is also applied to the magnitude element of the result vector.

Is there a notation, or method available to utilize xy2pol in which the resulting vector has separate units for the magnitude component and the angle component?

BTW, I'm very pleased the functions exist in the first place!

Thanks!

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

Offline omorr  
#2 Posted : 15 October 2010 23:43:52(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 Ballspin

In the recent alpha version, there is no Angles-Radians Option. It was excluded from the menu.
- Angles in dimensionless numbers are regarded as radians
- You can use "rad" unit as well as "degree" unit.
- The result of xy2pol and pol2xy functions is the equation system with two elements.
- Equation systems are regarded as vectors.
Here is an example how to use these functions and how to get both "rad" and "degree" results from xy2pol function.


I hope this could be the answer to your question.

Regards,
Radovan

Edited by user 15 October 2010 23:45:29(UTC)  | Reason: Not specified

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
Offline Ballspin  
#3 Posted : 16 October 2010 02:10:36(UTC)
Ballspin

Rank: Newbie

Groups: Registered
Joined: 15/10/2010(UTC)
Posts: 2
Location: USA

Thanks Radovan!

The easiest way to address individual elements of the result vector is to use "[" key to enter subscript element address...just like MathCAD!

Nice.
Offline manmoncang  
#4 Posted : 30 September 2015 11:02:17(UTC)
manmoncang

Rank: Newbie

Groups: Registered
Joined: 02/10/2013(UTC)
Posts: 1
Malaysia
Location: shah alam

Easier way is

1. Polar to Rectangular (XY)

A∠θ = A*e^i*θdeg

As example
1000∠36.87°

Polar = 1000*e^i*38.87deg
Polar = 799.9989+600.0014*i

2. Rectangular (XY) to Polar

C = A+i*B
C = abs(C) <--magnitude
∠ = arg(C) <--angle in rad and change to degree by type deg at the end of answer

Example
C = 799.9989+600.0014*i
abs(C) = 1000
arg(C) = 0.6435 <--in rad
To convert into degree just type deg at the of 0.6435
arg(C)=36.87 deg
Users browsing this topic
Guest
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.