Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
chemical
- Page 1
Chemical Equation Balance using Linear Algebra
Programming
Computer Science
13 Years Ago
by michaelzip
Hi. Can you help me how to balance a
chemical
equation using linear algebra. I know how to do it … don't have a problem anymore on extracting the values,
chemical
symbols, and coefficients. My professor gave me until May 10…
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by Clinton Portis
…string symbol; string temp; term package;
chemical
compound; //Extract any leading coefficient while…leading_co += bunch_of_terms[i]; i++; } do{ //Extract
Chemical
Symbology while(isalpha(bunch_of_terms[i])) { symbol += bunch_of_terms[i…
Balancing chemical equations
Programming
Software Development
14 Years Ago
by dejandenib
… solution for this? the program should output how can the
chemical
equation be balanced (which are the coefficients) 28th ACM International… Collegiate Programming Contest, 2003-2004 Asia Region, Tehran Site Balanced
Chemical
Equations Sample Input 3 HCl+CaO2H2=CaCl2+H2O HCl+H2SO4…
Generalized matrix inverse method for balancing chemical equation and their stability
Programming
Software Development
14 Years Ago
by rahul.nutron
… have to develop a c program which can balance a
chemical
equation by the method of 'Generalized matrix inverse method for… balancing
chemical
equation and their stability'. But I am using a little…
Balancing a Chemical Equation in Java
Programming
Software Development
11 Years Ago
by requimrar
… copying stuff anyway) Either way... I want to balance a
chemical
equation. However, I don't need help on parsing a… working on. I also know that I can balance a
chemical
equation mathematically using matrices and a set of simultaneous equaations…
Programming Chemical Equations
Programming
3 Years Ago
by Rudrakshi Rajalaxmi
I have checked various sites about, "**How to balance
chemical
equations thru programming by usiong python or c++ ?**." They all have simple easy equations, but how do we programme
Chemical
Equations which consist **Ions/ Hydrates**. If some one knows how to do that please respond. A slight idea can help me too.
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by Clinton Portis
I am intruiged with this assignment.. although it's been years since I balanced a
chemical
equation.. I would find this to be a fun challenge. You teach me how to balance
chemical
equations.. I'll give you some code. Start me off with something simple.. and I'll code you an answer (as much as I can in accordance with daniweb policy.)
How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by coldkiller
I am working on a equation balancer for my 12th class computer science project.But somehow i am not able to balance the
chemical
equation.Please if anyone can provide me the source code it will be a great help.Urgently needed!
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by bamcclur
[QUOTE=coldkiller;1058789]I am working on a equation balancer for my 12th class computer science project.But somehow i am not able to balance the
chemical
equation.Please if anyone can provide me the source code it will be a great help.Urgently needed![/QUOTE] How far have you gotten on your own? Can I see your code?
Re: Chemical Equation Balance using Linear Algebra
Programming
Computer Science
13 Years Ago
by rubberman
So, show how you solve this on paper. Then we can probably help you reflect that algorithm as pseudo code that you can fairly easily implement in a number of programming languages.
Re: Chemical Equation Balance using Linear Algebra
Programming
Computer Science
13 Years Ago
by michaelzip
I will use the example above, Fe + Cl2 = FeCl3 Fe on left hand side has 1 atom, same with the right hand side so they are equal. Cl on left hand side has 2 atoms, and 3 atoms on the right hand side. To make Cl equal, I am adding 3 more Cl on left hand, and 2 on the right hand so that makes [B]Fe + [U]3[/U]Cl2 = [U]2[/U]FeCl3.[/B] They aren't …
Re: Balancing chemical equations
Programming
Software Development
14 Years Ago
by TeejMonster
A bit of a tall order. An application like this (written from scratch) would take a lot of work. First, it would have to be able to recognize individual elements symbolically, then it would have to iterate through solutions and reduce. Why not take a whack at it yourself and then post if you get stuck?
Re: Balancing chemical equations
Programming
Software Development
14 Years Ago
by aidvllasaliu
I agree with TeejMonster!
Re: Generalized matrix inverse method for balancing chemical equation and their stability
Programming
Software Development
14 Years Ago
by rahul8590
a similar problem has already been asked in this forum [URL="http://www.daniweb.com/forums/thread238596.html"]http://www.daniweb.com/forums/thread238596.html[/URL] i guess u will find ur answer there
Re: Balancing a Chemical Equation in Java
Programming
Software Development
11 Years Ago
by bguild
Start by counting the number of substances involved, including both reactants and products. That will be the number of columns of your matrix. Since your equation is already parsed, I expect that number is easily obtained. Next you create a list of the elements involved. For example if H2O is a product then that would mean H and O would need to be…
Re: Programming Chemical Equations
Programming
3 Years Ago
by rproffitt
I don't see how to condense all you would need to know in this space. Looking at https://pythoninchemistry.org it appears you spend quite a few months working at this.
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by coldkiller
Balancing a equation is quite easy. Like take this equation for an example Al + O2 = Al2O3 Oxygen gas is diatomic, which means that the oxygen atoms, like policemen, go around in pairs. A molecule of aluminium oxide consists of two aluminium atoms combined with three oxygen atoms. Actually, technically the word "molecule" is …
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by coldkiller
There are also redox reactions which include balancing through electrons and oxidation state,but that is not needed because it will make the program very complex and lengthy.
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by Clinton Portis
[quote] 1. We'll have to prompt for an equation that we can understand. We can identify individual reactants easily. We can assume than any compound that begins with a number is a coefficient, any subsequent numbers in the compound will be subscripts. With this protocol established, we can make life a little simpler for the user in that they can …
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by Clinton Portis
This: [CODE] #define LEFT TRUE; #define RIGHT FALSE; [/CODE] should be this: [CODE] #define LEFT TRUE #define RIGHT FALSE [/CODE]
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
14 Years Ago
by coldkiller
thanks clinton portis the code was really a big help and at last i created 1st of my list of projects and ya thanks again for complementing my copy/paste skills.I use turbo C++ and many of the functions that you defined were not available in it but it was not a big problem.Cheers
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
10 Years Ago
by naveen.nagabhushan
How to modify this for C ? There is no scope resolution operator in C. Please help
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
10 Years Ago
by Lerner
To clarify terminology, I think of the scope resolution operator in C++ as the double colon, ::. I don't see that in Clinton's code, but I may have missed it. That being said: 1) Don't resurrect dead code. If you want to base your code off of this post, then start your own post sections of code you don't understand. 2) Porting code from one …
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
7 Years Ago
by Maria Noel
Can you please please help me on how to make a program that can balance equation?
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
7 Years Ago
by Maria Noel
Programming codes for balancing equation
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
7 Years Ago
by happygeek
Hi Maria - see the rules (https://www.daniweb.com/welcome/rules) in particular: provide evidence of having done some work yourself if posting questions from school or work assignments. Now, bearing that in mind, would you care to show us how far you've got so far in terms of your code and explain exactly where it is you are getting stuck?
Re: How to write a program in C++ which balances chemical equations?
Programming
Software Development
5 Years Ago
by Hariharan_1
Hey Clinton Poris and others who are working on this project. iam Harihran and iam a 12th class student and iam also working on the same project I saw your(Clinton Poris) code I tried to it it my c++ but, was unable to make it. so, if u dont mind can u please convert it to c++
HELP. illegal case and illegal break O.o
Programming
Software Development
12 Years Ago
by iAMyours
…MECHANICAL PROPERTIES: "; cout<<"\n
CHEMICAL
PROPERTIES: "; cout<< " …MECHANICAL PROPERTIES: "; cout<<"\n
CHEMICAL
PROPERTIES: "; cout<< " …MECHANICAL PROPERTIES: "; cout<<"\n
CHEMICAL
PROPERTIES: "; cout<< "…
Dealing with Structure (Database)
Programming
Software Development
11 Years Ago
by thexile
… them contains additional information (e.g.
Chemical
Name,
Chemical
Formula,
Chemical
type, State of the
chemical
, Antidote name etc). If I want…expiry[11]; //format dd/mm/yyyy } add_info; } database; database
chemical
; FILE *chemStore; void Append_Database (void); void Search_Name (void); void …
Unexpected output
Programming
Software Development
13 Years Ago
by KAY111
…gt; radiological terrorism </T> <T>
chemical
, or radiological terrorism </T> <T>… proteins toxic protein terroristic
chemical
attacks
chemical
terroristic attacks terroristic bombing
chemical
terrorism antiterroristic terroristic
chemical
attack
chemical
terrorism
chemical
-related events ..... But …
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC