How Can You Modify an Equation to Favor a Specific Variable Value?

  • Context: High School 
  • Thread starter Thread starter clydas
  • Start date Start date
  • Tags Tags
    Specific
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
clydas
Messages
2
Reaction score
0
Suppose I have the following equation:
P=a*n
Where a is a value between 0 and 1.
n is the day of the week. (this is just an example)

How do I change this expression so, for example, if one were to put 5 for n, the result would be marginally greater than those resulting from inserting any other number (1,2,3,4,6,7)?
Common sense dictates putting in (n/5), but that does not work if one inputs 6 or 7 into the equation.

Enlightenment on the area of math that such processes deal with would be great help as well.
 
Mathematics news on Phys.org
micromass said:
Hi clydas! :smile:

I'm not sure what you want to do with this, so I don't know if you will like the answer.

The trick is to change n with a function that takes a maximum in 5. For example

[tex]P=a*(-(n-5)^2)[/tex]

Or

[tex]P=a*(-(n-5)^2+100)[/tex]

Or even

[tex]P=a*e^{-(n-5)^2}[/tex]

Ah, now it seems obvious.

Thank you very much! Your answer is perfect!
Just for the record: I'm not that slow in math as it might appear, it's just that sometimes the most obvious of things are the least noticeable.

Thanks again!