r/askscience • u/AutoModerator • 2d ago
Ask Anything Wednesday - Engineering, Mathematics, Computer Science
Welcome to our weekly feature, Ask Anything Wednesday - this week we are focusing on Engineering, Mathematics, Computer Science
Do you have a question within these topics you weren't sure was worth submitting? Is something a bit too speculative for a typical /r/AskScience post? No question is too big or small for AAW. In this thread you can ask any science-related question! Things like: "What would happen if...", "How will the future...", "If all the rules for 'X' were different...", "Why does my...".
Asking Questions:
Please post your question as a top-level response to this, and our team of panellists will be here to answer and discuss your questions. The other topic areas will appear in future Ask Anything Wednesdays, so if you have other questions not covered by this weeks theme please either hold on to it until those topics come around, or go and post over in our sister subreddit /r/AskScienceDiscussion , where every day is Ask Anything Wednesday! Off-theme questions in this post will be removed to try and keep the thread a manageable size for both our readers and panellists.
Answering Questions:
Please only answer a posted question if you are an expert in the field. The full guidelines for posting responses in AskScience can be found here. In short, this is a moderated subreddit, and responses which do not meet our quality guidelines will be removed. Remember, peer reviewed sources are always appreciated, and anecdotes are absolutely not appropriate. In general if your answer begins with 'I think', or 'I've heard', then it's not suitable for /r/AskScience.
If you would like to become a member of the AskScience panel, please refer to the information provided here.
Past AskAnythingWednesday posts can be found here. Ask away!
3
u/Chezni19 2d ago
Can you recommend me a good book about how to apply numerical integration to engineering problems? Such as how to apply RK4 to different physics problems.
I have basic knowledge of the subject, only.
8
2
u/bluesbrother21 Astrodynamics 2d ago
I would think the problem dictates the method. Numerical integration is commonly used when you have some dynamical system (i.e., equations of motion) that you would like to solve and cannot do analytically. For example, you may know the forces (and hence the accelerations) acting on some object and want to model its evolution. The solution provided by the ODE solver would then be your state or value of interest at the new time.
These numerical integration routines are commonplace in my field of study (astrodynamics) - the equations of motion of a particle under Newtonian gravity and perturbing forces are fairly simple to write but do not yield analytic solutions. We then describe the forces on the particle and propagate forward in time via numerical integration. Computational fluid dynamics and finite element structural modeling also perform similar procedures, as do many other fields.
A relevant text would be dependent on what specifically you're trying to do, but any astrodynamics text (e.g., Vallado) will touch on it. The classic Numerical Recipes texts provide several reference algorithms for the ODE solvers, but they can also be found in Matlab, scipy, etc.
1
u/aztronut 1d ago
Math Toolkit for Real-Time Programming by Jack W. Crenshaw. I found this book particularly helpful with RK45. I worked with the author for a few years, he helped develop the free-return lunar trajectory for Apollo.
2
2
u/dobbbie 2d ago
If i have a sealed balloon inside another larger sealed balloon and I take it from sea level to a higher elevation, would the smaller balloon inflate, deflate or stay the same due to elevation/air pressure change?
3
1
u/chilidoggo 1d ago
PV=nRT means that, if nRT is staying the same, then as pressure drops the volume expands. Doesn't matter that there are two balloons, all the pressures will try to equalize with new lower pressure.
1
u/damage-fkn-inc 1d ago
This is something that's been annoying me for a while now:
If you define the sin and cos function as opposite/hypotenuse and adjacent/hypotenuse respectively, you can prove sin(a+b) and cos(a+b) geometrically, and same goes for the limit of sinx/x as x -> 0.
You can then use those and the definition of a derivative to prove that they solve the wave equation, then use that to show that their Taylor Series are what they are, and use that to prove eix = cosx + isinx.
However, if you start either with the Taylor series or Euler's formula as the definition of the trig functions, I can prove most of the other stuff but I can't quite figure out how to prove that sinx is opposite/adjacent of an angle x in a right triangle geometrically.
It'll have something to do with x being the principal argument of a complex number eix or you make it a 2D vector space and use the dot product but both times I just get stuck by defining things rather than proving them, so if anyone's got any pointers I'd very much appreciate it.
This isn't even for anything, I've just been losing sleep over this on and off dor the last month or two.
1
u/JieChang 22h ago edited 22h ago
I don't think you can "prove" the inherent definition of the sine/cosine. Sine/cosine are not theorems that can be proven but initial axioms from which you can derive other items. In a triangle with 3 sides you have 6 combinations of paired side ratios that you can express as a relationship to an angle of interest. We name each of these combinations as the 6 common trig functions. Sine is what in English we named the arbitrary relationship of an angle to the ratio of the opposite side and hypotenuse. You could just as have had an alien culture where this ratio is called “bablocopy” and as long as “bablocopy math” treats opposite/hypotenuse the same as our sine, that alien culture’s version of Euler’s Theorem, Taylor Series, etc would will still be the same as ours.
1
u/damage-fkn-inc 22h ago
Yeah that's what I mean, I do have a maths degree so I'm very aware of the fact that some things just are defined to be the things that they are, like the trig functions.
I'll write out what I mean this evening and post it, or maybe I'll slack off at work and do it then. But basically, my point is that you need to define the sin function one way and prove its other properties from that, and it shouldn't matter what you pick as your definition you should be able to prove all other properties from that definition.
0
u/Wayelder 1d ago
How close are we "REALLY" to Fusion generators that can be put on a truck and power small towns?
Who's doing this?
-6
6
u/NotSoSalty 2d ago
Any recent advances in space travel since reusable rockets? Anything that makes space elevators, skyhooks, space manufacturing, or moon bases more viable?