View Single Post
Old 01-22-2002, 02:07 PM   #1
Dreamer128
Dracolisk
 

Join Date: March 21, 2001
Location: Europe
Age: 40
Posts: 6,136
Ok, this is my problem. I need to calculate where two lines cross in a graphic, I have the formula of each line. For instance:
H= 0.8*P and H=0.3*P+5.

So we have a method named switching, note how I switch some numbers:
0.8*p= 0.3*P+5
becomes
0.8P*0.3P=5
0.8P*0.3P=0.5 while 5 remains 5.

5:0.5=10

So now we fill it in in the original formulas:
0.8*10=8
0.3*10+5=8

So the crossing point lies at 10,8.

But for some reason this doesnt work with other simulair questions like: 2x-10=4x-24 or 3+0.25p=p+9.

can anyone help me out?
Dreamer128 is offline