Click here to Skip to main content
15,914,452 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert problem ! Pin
Shorgov14-Dec-09 21:02
Shorgov14-Dec-09 21:02 
Questionexplain difference Pin
Mogamboo_Khush_Hua14-Dec-09 20:11
Mogamboo_Khush_Hua14-Dec-09 20:11 
AnswerRe: explain difference Pin
Migounette14-Dec-09 20:38
Migounette14-Dec-09 20:38 
QuestiondateTimePicker chosen problem Pin
miss YY14-Dec-09 15:42
miss YY14-Dec-09 15:42 
AnswerRe: dateTimePicker chosen problem Pin
_Maxxx_14-Dec-09 18:10
professional_Maxxx_14-Dec-09 18:10 
GeneralRe: dateTimePicker chosen problem Pin
miss YY14-Dec-09 19:01
miss YY14-Dec-09 19:01 
AnswerRe: dateTimePicker chosen problem Pin
dan!sh 14-Dec-09 18:23
professional dan!sh 14-Dec-09 18:23 
QuestionGraph an Equation Pin
Klazen14-Dec-09 15:22
Klazen14-Dec-09 15:22 
Hey everyone,

I'm looking to allow a user to input a mathematical function (like x^2 + y^2 = 4) and graph it on the screen. I've been thinking about how to go about this, and I'm not sure if there is an easier way. Currently, I'm thinking about forcing the user to input the function in the form of y=something and then looping through all of the x-coordinates, solving the right hand side each time for each x-value and then pairing the x and y coordinates together, and drawing lines between each pair. However, this is very clunky, and doesn't allow for three-dimensional equations (when I get there). Is there some way of parsing through the equation and solving it? I know it can be done, because I've seen math programs out there that can graph equations no matter how you input them (including 3D ones). If there is somewhere I can go to learn more about this process, I'd love to hear about it, and if anyone knows of some example code, that would also be appreciated.

Thanks!
AnswerRe: Graph an Equation Pin
Dr.Walt Fair, PE14-Dec-09 16:16
professionalDr.Walt Fair, PE14-Dec-09 16:16 
QuestionPublic vs Private Memory Question Pin
thenutz7214-Dec-09 13:38
thenutz7214-Dec-09 13:38 
AnswerRe: Public vs Private Memory Question PinPopular
Luc Pattyn14-Dec-09 14:19
sitebuilderLuc Pattyn14-Dec-09 14:19 
GeneralRe: Public vs Private Memory Question Pin
_Maxxx_14-Dec-09 17:48
professional_Maxxx_14-Dec-09 17:48 
GeneralRe: Public vs Private Memory Question Pin
Luc Pattyn15-Dec-09 0:59
sitebuilderLuc Pattyn15-Dec-09 0:59 
GeneralRe: Public vs Private Memory Question Pin
harold aptroot15-Dec-09 1:10
harold aptroot15-Dec-09 1:10 
GeneralRe: Public vs Private Memory Question Pin
Luc Pattyn15-Dec-09 1:53
sitebuilderLuc Pattyn15-Dec-09 1:53 
GeneralRe: Public vs Private Memory Question Pin
harold aptroot15-Dec-09 2:14
harold aptroot15-Dec-09 2:14 
QuestionDifference between Critical section, Mutex and Semaphore ? Pin
sandeepranjan14-Dec-09 13:27
sandeepranjan14-Dec-09 13:27 
AnswerRe: Difference between Critical section, Mutex and Semaphore ? Pin
Corinna John14-Dec-09 22:28
Corinna John14-Dec-09 22:28 
QuestionC# serial port Pin
aniarun14-Dec-09 13:26
aniarun14-Dec-09 13:26 
AnswerRe: C# serial port Pin
Luc Pattyn14-Dec-09 14:24
sitebuilderLuc Pattyn14-Dec-09 14:24 
GeneralRe: C# serial port Pin
aniarun14-Dec-09 15:50
aniarun14-Dec-09 15:50 
GeneralRe: C# serial port Pin
Roger Wright14-Dec-09 19:33
professionalRoger Wright14-Dec-09 19:33 
GeneralRe: C# serial port Pin
aniarun15-Dec-09 15:15
aniarun15-Dec-09 15:15 
GeneralRe: C# serial port Pin
Roger Wright15-Dec-09 16:04
professionalRoger Wright15-Dec-09 16:04 
GeneralRe: C# serial port Pin
aniarun15-Dec-09 17:24
aniarun15-Dec-09 17:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.