Class Notes (839,189)
Canada (511,223)
Philosophy (1,521)
PHL100Y1 (465)
all (18)
Lecture

BuildMoleculeEthylene.java.txt

2 Pages
125 Views

Department
Philosophy
Course Code
PHL100Y1
Professor
all

This preview shows 80% of the first page. Sign up to view the full 2 pages of the document.
Description
package coreimport javaioIOExceptionimport chemaxoncalculationscleanCleanerimport chemaxonformatsMolExporterimport chemaxonstrucExample class for structure manipulation Creates ethylene CCCCatom by atom author Andras Volford Miklos Vargyaspublic class BuildMoleculeEthylene public static void mainString args throws IOExceptioncreate an empty MoleculeMolecule mnew Molecule create a Carbon atomMolAtom a1new MolAtom6 and add it to the molecule madda1 create anoter Carbon atomMolAtom a2new MolAtom6 and add it to the moleculemadda2 create a bond between atoms bond order MolBond bnew MolBonda1 a2 2maddb
More Less
Unlock Document

Only 80% of the first page are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit