South Africa Flag logo

South African Skeptics

June 26, 2017, 21:01:39 PM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Go to mobile page.
News: Please read the forum rules before posting.
   
   Skeptic Forum Board Index   Help Forum Rules Search GoogleTagged Login Register Chat Blogroll  
Pages: [1]   Go Down
  Print  
Author Topic:

Formula

 (Read 539 times)
0 Members and 1 Guest are viewing this topic.
Tweefo
Hero Member
*****

Skeptical ability: +9/-0
Offline Offline

Posts: 1447



WWW
« on: February 23, 2016, 06:04:25 AM »

All the Mathematical boffins here. I need the formula for a slide scale. The percentage of 1500 = 40%. The percentage must slide down and at 25000 and above it must be at 10%. <1500 = 40% >25000 = 10%.
Logged
Rigil Kent
Clotting Factor
Hero Member
*****

Skeptical ability: +19/-3
Offline Offline

Posts: 2414


Three men make a tiger.


« Reply #1 on: February 23, 2016, 07:18:59 AM »

It looks like you're describing a piecewise function. I doubt there is "one formula to rule them all". Assuming that the "slidy" part is linear, you could maybe try something like this:


y = 40                                             for x < 1500

y = 40 + ( 3 / 2350 )( 1500 - x )       for 1500 ≤ x ≤ 25000

y = 10                                             for x > 25000


Rigil

Logged
Tweefo
Hero Member
*****

Skeptical ability: +9/-0
Offline Offline

Posts: 1447



WWW
« Reply #2 on: February 23, 2016, 09:18:07 AM »

Thanks. MS Excel came to the rescue. I am a dof after 2+2.
Logged
Pages: [1]   Go Up
  Print  
GoogleTagged: google


 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.163 seconds with 23 sceptic queries.
Google visited last this page June 08, 2017, 18:17:38 PM
Privacy Policy