ShareShortcuts

Quadratic Equation Solver

Exactly what the title says

cyanbeast01
Fork “Quadratic Equation Solver”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so cyanbeast01 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
30K
Saved
1
Actions
258
Category
Calculations
Version
1.2
Language
EN

Exactly what the title says. You can solve linear, quadratic and cubic equations!

What's New

Version 1.2

Actually have 2 solutions on the quadratic equation where delta < 0.

Version History
1.2 Sep 25, 2023

Actually have 2 solutions on the quadratic equation where delta < 0.

1.1 Sep 8, 2023

Fixed a bug where 5+1i and 5-1i won’t show up

1.0 Sep 8, 2023

First release

What it does

258 actions
  1. Set Variable
    text
  2. Comment
    Made by CyanBeast01 Contains imaginary numbers!
  3. Choose from Menu
    Choose an equation
  4. Choose from Menu
    ax+b=0 (linear)
  5. Ask for Input
    a
  6. Ask for Input
    b
  7. Calculate
  8. Calculate
  9. Round Number
  10. If
  11. If
  12. Text
  13. Set Variable
    text
  14. If
  15. If
  16. Text
  17. Set Variable
    text
  18. If
  19. Text
  20. Set Variable
    text
  21. If
  22. If
  23. Text
  24. Set Variable
    text
  25. If
  26. Text
  27. Set Variable
    text
  28. If
  29. If
  30. Text
  31. Set Variable
    text2
  32. If
  33. Text
  34. Set Variable
    text2
  35. If
  36. Text
  37. Set Variable
    text2
  38. Show Alert
    Equation
  39. Choose from Menu
    ax²+bx+c=0 (quadratic)
  40. Ask for Input
    a
  41. Ask for Input
    b
  42. Ask for Input
    c
  43. Comment
    a
  44. If
  45. Text
  46. Set Variable
    a
  47. If
  48. If
  49. Text
  50. Set Variable
    a
  51. If
  52. Text
  53. Set Variable
    a
  54. Comment
    b
  55. If
  56. If
  57. Text
  58. Set Variable
    b
  59. If
  60. Text
  61. Set Variable
    b
  62. If
  63. If
  64. Text
  65. Set Variable
    b
  66. If
  67. Text
  68. Set Variable
    b
  69. Comment
    c
  70. If
  71. Text
  72. Set Variable
    c
  73. If
  74. Text
  75. Set Variable
    c
  76. Choose from Menu
    ……… = 0
  77. Choose from Menu
    Solve
  78. Comment
    minus b
  79. Calculate
  80. Set Variable
    -b
  81. Comment
    delta Δ
  82. Calculate
  83. Calculate
  84. Calculate
  85. Calculate
  86. Set Variable
    delta
  87. Comment
    two a
  88. Calculate
  89. Set Variable
    2a
  90. If
  91. Calculate
  92. Calculate
  93. Set Variable
    -b
  94. Calculate
  95. Calculate Expression
  96. Calculate Expression
  97. Round Number
  98. Round Number
  99. Text
  100. Show Alert
    Equation
  101. If
  102. If
  103. Calculate
  104. Round Number
  105. Text
  106. Show Alert
    Equation
  107. If
  108. Calculate
  109. Comment
    x1
  110. Calculate
  111. Calculate
  112. Set Variable
    x1
  113. Comment
    x2
  114. Calculate
  115. Calculate
  116. Set Variable
    x2
  117. Round Number
  118. Round Number
  119. Text
  120. Show Alert
    Equation
  121. Choose from Menu
    ax³+bx²+cx+d=0 (cubic)
  122. Ask for Input
    a
  123. Ask for Input
    b
  124. Ask for Input
    c
  125. Ask for Input
    d
  126. Comment
    a
  127. If
  128. Text
  129. Set Variable
    a
  130. If
  131. If
  132. Text
  133. Set Variable
    a
  134. If
  135. Text
  136. Set Variable
    a
  137. Comment
    b
  138. If
  139. If
  140. Text
  141. Set Variable
    b
  142. If
  143. Text
  144. Set Variable
    b
  145. If
  146. If
  147. Text
  148. Set Variable
    b
  149. If
  150. Text
  151. Set Variable
    b
  152. Comment
    c
  153. If
  154. If
  155. Text
  156. Set Variable
    c
  157. If
  158. Text
  159. Set Variable
    c
  160. If
  161. If
  162. Text
  163. Set Variable
    c
  164. If
  165. Text
  166. Set Variable
    c
  167. Comment
    d
  168. If
  169. Text
  170. Set Variable
    d
  171. If
  172. Text
  173. Set Variable
    d
  174. Choose from Menu
    ………… = 0
  175. Choose from Menu
    Solve
  176. Comment
    step 1: find Q 3ac - b² Q = —————- 9a²
  177. Calculate Expression
  178. Set Variable
    Q
  179. Comment
    step 2: find R 9abc - 27a²d - 2b³ R = ——————————— 54a³
  180. Calculate Expression
  181. Set Variable
    R
  182. Comment
    step 3: find S and T S = ∛(R + √(Q³ + R²)) T = ∛(R - √(Q³ + R²))
  183. Calculate Expression
  184. If
  185. Calculate Expression
  186. Set Variable
    S
  187. Calculate Expression
  188. Set Variable
    T
  189. Comment
    step 4: find x b x1 = S + T - —— 3a x2 = -(S + T)/2 + (S - T)* i√3/2 - b/3a x3 = -(S + T)/2 - (S - T)* i√3/2 - b/3a
  190. Calculate Expression
  191. Round Number
  192. Calculate Expression
  193. Calculate Expression
  194. Round Number
  195. Round Number
  196. If
  197. Text
  198. Show Alert
    Equation
  199. If
  200. If

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

You Might Also Like

See All
Advertisement