Math Help

MrCodeDude

Lifer
Jun 23, 2001
13,674
1
76
Convert from Polar to Rectangular Form

I don't know how to do the restrictions for the circle. I created a picture for my problem.

Thanks

Link
-- mrcodedude
 

Syringer

Lifer
Aug 2, 2001
19,333
3
71
pi = 180 degrees
pi/2 = 90 degrees
pi/4 = 45 degrees

Is that basically what you need?

Edit: whoops, never mind..let's see..
 

MrCodeDude

Lifer
Jun 23, 2001
13,674
1
76
I know that, that's radians. But how do I make cut-off restrictions for the circle with 60° and 300° ?
-- mrcodedude
 

Syringer

Lifer
Aug 2, 2001
19,333
3
71
Equation of circle is x^2+y^2=25

Then restrict x and y appropriately..somehow.

Your picture looks like pacman btw :)
 

a7berwill

Member
May 31, 2001
69
0
0
Can the circle be in parametric form? If so, wouldn't it just be...

x = 5*cos(t), y = 5*sin(t), pi/6 <= t <= 5pi/3

Don't yell at me if this is stupid, I'm not sure on whether the terminology "rectangular form" allows for parametric representation or not.
 

Syringer

Lifer
Aug 2, 2001
19,333
3
71
Originally posted by: a7berwill
Can the circle be in parametric form? If so, wouldn't it just be...

x = 5*cos(t), y = 5*sin(t), pi/6 <= t <= 5pi/3

Don't yell at me if this is stupid, I'm not sure on whether the terminology "rectangular form" allows for parametric representation or not.

I think you're onto something.
 

InverseOfNeo

Diamond Member
Nov 17, 2000
3,719
0
0
Hmmm I was about to say that I have no idea what the answer is (and I still dont) but that it looks A LOT like pacman...............but then I noticed the filename:p
 

MrCodeDude

Lifer
Jun 23, 2001
13,674
1
76
Yeah, we had to model something using circles and stuff. I chose PacMan because he seemed easy enough :(
-- mrcodedude
 

JetBlack69

Diamond Member
Sep 16, 2001
4,580
1
0
doesn't:
x=r*cos(@)
y=r*sin(@)
r^2=x^2 + y^2
where @ is the theda and r is the radius?
 

silverpig

Lifer
Jul 29, 2001
27,703
12
81
y = +sqrt(25 - x^2) {x = -5 .. 5*sqrt(3)/2}
y = -sqrt(25 - x^2) {x = -5 .. 5/2]
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

This probably isn't right, as I'm tired.
 

JetBlack69

Diamond Member
Sep 16, 2001
4,580
1
0
Originally posted by: silverpig
y = +sqrt(25 - x^2) {x = -5 .. 5*sqrt(3)/2}
y = -sqrt(25 - x^2) {x = -5 .. 5/2]
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

This probably isn't right, as I'm tired.

I think you are close but I dont' think these two are correct:
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

because at x=0, y doesn't equal 0. It's been to long since I've done this stuff but I think you are on the right track.
 

silverpig

Lifer
Jul 29, 2001
27,703
12
81
Originally posted by: JetBlack69
Originally posted by: silverpig
y = +sqrt(25 - x^2) {x = -5 .. 5*sqrt(3)/2}
y = -sqrt(25 - x^2) {x = -5 .. 5/2]
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

This probably isn't right, as I'm tired.

I think you are close but I dont' think these two are correct:
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

because at x=0, y doesn't equal 0. It's been to long since I've done this stuff but I think you are on the right track.

Sure it does. There are 4 equations there describing 4 parts of pacman. The first one listed describes the curved part above the x-axis. The second one describes the curved part below the x-axis. The third one represents the straight part that makes the upper part of his mouth, and the last one makes the bottom straight part of his mouth (the theta = 60 degrees and theta = 300 degrees from r=0 to 5 respectively)
 

JetBlack69

Diamond Member
Sep 16, 2001
4,580
1
0
Originally posted by: silverpig
Originally posted by: JetBlack69
Originally posted by: silverpig
y = +sqrt(25 - x^2) {x = -5 .. 5*sqrt(3)/2}
y = -sqrt(25 - x^2) {x = -5 .. 5/2]
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

This probably isn't right, as I'm tired.

I think you are close but I dont' think these two are correct:
y = x/sqrt(3) {x = 0 .. 5*sqrt(3)/2}
y = -sqrt(3)*x {x = 0 .. 5/2}

because at x=0, y doesn't equal 0. It's been to long since I've done this stuff but I think you are on the right track.

Sure it does. There are 4 equations there describing 4 parts of pacman. The first one listed describes the curved part above the x-axis. The second one describes the curved part below the x-axis. The third one represents the straight part that makes the upper part of his mouth, and the last one makes the bottom straight part of his mouth (the theta = 60 degrees and theta = 300 degrees from r=0 to 5 respectively)

Oh, ok I didn't know you were describing the part of the mouth as a function of f(x).
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
for purple: y = +-(x*sqrt(3)), x = 0 to 2.5

for red: y = +-sqrt(25-x^2), x = -5 to 2.5

 

raptor13

Golden Member
Oct 9, 1999
1,719
0
76
Theda is not a Greek letter. TheTa is, however.



Edit: Man... what a misopportune time for a typo. God I'm stupid. Heh.