Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
Questionmerging the first line of excel in c# Pin
Pankaj Garg2-Apr-08 0:39
Pankaj Garg2-Apr-08 0:39 
GeneralXml Serialization with C# Pin
RichardContact-12-Apr-08 0:28
RichardContact-12-Apr-08 0:28 
GeneralRe: Xml Serialization with C# Pin
J4amieC2-Apr-08 1:08
J4amieC2-Apr-08 1:08 
QuestionHow do I Clear the contents of my Datagridview Pin
Quinton2-Apr-08 0:25
Quinton2-Apr-08 0:25 
AnswerRe: How do I Clear the contents of my Datagridview Pin
Luc Pattyn2-Apr-08 0:49
sitebuilderLuc Pattyn2-Apr-08 0:49 
GeneralRe: How do I Clear the contents of my Datagridview Pin
Quinton2-Apr-08 2:15
Quinton2-Apr-08 2:15 
QuestionMath Equations Pin
nike_arh1-Apr-08 23:56
nike_arh1-Apr-08 23:56 
GeneralRe: Math Equations Pin
Luc Pattyn2-Apr-08 0:07
sitebuilderLuc Pattyn2-Apr-08 0:07 
Hi,

you can solve a small fraction of all possible equations analytically; e.g. your first
example is a quadratic equation, where x^2 is the unknown. Since the discriminant is
negative, it will have four complex solutions, no real ones.
Your second example can be transformed into a pair of equations in s and c, where
s=sin(x) and c=cos(x), the second equation being s*s + c*c = 1

For plotting purposes you don't really need an analytic solution; you can just somehow
define the range that interests you, and calculate the function for several values inside
that range.

And you can always try and solve an equation of the form f(x)=0 by an iterative
approach, see e.g. Newton-Raphson algorithm.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

This month's tips:
- before you ask a question here, search CodeProject, then Google;
- the quality and detail of your question reflects on the effectiveness of the help you are likely to get;
- use PRE tags to preserve formatting when showing multi-line code snippets.


GeneralRe: Math Equations Pin
Russell Jones2-Apr-08 0:39
Russell Jones2-Apr-08 0:39 
Questionwindows application code(exporting datatable to .csv format) Pin
sharanabasava1-Apr-08 23:46
sharanabasava1-Apr-08 23:46 
GeneralRe: windows application code(exporting datatable to .csv format) Pin
Giorgi Dalakishvili1-Apr-08 23:53
mentorGiorgi Dalakishvili1-Apr-08 23:53 
QuestionHow to change animation in waitcursor in compact framework? Pin
scoroop1-Apr-08 23:26
scoroop1-Apr-08 23:26 
QuestionHow can i add tab bar using VS 2008 in WPF Application? Pin
bankey10101-Apr-08 23:17
bankey10101-Apr-08 23:17 
AnswerRe: How can i add tab bar using VS 2008 in WPF Application? Pin
Simon P Stevens2-Apr-08 1:53
Simon P Stevens2-Apr-08 1:53 
QuestionHow to call a c++ function from c# program Pin
sree1-Apr-08 23:14
sree1-Apr-08 23:14 
AnswerRe: How to call a c++ function from c# program Pin
N a v a n e e t h1-Apr-08 23:19
N a v a n e e t h1-Apr-08 23:19 
GeneralRe: How to call a c++ function from c# program Pin
sree1-Apr-08 23:33
sree1-Apr-08 23:33 
GeneralRe: How to call a c++ function from c# program Pin
Jonathan [Darka]2-Apr-08 0:19
professionalJonathan [Darka]2-Apr-08 0:19 
GeneralWTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:12
Harvey Saayman1-Apr-08 22:12 
GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:24
professionalphannon861-Apr-08 22:24 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:29
Harvey Saayman1-Apr-08 22:29 
GeneralRe: WTF??? AccessViolationException Issue Pin
phannon861-Apr-08 22:38
professionalphannon861-Apr-08 22:38 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:47
Harvey Saayman1-Apr-08 22:47 
GeneralRe: WTF??? AccessViolationException Issue Pin
Rob Philpott1-Apr-08 22:39
Rob Philpott1-Apr-08 22:39 
GeneralRe: WTF??? AccessViolationException Issue Pin
Harvey Saayman1-Apr-08 22:45
Harvey Saayman1-Apr-08 22:45 

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.