Tagged Questions

The tag has no usage guidance.

34 views

Single slit diffraction simulation (mathematica) [on hold]

I'm trying to simulate the Fraunhoffer diffraction at slits(single,double,triple) with Mathematica. In the picture, the red one is analytical result and the green one is numerical result. The ...
180 views

Potential function - numerical simulation

Using MATLAB, I fixed the potential in a region inside a rectangular plate (100 V) and in the border (50 V). I got the following result of the potential along the plate: I can't find an intuitive ...
29k views

Free Optics Simulation Programs

I'm having an extremely difficult time finding an optics program that is easy to use and offers accurate physics simulations. I'm not asking for much, I just want to be able to simulate a laser going ...
11 views

Newton's law - satellite position (in 2D) for specific moment of time [closed]

I’m trying designate function that calculate satellite position (2 dimensional) for specific moment of time for better understanding Newton's law of gravity. To verify my calculations I created second ...
27 views

Total eigenvalues [closed]

I have a program as shown below: ...
20 views

Young's modulus graphene nanoribbons [closed]

How to calculate volume and young's modulus in graphene nanoribbons? How to calculate second derivative Total energy on the strain? Band structure of graphene nano-ribbons is the code below: ...
87 views

Gravitational field of thin 2D ring - numerical simulation

I'm aware of Newton's Shell Theorem, which states that inside of a thin ring of uniform density, the gravitational force exerted on a point mass should be zero. I wrote a quick field simulation to ...
66 views

Cavity resonator modelling and simulation of em fields inside the cavity

I want to model a cylindrical cavity resonator and study the different modes of em fields inside it using MATLAB/COMSOL. Please refer me books/articles or other resources so that I can achieve my goal....
205 views

Kinematics equations of motion find x position in 2D from height

I have a question and I thought of 2 possible ways to answer it however the resulting answers are different which means I must be doing something wrong in my calculations. All the below happens 2 ...
357 views

Solving the Three-body problem numerically

I want to create a program in $Mathematica$ that solves numerically the Three-body problem by Euler-Lagrange's equations. I was searching some methods to sucessfully do it. So I found a way to solve ...
2k views

Effective refractive index calculation of fiber core

Can someone pls explain what is effective refractive index of fiber core and how to calculate it theoretically? Suppose the fiber core refractive index=1.4446 and cladding refractive index is= 1.4271, ...
120 views

Using the Fourier transform to find the natural frequencies of coupled oscillators

How can I find the natural frequencies of a system consisting of a pair of coupled oscillators using Fourier transforms? The System consists of two masses and three springs. One of the springs ...
318 views

Determing Velocity of Moons

I have a question that I believe is relatively easy to answer, I am working on an $N$-body simulation of a fictional star system and am having trouble finding the velocity of moons so that they will ...
72 views

How to plot numerically the wave functions according to the Hamiltonian?

It is often difficult to analytically solve the Schrodinger equation, and so we need to obtain a solution numerically. An example plot is shown below. Here, the wave functions for a three junction ...
36 views

Mathematica code for self-consistent field loop in Hartree-Fock method

I want to write a Mathematica code for Hartree-Fock treatment of helium (or hydrogen molecule-> namely two electrons systems) , but I don't know how to write a loop for self consistent field procedure....
30 views

51 views

Gravitational waves: simulations of signal

I am self-learning GR. I was wondering if there is any open source software to help learn more about the signal processing of gravitational waves. E.g. a software that injects a signal into random ...
39 views

C libraries for Solid State Physics

During last year I've attended courses of solid state physics, and I studied methods for bands structure calculations in the Hartree Fock framework. However, I know only theoretical aspects of these ...
57 views

Physical pendulum dynamics confusion

I'm validating a Matlab Simulink SimMechanics model analytically. The model consists of a physical pendulum (uniform rod with length $l$ and width $w$) which is torque driven. I'm somewhat confused ...
18k views

Where can I find simulation software for electricity and magnets?

Is there easily-available* software to simulate coils, solenoids, and other magnetic and electromagnetic devices? I'd like to play around with some design ideas, such as Halbach arrays, but physics ...
51 views

Calculate gravity between two points

I am trying to build a simulation of gravity in LibGDX using Bullet physics. To simplify it, I just want to apply a force on some body towered a (0,0,0) point. I got my body mass and it's location ...
134 views

How are these modern, sexy physics figures made? [closed]

I am curious to know how the figures in these popular introductory physics textbooks are made. As examples of what I mean, see the posted figures and my comments, all from various editions of Serway ...