Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[simple]Quiz

 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How does this equation look like?

worth rendering it out with Java graphic API or Matlab or whatever, for tomorrow it might be useful.
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's legible. It's a little rough looking - you might want to render it at a slightly larger size, or try a different font (or whatever options you have with the tool you're using). But it's good enough now that I can tell the difference between 2 and 3 (for the exponents). Is that the sort of feedback you were looking for?
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No...sigh, until now still nobody sent her/his result here, just try to render it just like you plot a function...I'll reveal the result today later. And happy V........ to everybody!
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim I'm disappointed.
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hm, I don't have a graphics package, but the intersection with the YZ plane appears to be from a family of curves called a "cardioid" ... I wonder if that's a clue.

(Just teasing. I guessed what it was from the context and confirmed by plotting a few points. It's cute!)
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good move. And it's in the right direction already. Okay V........ day in Germany is over now, but still a few hours to go over there in America I guess. I'm going to sleep, will try to get up early tomorrow before 0:00 of JavaRanch time and see if there's anyone successfully rendered the pretty graph. Is this equation that hard to program? The algorithm is already there that's why I marked it as simple...curiously waiting...
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it. If you'd asked what the graph of the equation looks like, I'd have gotten it sooner.
 
Ellen Zhao
Ranch Hand
Posts: 581
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Now the result here.
 
Arjun Shastry
Ranch Hand
Posts: 1898
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m trying to plot it on a paper but not getting it correctly cardiode shape.in XY plane,z= 0 so the equation reduces to :
2*x^2 + y^2 = 1
y^2 = 1 - 2*x^2
for x = 0,y = +-1,extreme values of x will be +- Math.sqrt(1/2)
Now
X Y
0.0 Y coordinate +-1.0
+-0.1 Y coordinate +-0.9899494936611666
+-0.2 Y coordinate +-0.9591663046625438
+-0.30 Y coordinate +-0.905538513
+-0.4 Y coordinate +-0.824621125123532
+-0.5 Y coordinate +-0.7071067811865476
+-0.6 Y coordinate +-0.5291502622129182
+-0.7 Y coordinate +-0.14142135623730995
I m getting bulging ellipse
[ February 15, 2005: Message edited by: Arjun Shastry ]
 
Joyce Lee
Ranch Hand
Posts: 1392
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Didn't have a Matlab tool and was too lazy to plot it out manually. Made a wild guess and thought this would be the answer. Got that wrong.
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arjun Shastry:

I m trying to plot it on a paper but not getting it correctly cardiode shape.in XY plane

Try the YZ plane (x = 0).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic