Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

X goes from $801$ to $-50$. Y should peak at $240$, start and end at $400$.

I've been toying around with my Texas, how could I express a curve like the one I try to describe above? I want to create a sunrise, seen far far away like on the edge of a curve?

here is a image of what i think the curve should look like: link

xstart: 801, xstop: -10 ymax: 240 ystart + end = 400 (ish)

share|improve this question
    
Could you please draw a rouch sketch of what you want and post an image? –  Jonas Meyer Dec 21 '11 at 20:50
    
i have supplied a linke to a image :D –  Jason94 Dec 21 '11 at 20:56

1 Answer 1

One approach would be a parabola through the three points $(-50,400), (375.5,240), (801,400)$, which would be $y=\frac{160}{375.5^2}(x-375.5)^2+240$

share|improve this answer
    
Alternatively, finding the circle through those three points gives approximately $(x-375.5)^2+(y-885.782)^2=417034$, or $y=-\sqrt{417034-(x-375.5)^2}+885.782$. –  Jonas Meyer Dec 21 '11 at 21:04
    
mmmm... works. the curve is maybe a litt sharp (look at my image), but ill guess it does the job. creating a small game for my phone, just a test thingy –  Jason94 Dec 21 '11 at 21:04
    
@JonasMeyer: You might try Jonas Meyer's circle. Your image looks more like that. –  Ross Millikan Dec 21 '11 at 21:21
    
@Jason94: I believe Ross meant that last message for you, not me. –  Jonas Meyer Dec 21 '11 at 21:32
1  
"I believe OP gets a ping for any comment, even without the @." - that's for the comments under OP's question, not in comments under an answer. –  J. M. Dec 22 '11 at 1:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.