Post Reply 
Syntax error... or am I doing something wrong?
05-24-2016, 06:04 AM
Post: #1
Syntax error... or am I doing something wrong?
I don't seem to be able to enter a number containing fractions in polar coordinates.

Something as simple as

1/2v50 (v would be the angle symbol).

raises a syntax error.

I've tried with different combination of parenthesis... but it still get a syntax error.

Am I doing something wrong?

Thanks!
Find all posts by this user
Quote this message in a reply
05-24-2016, 07:56 AM
Post: #2
RE: Syntax error... or am I doing something wrong?
I suppose this happens in the HOME, in the CAS mode does work fine.
Best,

Aries ;-)
Find all posts by this user
Quote this message in a reply
05-24-2016, 09:44 AM
Post: #3
RE: Syntax error... or am I doing something wrong?
Have you tried using the [Shift][X] (the multiply key), for the angle symbol?


1/(2∡50) ==> Result(angle mode).

-Dale-
Find all posts by this user
Quote this message in a reply
05-24-2016, 12:27 PM
Post: #4
RE: Syntax error... or am I doing something wrong?
(05-24-2016 09:44 AM)DrD Wrote:  Have you tried using the [Shift][X] (the multiply key), for the angle symbol?


1/(2∡50) ==> Result(angle mode).

-Dale-

The problem is not the angle symbol. Basically I can enter:

1∡90

but not:

1/2∡90

Or even:

10^2∡90


In Cas mode it seems to work but i wonder why it doesn't in Home...

Thanks!
Find all posts by this user
Quote this message in a reply
05-24-2016, 01:43 PM
Post: #5
RE: Syntax error... or am I doing something wrong?
When the polar value is completely represented, in the two examples you provided, they did work in [Home] r10077. Copy/paste separates the angle parameter, and makes it look like:

1/2 ∡90, and 10^2 ∡90; instead of 1/(2∡90), and 10^(2∡90).

That's probably not the issue, but the examples paste into the command line separating the angle, which, coincidentally, DOES cause a syntax error. If the polar value is enclosed in parentheses, (not strictly required), there should be no issue (I hope!).
Find all posts by this user
Quote this message in a reply
05-24-2016, 02:33 PM
Post: #6
RE: Syntax error... or am I doing something wrong?
(05-24-2016 06:04 AM)farefernandez Wrote:  Something as simple as

1/2v50 (v would be the angle symbol).

How is that simple? Is that (1/2)<90? 1/(2<90)? (1/2)*1<90?

When you start getting even more complicated things, how does the angle symbol behave in terms of order of operations?

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
05-24-2016, 03:22 PM (This post was last modified: 05-24-2016 03:25 PM by informach.)
Post: #7
RE: Syntax error... or am I doing something wrong?
Hi!:

See, the attached images.
You needed configure, in HOME ...

Degrees
a+bi or (a,b) ... is same

Then, write ...
(1/2,50) ...
With Shift and * X (angle symbol), then ...


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
05-25-2016, 05:10 AM
Post: #8
RE: Syntax error... or am I doing something wrong?
In cas something like
1<pi returns -1+1.0780...E-14.
1<(pi/2) returns 5.3903...E-15+i

I am surprised to see these results in the cas. I always thought that the cas would treat everything symbolically so that pi would be recognized.
Is there an explanation for these results and/or would it be a problem to catch such special cases?
Find all posts by this user
Quote this message in a reply
05-25-2016, 01:56 PM (This post was last modified: 05-25-2016 02:22 PM by informach.)
Post: #9
RE: Syntax error... or am I doing something wrong?
Hi!, leprechaum:

With complex (a+bi), or (a,b) and in, degrees (but, not CAS) ...
(1,PI) = 1+PI*i
(1,PI/2) = 1+PI/2*i
See, the left image ...

In Polar, CAS and degrees.
See, the other image ...

Note: This is checked with Wolfram Alpha, too.

Kind Regards.
informach


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 3 Guest(s)