Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

do my homework!

by joshuaalex (Initiate)
on Dec 10, 2008 at 03:17 UTC ( [id://729324]=note: print w/replies, xml ) Need Help??


in reply to Do my homework for me!

balance the equations in this pdf http://rapidshare.com/files/171949592/formulabalance2.pdf.html

Replies are listed 'Best First'.
Re: do my homework!
by marto (Cardinal) on Dec 10, 2008 at 11:31 UTC

    No problem, but only if you do my laundry.

    Seriously though, if someone provides the solution to your homework you don't get any benifit. Come exam time are you plannig to try to use an iPhone (or similar) to upload photos of each question to rapidshare and ask on forums for people to get back to you with the answer?

    I'd recommened getting practice at balancing the equations yourself. IMHO cheating in exams rarely works out well in the long term (see the Kobayashi Maru test for a fictional exception).

      i want to make sentence with the folloing words; flexibility, equivalent, significant, expenditure' budget, disparities, incentives,and inflastructure.

        I'm sorry, but what does this have to do with my laundry? :P

        Martin

        Correct a couple of minor typos and voila. Here is your sentence:

        I want to make sentence with the following words; flexibility, equivalent, significant, expenditure, budget, disparities, incentives,and infrastructure.

        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
        dude u suck those are easy words to get sentences form
Re: do my homework!
by Anonymous Monk on Dec 10, 2008 at 06:52 UTC

    Assuming you want to solve this problem with perl (why else ask perlmonks?), you'll want to:

    • Read the PDF: try PDF::API2
    • Extract the equations: use some kind of regex
    • Balance the equations: you could use some kind of diophantine equation solver. There's probably some elegant solutions out there. But this is homework for human beings. Coefficients are likely to be low. Brute force shouldn't be too bad in this case.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://729324]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found