Echo & Alexa User Discussions and Support Forums

When a person is not breathing, permanent brain damage begins after 4 minutes and death in 6 minutes after that. Can you count on help arriving before that time? Learning proper CPR techniques is easy and you can learn it in 30 minutes at CPR Test Center.

How do you do advanced calculations

0 Members and 1 Guest are viewing this topic.

How do you do advanced calculations
« on: January 05, 2017, 09:03:01 pm »
involving three numbers and parenthesis.

I say "ten minus five divided by 2"
I really want (10 - 5) / 2  which should be 2.5
But Alexa gives me 7.5 which is  10 - (5/2); she prioritized the mult/division over add/subtract
The good news it handles three numbers.

How do I organize the order of operations without resorting to two commands. It doesn't understand parenthesis/close parenthesis


Re: How do you do advanced calculations
« Reply #1 on: January 05, 2017, 09:29:22 pm »
The short answer is, "you don't".  This is a case of using the wrong tool for tbe job.  Alexa's math skill is geared toward solving problems for you when you need a quick answer to a simple equation.  When you start getting so involved that you need explicit grouping of terms it's time to use a calculator.

Offline kevb

  • *****
  • 250
Re: How do you do advanced calculations
« Reply #2 on: January 05, 2017, 11:35:06 pm »
Mult/div is always prioritized over add/subtract. I'm impressed Alexa solved it that way.

Re: How do you do advanced calculations
« Reply #3 on: January 06, 2017, 01:46:08 am »
Mult/div is always prioritized over add/subtract. I'm impressed Alexa solved it that way.

If not explicitly specified.   Unless you want it some other way. Which I did.
I didn't even ask for transcendental functions...


Re: How do you do advanced calculations
« Reply #4 on: January 07, 2017, 09:39:55 am »
If Alexa got context that would solve so much. You could say 'calculate 10 minus 5' and then say 'divide that by 2'.

Re: How do you do advanced calculations
« Reply #5 on: February 11, 2017, 09:52:26 pm »
Alexa Applies the rules... PEMDAS.... look up that term if it makes no sense from this post... pretty cool if you ask me... but I can see where setting up your own equations might be desired without going completely scientific... But Alas... It's a very new device and is truly learning daily to be better... This bit may take some time for it to add context to it or "the ability to have conversations"...
My Alexa environment includes :
1 full Sized Echo
3 Echo Dots 2nd gen -1 echo Dot 3rd gen
1 Echo Spot
1 Amazon Firestick with Alexa Voice Remote.
Several Hue Lights with a single bridge
5 Fire Tablets (1 as a control panel in Kitchen)
On ring Doorbell Pro
Also 4 cell phones with Alexa app installed and
You should see My Apple Device List!

Re: How do you do advanced calculations
« Reply #6 on: July 21, 2018, 12:21:27 pm »
My Alexa will solve your math problem but it takes 2 steps
Problem (10-5)/2 = 2.5
Step 1 "Alexa what is 10-5" she replies "...5"
Step 2 "Alexa divide that by 2" she replies ...2.5