Computer Science Canada Turing Calculator (Simple) |
Author: | The Rookie [ Sat Oct 12, 2013 9:54 am ] | ||
Post subject: | Turing Calculator (Simple) | ||
What is it you are trying to achieve? Turing Calculator Square Roots What is the problem you are having? How would I add square roots to the code? Describe what you have tried to solve this problem I have tried to search elsewhere but the answers were not helpful.
Please specify what version of Turing you are using Turing 4.1.1 |
Author: | Nathan4102 [ Sat Oct 12, 2013 10:41 am ] | ||
Post subject: | RE:Turing Calculator (Simple) | ||
Are you trying to square the sum of the numbers? The difference? The single numbers? The sqrt(number : real) function is what you're looking for.
|
Author: | Raknarg [ Sat Oct 12, 2013 12:43 pm ] |
Post subject: | RE:Turing Calculator (Simple) |
You can use the predefined sqrt or you can use exponents. For example: 4 ** 2 = 16 16 ** (0.5) = 4 Just use two stars as opposed to one |
Author: | MasterCard [ Sat Mar 12, 2016 1:13 pm ] |
Post subject: | RE:Turing Calculator (Simple) |
Made a tutorial! https://www.youtube.com/watch?v=pkGDWe3nReQ&index=3&list=PLs9jD_F5glNZOnJnHazosDUFENaXbv_vy |