# HP Forums

Full Version: Syntax error... or am I doing something wrong?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
I suppose this happens in the HOME, in the CAS mode does work fine.
Best,

Aries ;-)
Have you tried using the [Shift][X] (the multiply key), for the angle symbol?

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

-Dale-
(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!
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!).
(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?
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 ...
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?
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
Reference URL's
• HP Forums: https://www.hpmuseum.org/forum/index.php
• :