Recent content by Bimpo

  1. B

    Solving Unix Script Problem: Finding #s w/ 5 1-4321

    nvm solved it just going to add this for future people whos going to look up this kind of problem in google if [[ $current = *[5] ]] ; then
  2. B

    Solving Unix Script Problem: Finding #s w/ 5 1-4321

    Homework Statement Trying to find how many numbers contains 5 between 1 to 4321 Homework Equations n/a The Attempt at a Solution #!/bin/bash typeset -i current=1 typeset -i times=0 while [ $current -le 4321 ] ; do if [ ] ; then <<<<<<<<<<< stuck here, not sure what...
  3. B

    Integration by partial fraction problem (∫dx/x(x^2 + 4)^2)

    sorry for late response but thanks for the replies
  4. B

    Integration by partial fraction problem (∫dx/x(x^2 + 4)^2)

    Homework Statement I came across a problem that I can't solve and it is ∫dx/x(x^2 + 4)^2 Homework Equations None The Attempt at a Solution So I'm pretty sure this is to be solved by partial fraction since I am on a chapter on Integration by partial fraction. so I started with...
  5. B

    Finding Files with Capital Letters Only in Shell Script

    Homework Statement I have a really basic task in which I have to make a shell script, pipe ls to grep and only output files that has capitals in it, meaning no lower case, no symbols, no numbers, etc. I've been searching all over google and my notes but I've been doing this over an hour...
  6. B

    Solving ∫x sin^3x dx with Integration by Parts

    Ok, I do that then I'll get something like: = 1/2∫(1-cos2x)xsinx dx = 1/2∫xsinx - ∫xsinxcos2x dx <-- I get stuck here
  7. B

    Solving ∫x sin^3x dx with Integration by Parts

    Homework Statement Finding ∫x sin^3x dx Homework Equations I don't think this is needed The Attempt at a Solution ∫x sin^3x dx using integration by parts u = x, du = dx, dv = sin^3x, v = 1/3cos^3x - cosx = (x)(1/3cos^3x - cosx) - ∫1/3cos^3x - ∫cosx dx = (x)(1/3cos^3x - cosx) -...
  8. B

    Comp Sci Java - Solving a problem, getting an error

    Thanks a lot, really. For some reason I am blind today, and my brain isn't functioning properly Thanks for pointing out the errors! as for error destroy, for Math.min and Math.max it won't let me compare something that didnt exist so i used it as a point in which i would let it allow to start...
  9. B

    Comp Sci Java - Solving a problem, getting an error

    Hey guys, there is this problem from my school in which I'm having troubles.. This code is from past school lab (assignment) assigned a loong time ago And I figured I would go back to it, to practice my coding skill, since I wasn't able to solve it back then. So here is the code...
Back
Top