Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Best practices
2 votes
1 replies
55 views

I need an analytic solution for a 1D motion controller. Initial state: x=0, v=0. Parameters: a_acc = 50, a_dec = 30, v_max = 40. Given a target position (e.g. x=20) the object should: accelerate up ...
0 votes
0 answers
40 views

Please help me refine the ray tracing code of the Stretcher Offner in MATLAB. I used the formulas from the article to plot graphs from Figure 3, showing the dependence of the group delay on the ...
0 votes
1 answer
53 views

I am in the process of making an active ragdoll character in ue5.6. I have gotten the ragdoll walking, grabbing, hanging, jumping, and all sorts of fun stuff. But I am currently stuck on how to make ...
2 votes
0 answers
62 views

Is there any python package to compute ekman velocities in the water column from wind data observations? I have wind direction and velocity on an specific location and I would like to obtain a ...
1 vote
2 answers
139 views

I need to use the function erfz (error function that takes complex arguments) for fitting Voigt profiles. It seems like it is only implemented in R in the pracma package as erfz(z). I tried to ...
-1 votes
1 answer
133 views

With a 2d physics simulation in JavaScript I am trying to determine the second focus of an ellipse. My system's eccentricity is too low. The point moves around too much and isn't where it should be. ...
0 votes
0 answers
85 views

I've been trying to make this code into a function and gather the wave number, but how do I get the frequency and then collect the data bt changing the wave number and then graphing. Below here is the ...
2 votes
1 answer
218 views

I want to create a website that can repeat that experiment from Youtube video. And i made it, its working, but it has problem: when input number is entered above 2-3 thousand, the big block, when ...
3 votes
1 answer
367 views

I have a rather complicated physics-model (Thomas Hopfield model from https://www.researchgate.net/publication/...
1 vote
2 answers
107 views

I am trying to create a function which receives the transversal profile of a beam and outputs the transversal profile propagated by some distance. To exemplify the task, here is the profile of a ...
1 vote
1 answer
221 views

I'm implementing the Fast Multipole Method (FMM) for Coulomb interactions, following "A Short Course on the Fast Multipole Method" by Leslie Greengard: http://math.nyu.edu/faculty/greengar/...
2 votes
1 answer
172 views

Here's my code that I've made to simulate two neutron stars resulting in a kilonova: import numpy as np import matplotlib.pyplot as plt G = 6.6743e-11 c = 299792458 R_ns = 12000 m1 = m2 = 3.5e31 ...
0 votes
1 answer
106 views

I am trying to write a code which propagates a beam a certain distance through Fourier propagation. Here is the relevant excerpt of the code: import numpy as np import scipy from matplotlib import ...
0 votes
0 answers
54 views

I'm developing an A-Frame (HTML/JS) project for use on Meta Quest 1 and on PC via Netlify to create a simple VR escape game. I want to add physics (collisions, gravity on objects, impassable walls) ...
6 votes
1 answer
161 views

I'm trying to plot some data with a non-linear fit using the function: kB and Bv being a constant while J'' is the independent variable and T is a parameter. I tried to do this in Python: #Constants ...

15 30 50 per page
1
2 3 4 5
...
241

AltStyle によって変換されたページ (->オリジナル) /