TransWikia.com
  1. All Categories
  2. Computational Science

Computational Science : Recent Questions and Answers (Page 22)

Find answers to your questions about Computational Science or help others by answering their Computational Science questions.

Drawbacks of Newton-Raphson approximation with approximate numerical derivative

Suppose I have some function $f$ and I want to find $x$ such that $f(x)approx 0$. I might use the Newton-Raphson method. But this requires that I know the derivative...

Asked on 05/08/2021 by Mark Dominus

2 answer

Range of a matrix from its complete orthogonal decomposition

In this StackOverflow answer, @Gokul has shown how to get a basis of the kernel of a matrix with the help of the 'Eigen' function CompleteOrthogonalDecomposition. The complete...

Asked on 05/04/2021

1 answer

Technique to find the CFL condition using the Galerkin method in space and finite-difference in time?

I am using the Galerkin method (Discontinuous to be precise) to discretize in space the scalar linear wave equation and the explicit second order centered finite difference scheme to discretize...

Asked on 05/03/2021 by lucmobz

1 answer

Complex Eigenvalues using eig (Matlab)

I wanted to find and plot the eigenvalues of large matrices (around1000x1000). But discovered when using the eig function in matlab, it gives complex eigenvalues when it shouldn't. For example,...

Asked on 05/03/2021 by I Amx

2 answer

Difference between LP optimization and GLPK optimization

I've seen two different optimizers being used, but both with a different solver. One uses PULP_CBC_CMD and the other uses GLPKSolverMIP() can someone explain to me the difference in these...

Asked on 05/02/2021

1 answer

Solution of an underdetermined system stemming from a PDE with Neumann BC

Consider the Poisson's equation in 1D with homogeneous b.c.'s $mathrm{d} phi/mathrm{d} x=0$ with the seven point Laplacian (1 -54 783 -1460 783 -54 1 / 576 on a uniform...

Asked on 04/30/2021 by Vladimir F

0 answer

Draw magnetic field lines or vector field of a magnetic dipole - Python/Matplotlib

In the Wikipedia article on magnetic moments, subsection "Effects on environment" defines the magnetic field H of a magnetic dipole moment. Additionally the magnetic field lines of...

Asked on 04/30/2021

3 answer

Questions about Python

I have been using python to do algebraic calculations, but at many times when writing 1/2 Python writes 0.5, but I wanted you to write 1/2 and only when needed,...

Asked on 04/29/2021 by mhpedro

1 answer

How to efficiently perform this 2D integral in Quadpy?

I need to integrate a function defined in 2Dims (z and radius r), for which I don't have an expression. I can just query the function at any position (z,r)...

Asked on 04/26/2021 by velenos14

0 answer

What makes a good computational grid?

Most computational methods for solving PDEs are grid-based. What makes a computational grid "good", other than being sufficiently fine to resolve features of numerical solutions? Are grids with more or...

Asked on 04/24/2021 by Maxim Umansky

2 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP