Jump to content

Search the Community

Showing results for tags 'math'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 7 results

  1. I frequently need to calculate aspect ratios and dimensions when resizing images, so I wrote a ratio calculator plugin for Alfred to make the calculation as efficient as possible. It works by reading a simplified ratio equation syntax in the form of a b c d where a, b, c, and d represent the numerators and denominators in an a/b=c/d ratio equation. Any non-number can be used to represent the missing number. E.g., 2/4=x/10 would be typed as 2 4 x 10 and Alfred will return 5, ready to be copied to the clipboard. Installation instructions and source on GitHub Download Ratio Calculator.alfredworkflow
  2. Hi All, I'm new here, and I've just created my first workflow: Percent Change. For some reason, I can never do this in my head, and I'm tiring of looking up the formula. This workflow lets you calculate the percent of change between two values, using the % symbol: % <value1> <value2> So, something like % 3 6 would give you a result of 100. The result is displayed in Large text and copied to the clipboard. You can find it, here: http://www.packal.org/workflow/percent-change I'd love any feedback.
  3. I write a workflow for converting a given decimal to a simplified fraction as well as simplifying a given fraction. It saves me a lot of time and I hope it is useful for you too. Download You can download the workflow file from my GitHub. Examples frac .11 ==> .11 = 11 / 100 frac 4/6 ==> 4/6 = 2 / 3 frac -1.4/2.2 ==> -1.4/2.2 = -7 / 11 frac 1.2/0 ==> Error: divided by zero. frac b/3 ==> Error: Invalid input format ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Update 7 additional math tools are added and the new workflow is renamed to MathTools. 1) Simplify fractions Examples: frac .11 ==> .11 = 11 / 100 frac 4/6 ==> 4/6 = 2 / 3 frac -1.4/2.2 ==> -1.4/2.2 = -7 / 11 2) Greatest common divisor Examples: 3) Least common multiple Examples: 4) Simplify surds Examples: sqrt .0144 ==> √(.0144) = 3/25 = 0.12 sqrt 4 8/81 ==> ³√(8/81) = (2/3) ³√(1/3) Note: 5) Log functions Examples: log 5 ==> log₁₀(5) = 0.698970004336 log2 1.0001 ==> log₂(1.0001) = 0.000144262291095 ln e ==> ln(e) = 1.0 Note: 6) Prime factorization Examples: factor 100 ==> factor(100) = [1, 2, 2, 5, 5] factor 31 ==> factor(31) = [1, 31] Note: 7) Permutations and Combinations Examples: C( 4 2 ==> C(4, 2) = 6 c( 1000 3 ==> C(1000, 3) = 166167000 P( 4 2 ==> P(4, 2) = 12 p( 1000 3 ==> P(1000, 3) = 997002000 Note:
  4. Hi, I'm wondering about the result for '=cos(-180)' which is shown as -,598460069 but should be -1 Any idea what's going on?
  5. I found myself chatting with people from time to time and needing to send equations. Obviously when Latex is available it's preferable but sometimes it's not. As a result I need a solution that requires zero installs but formats text a little better than you can get with the standard characters on the keyboard. Example: let's not say x^2 but x². Let's not say sqrt(x) but √(x). I want to be able to do this without looking up characters in a character table and I don't want it to add to how much I have to type much. Enter snippets. They allow for decently complex notation without needing Latex. Because this is just unicode it works in most browsers and on most smartphones as well. Github link.
  6. Hello all, I would like to create a workflow to manipulate some numbers (for example, a decimal to hexadecimal converter). I currently have a keyword as an input, and a copy to clipboard as an output. I want to write the script between the input and the output in Python, but I'm having trouble. How do you pass parameters into the Python script, and how do you return a result to send to the output action? Thanks in advance!
  7. I'm trying to make a script to help in calculating em values. I feel really dumb asking this, but I can't for the life of me figure out how to get the result copied to the clipboard, for pasting into other applications. Here's what I have so far: set query to {query} set base_em to 16 set calculated_em to query / base_em calculated_em as real get calculated_em set the clipboard to calculated_em Essentially, the workflow will be typing em {query}, then ⏎, copying the result to the keyboard. I've got everything working until the clipboard part - I'm sure I'm missing something totally obvious here, but I can't for the life of me figure out the last part, argh.
×
×
  • Create New...