# Thread: a line on a plane

1. ## a line on a plane

hello
this is probably very simple, but im very tired and its friday afternoon =)

this is the case:
the salary is based on how many pieces you produce. the slowest worker produce 400 pieces per day and the fastest 800.

the slowest worker should get a minimum wage of 50 dollars per day and the fastest should not exceed 70dollars since the company cant afford a proportional salary scale.

so how to calculate the evenly distributed the salary per piece for all workers in between 400 and 800??

the piece wage range can be plotted with the salary range using wolfram alpha.
where x is the pieces, and y is the salary
http://www97.wolframalpha.com/input/?i=plot[y/x,{x,400,800},{y,50,70}]

use this if link does not work

plot[y/x,{x,400,800},{y,50,70}]

the evenly distributed piece salary should be a line from the bottom left corner to the top right corner... but how to plot this line in 2D????

should be simple e?

2. y=x/20 + 30 ?

3. Originally Posted by papex
y=x/20 + 30 ?
doesnt give the piece price does it...
but (x/20+30)/x does

but is there a non graphical way to solve it?

4. you want to plot the line from the bottom to the top in a straight line?

So if you walk from 50 to 70, you should in equal pace walk 800 to 400? And there you have it. Right?

You need to map x to y and put that in the original equation.

5. Originally Posted by ellensius
you want to plot the line from the bottom to the top in a straight line?

So if you walk from 50 to 70, you should in equal pace walk 800 to 400? And there you have it. Right?

You need to map x to y and put that in the original equation.
vad menar du mead neet to map?

6. Originally Posted by Lobotomy
what do you mean with need to map?
Du fixerar y till x så här:
När y är 50 så är den andra axeln 800
När y är 60 är den andra axeln 600
När y är 70 så är den andra axeln 400.

Till exemple:

$\displaystyle 0\leq x\leq 20$

$\displaystyle \frac{50 +x}{800-20x}$

=============================

You fix x to y like this:
for y is 50, x is 800
for y is 60 x is 600
for y is 70 x is 400.

For example:

$\displaystyle 0\leq x\leq 20$

$\displaystyle \frac{50 +x}{800-20x}$