Search results

  1. D

    What percent of the universe is outside of galaxies?

    do you mean percent to decimal? I learned math through calc 3 and bout halfway through DE and some L.A. but I never learned Probability math. I would love to though. Can you recommend a good calc based entry text?
  2. D

    What percent of the universe is outside of galaxies?

    It seems like this sort of calculation would have already been done somewhere. Anyway here is how I need it to show up in my blog: If one were hypothetically to randomly relocate to anywhere in the universe, the chances that they would end up within a galaxy are about 1 in _______________...
  3. D

    What percent of the universe is outside of galaxies?

    Thank you for this reply! Could you please link me to a good source on this?
  4. D

    What percent of the universe is outside of galaxies?

    Summary:: What percent of the universe is outside of galaxies? Hello, What percent of the universe is outside of galaxies? I need this information for a writing piece I am doing. I need specifically to be able to state that if someone was to randomly relocate to somewhere else in the...
  5. D

    Boss asked me to create a spinnable image in a website, but . . .

    Hello David, Posting this for posterity. Turns out there is a native very good way to do this in Sketchup. I feel dumb for not looking into this up front. Here is my rotatable 3d model in 3d Warehouse: click on eyeball button then maximize using full-screen icon at bottom left of model...
  6. D

    Boss asked me to create a spinnable image in a website, but . . .

    . . . I'm not programmer, although I do have a basic knowledge of programming and have passed one college course in it. But this could be a foot in the door for me to become useful at something my company might want to expand into in the future. Here is what I am being asked to do. I...
  7. D

    Math Required to use OpenFOAM?

    context: I work for a guy who is interested in CFD. But he is a licensed engineer in the telecom industry (w/ an MS in Telecom) and has forgotten most of the Calculus he took in college. My current working math knowledge is through Calc 3 (Multidimensional.), and about half of standard course...
  8. D

    Beginner's approach to CFD software?

    Thank you for your reply. It is a good lead.
  9. D

    Beginner's approach to CFD software?

    This is mostly in relation to just hobby and that of aerodynamics for cycling, e.g. handlebars, wheels, body position, etc.
  10. D

    Beginner's approach to CFD software?

    I am currently an "intern" at a company for a position primarily involving drafting cell site equipment. That is going quite well. But the owner of the company (an old friend of mine) has asked me to look up computational fluid dynamics softwares and begin to tinker with one, because he is...
  11. D

    Win10 change in method of adding file to 'path'?

    I am trying to add 'pip' in Python/Scripts to path in Win10 but the method available to do this seems to have changed recently. I used to just double click on 'path' in 'system variables' and paste path to pip (or whatever) at the end of a string of similar paths separated by a semicolon. But...
  12. D

    Python Extract all the text between the repeated unique strings in a large file

    I will eventually need to get into XML and XML parsing related stuff. But I am kind of moving off the BeautifulSoup stuff at the moment, today I started learning some C++11 regex material. I am going to stick with that for a few days. Just curious. What if a page like UT Austin's Old Norse...
  13. D

    Python Extract all the text between the repeated unique strings in a large file

    yeah but I still want to know how to parse a file of text to grab and write (into new file) some text between a recurring set of unique character strings. There's got to be some simple C-like algorithm that is able to grab the desired text from a file and put it into a new file in some desired...
  14. D

    Python Extract all the text between the repeated unique strings in a large file

    Here is the sample text from testReg2.txt: abc blue candy is poisonous 123 abc green candy is SoCal 123 abc black candy is gothlicious 123 Here is the code attempt: import csv f = open('testReg2.txt','r') message = f.read() start = 'abc' end = '123' with open('some5.csv', 'w') as q...
  15. D

    Python Extract all the text between the repeated unique strings in a large file

    How do I use Python to extract all text that comes between a recurring set of unique strings? Example: ABC;the red dragon;123, ABC;the blue dragons;123 ABC;the black dwarf;123, ABC;the gray elves;123 ABC;fantasy characters;123, ABC;winged balrogs;123 I want to parse through a large text file...
  16. D

    Web Scraping Py Script Generates Error for Old Norse Chars

    thank you for reply, part of the problem is that I am still relatively new to Python and programming in general. Ok so on this page: https://docs.python.org/3/library/functions.html I noticed that for the function ' open() ' , one of the arguments is ' encoding= ' . So I put...
  17. D

    Web Scraping Py Script Generates Error for Old Norse Chars

    All I got to say is what a gosh-dang mess this character encoding crap is. The internet is all over the place on this. What i was hoping for was some standard fix for my code Anyway thanks Jedishrfu for your reply. I am still trying to figure this out.
  18. D

    Web Scraping Py Script Generates Error for Old Norse Chars

    I have posted the Python code up front. See my question/inquiry below it. from urllib.request import urlopen from bs4 import BeautifulSoup import csv html = urlopen("https://lrc.la.utexas.edu/eieol_master_gloss/latol/1") bsObj = BeautifulSoup(html) nameList = bsObj.findAll("strong") with...
  19. D

    Why does entering '0' terminate do-while loop here?

    I am relatively new to programming and C++ and for the life of me I can't figure out why entering a '0' as input in the do-while loop here terminates the loop. // vector::push_back #include <iostream> #include <vector> int main () { std::vector<int> myvector; int myint; std::cout <<...
  20. D

    I Zill DE text says (y-x)dx+(4xy)dy=0 can be rewritten as...

    Zill DE text says (y-x)dx+(4xy)dy=0 can be rewritten as: 4xy'+y=x Am I missing something? I got 4xyy'+y=x instead. Very rarely have I ever required starting a thread in a forum to resolve something as seemingly trivial as this but I just want to verify whether this is a typo or not. Here...
  21. D

    Rate of change question (pretty confusing)

    A piece of writing advice. You don't really need to put exclamation marks in everything you write. At some point it starts to lose its meaning. In fact, in a math homework forum I dare say an exclamation point would probably never be necessary.
  22. D

    Ln(t) - t = 2; Solve for 't'?

    Homework Statement Is there a simple way to solve for 't' in the equation: ln(t) - t = 2 ? Just a curiosity. Not for a class. I've browsed to texts that cover logarithmic equations and haven't found a single problem or rule say how to solve for 't'. Homework Equations...
  23. D

    Python How to stop execution in python's Idle?

    ctrl-c worked for the loop. I ran the power calculation again to check performance in task manager. CPU usage of my Intel E8400 hovers around 55% with ram usage around 1.27gb(out of 4). I was definitely trying to compute it. Right now I am just letting it continue. Also, before...
  24. D

    Python How to stop execution in python's Idle?

    Perhaps I should have been more clear. I am completely aware that the calculation was outside the range of computationability. That is precisely why I attempted it. I wanted to see how python Idle would respond to it, i.e. whether it would give me a particular error message. Then when it...
  25. D

    Python How to stop execution in python's Idle?

    I scoured internet for answer to no avail. I am new to python and was toying with large calculations, 99999**999999999 for instance, and Idle started running and became completely non responsive. Ctrl-c didn't work. The menu in shell became non-responsive. I had to x-out & restart Idle...
  26. D

    Wave on a string: time from y=2mm to -2mm. Amp. & Omega given. Best method?

    Homework Statement If y(x,t) = (6mm)sin(kx + (600rad/s)t + theta) describes a wave traveling along a string, how much time does any given point on the string take to move between displacements y = +2 mm and y = -2 mm? All known data are stated in above problem. Homework Equations I...
  27. D

    Fortran Newb Success! Gfortran & G77 in Vista. Step by Step Tutorial.

    Thanks for taking the time to answer me. I really am doing this stuff by myself. In fact, I started another thread elaborating more broadly on my situation.
  28. D

    Non Student Teaching Self Physics: Question about Science Programming Languages.

    My situation is that I taught myself Calculus 1, 2 and some 3 over the last year, and the better part of Freshman physics for majors, mechanics and EM. I bought 4 texts to learn from: Halliday, Tipler, Giancoli, and Young and Freedman. And I just started learning Diff. Eq. & Linear Algebra...
Top