Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
67 views

I’m writing a Selenium script to auto-fill a contact form, like this one, and yeah, obviously the main site is different — cornerstonesalina.com/elements/contact-form/, there’s a math captcha like &...
Dima's user avatar
  • 9
2 votes
1 answer
85 views

So I'm trying to generate a map for a personal project using opensimplex noise, multiple layers etc. My problem is that I want to recreate the equator to combine with a temperature map to obviously ...
tygzy's user avatar
  • 748
2 votes
1 answer
130 views

I'm in the process of writing some mathematical operations. Here's a sample program to give you an idea of what kind of thing I could be doing: from dataclasses import dataclass import random @...
Ivan's user avatar
  • 451
2 votes
0 answers
59 views

I'm computing PDE residuals for The_Well datasets (e.g. turbulent_radiative_layer_2D and shear_flow) using finite differences, but the residuals are much larger than I expect. The data are generated ...
Kain's user avatar
  • 21
3 votes
1 answer
74 views

Let me put some context first. You see, I have a theory that multiplying all (a + b*z**k), for a determined z based on n, and some exponents k, it could return a**n+b**n. This is my brand new Cori ...
Kenay5 55's user avatar
8 votes
3 answers
305 views

The problem is to find the longest sequence of numbers from 1 to 100 such that each number is either multiple or divisor or the previous, and with no repetition. For example, 50 25 5 35 7 63 21 is a ...
Zorm's user avatar
  • 81
0 votes
0 answers
92 views

I recently wrote a program which renders the mandelbrot set and encountered some irrelevent issues, which some helpful users solved for me. One user reccommended I change an aspect of my code for ...
Jessica's user avatar
  • 41
-4 votes
1 answer
113 views

Here is my rotating code: pos = pygame.mouse.get_pos() x_dist = pos[0] - self.rect.centerx y_dist = -(pos[1] - self.rect.centery) self.angle = math.degrees(math.atan2(y_dist, x_dist)) self.image = ...
Aadvik's user avatar
  • 1,522
-2 votes
1 answer
236 views

I would like to solve this system of equation for X and Y : Do you know if their exist a mathematical solution to this system ? And how to solve it ? Or a numerical solution ? If yes, do you think ...
Camille's user avatar
  • 73
6 votes
1 answer
137 views

I'm trying to implement a block GMRES procedure (i.e., GMRES to solve Ax=b, but with b that is not a vector but a n x r matrix, where r << n). My goal is to have a first implementation in Python ...
Pierre Beaujean's user avatar
3 votes
1 answer
99 views

I know that Python 3 supports arbitrary precision arithmetic and so the common answer in all the materials that I have ever seen regarding this topic has been: "The only constraint is the ...
Wasradin's user avatar
  • 179
3 votes
1 answer
196 views

I was wondering what was the average distance "d" of any point in a ball to its boundary (not specifically the closest point). I made a simple monte carlo computation using Muller's method ...
louis's user avatar
  • 98
0 votes
2 answers
127 views

i have this code, that should calculate the speed and distance with given acceleration. The boundrary condition says that the speed in the beginning or and in the end has to be zero. but i cant get it ...
Luis Utermann's user avatar
0 votes
1 answer
201 views

I'm using the suntime class that is based on: "Calculate sunrise and sunset times for a given GPS coordinate within PostgreSQL". I'm struggling with the following: At the end of the ...
E. M.'s user avatar
  • 23
0 votes
0 answers
70 views

I'm looking to use the lattice-estimator here: https://github.com/malb/lattice-estimator?tab=readme-ov-file which depends on SageMath. I have installed SageMath here: john@sage:~/Downloads/sage-10.6$ ...
TecGuy94's user avatar

15 30 50 per page
1
2 3 4 5
481