Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

do my homework!

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

in reply to Do my homework for me!

balance the equations in this pdf

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


        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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2022-01-17 08:06 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (51 votes). Check out past polls.