Recent content by epr2008
-
E
Book on the mathematical theory of continuum mechanics
I was wondering if anyone knows of a good book on the mathematical theory of continuum mechanics. I have looked online, and the only ones I can seem to find are like your average physics or applied mathematics book. I want something with rigorous theoretical formulation of the subject. It...- epr2008
- Thread
- Book Continuum Continuum mechanics Mathematical Mechanics Theory
- Replies: 3
- Forum: Science and Math Textbooks
-
E
Base Conversion in C | Check WolframAlpha Results
I'll do that when I have some free time. Thanks for the information though. It's always a good feeling when you get a program right the first time through :)- epr2008
- Post #9
- Forum: Programming and Computer Science
-
E
Base Conversion in C | Check WolframAlpha Results
Oh thank you! I did not know that. Is there somewhere that I can read more about this?- epr2008
- Post #7
- Forum: Programming and Computer Science
-
E
Base Conversion in C | Check WolframAlpha Results
I figured that I would post a few where they are the same also: 3623847 in base 39: My code: (x)_{b} = (3623847.000000)_{39} = 1223216.000... Wolfram: 1223216_{39} 10 in base 4.16273 My code: (x)_{b} = (10.000000)_{4.16273} = 21.231202... Wolfram: 21.2312021013..._{4.16273} 10 in base...- epr2008
- Post #5
- Forum: Programming and Computer Science
-
E
Base Conversion in C | Check WolframAlpha Results
I was thinking that it may actually be machine error.- epr2008
- Post #4
- Forum: Programming and Computer Science
-
E
Base Conversion in C | Check WolframAlpha Results
Sorry about that, I was trying to format the code in the physics forum box and add comments and I guess I messed that loop up. But here are some examples: 10 in base 3.14159: My code: (x)_{b} = (10.000000)_{3.14159} = 30.121201... Wolfram: 100.01022123001..._{3.14159} 1230293 in base 3.10293...- epr2008
- Post #3
- Forum: Programming and Computer Science
-
E
Base Conversion in C | Check WolframAlpha Results
I have been working on coding a program that works for all bases, including non-integers. I have been checking it against wolframalpha, and so far, my code works for a decent amount of bases, but at the same time has trouble with others... For instance it seems to have a tolerance in the...- epr2008
- Thread
- Base
- Replies: 8
- Forum: Programming and Computer Science
-
E
Python How to Solve N-body Problem with Python using Euler's Method?
I'm guessing you are referring all of the for loops in my main module btw and the fact that I explicitly wrote the method for Euler's method in my class module. I was planning on cleaning it up once I got it working. I have been working on thinking more logically when programming. Thanks for the...- epr2008
- Post #9
- Forum: Programming and Computer Science
-
E
Python How to Solve N-body Problem with Python using Euler's Method?
No, not at all, I definitely appreciate the criticism. That was what I was hoping for. Like I said I just started learning how to program about a month ago. I have found that it's a lot more difficult to catch errors than with using a pencil and paper. Do you have any recommendations for...- epr2008
- Post #8
- Forum: Programming and Computer Science
-
E
Python How to Solve N-body Problem with Python using Euler's Method?
Also, I was wondering if my coding technique was convoluted or relatively clean for someone who just began learning? I usually go for organization as opposed to efficiency, then again I have realized that sometimes they go hand in hand.- epr2008
- Post #6
- Forum: Programming and Computer Science
-
E
Python How to Solve N-body Problem with Python using Euler's Method?
Thanks DH, caught this earlier but I didn't have time to post the updated code. It still does not change the result though, the planar components of the satelite body are still moving away from the origin, linearly. I tried it with actual values for Jupiter and the sun, and still no change. I'll...- epr2008
- Post #5
- Forum: Programming and Computer Science
-
E
Python How to Solve N-body Problem with Python using Euler's Method?
I was wondering if anyone could by any chance give me some help. I used Euler's method and the program runs, however, it doesn't give the correct solution. I honestly have no idea what's happening in the program, the problem has to be in the way I implemented Euler's Method. But I can't seem to...- epr2008
- Thread
- N-body problem Python
- Replies: 10
- Forum: Programming and Computer Science
-
E
Graduate Parametrization of a regular planar polygon with an arbitrary number of sides
Oh wait you're talking roots of unity! Duh! Wow my bad lol -
E
Graduate Parametrization of a regular planar polygon with an arbitrary number of sides
Yes, I know I could take the real and imaginary parts of that as the x and y vectors but I meant in terms of x and y or r and theta without introducing a parameter t. I guess it's easier for me to see what's going on this way For instance, for n= 4 \begin{array}{l} {{\vec P}_4}\left( {x,y}... -
E
Graduate Parametrization of a regular planar polygon with an arbitrary number of sides
My bad, I meant the boundary. And I was looking for a more of a vector representation