Solved


ICFP2024 009: Lambdaman Crawler-Backfill
The ICFP2024 contest was held June29 thru July 1. The contest consisted of five parts: ICFP Language, Lambdaman maze, Starship f...

2 months ago

Solved


Write a code to implement Euler's method to integrate a simple function
Euler's method approximates the solution to a differential equation as where . The challenge is to write a code that can take...

2 months ago

Solved


Fermat primes
Historical context The french mathematician Pierre de Fermat found the formula to find some prime numbers. He thought / co...

2 months ago

Solved


Euler primes
Historical context The great swiss mathematician Leonhard Euler found the formula to give some prime numbers. Problem...

2 months ago

Solved


Ulam primes first formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give the first 760 prime numbers ...

2 months ago

Solved


Ulam primes second formula
Historical context The polish-american mathematician Stanislaw Ulam found the formula to give some prime numbers not given...

2 months ago

Solved


Mesh the convex hull of a random 3D point cloud
Problem statement The convex hull of a 3D point set is actually a first -though rough- triangulation of it. A triangulation,...

2 months ago

Solved


Compute the tersum
The tersum, which appears in certain mathematical games, involves adding two numbers in base 3 without carry and converting back...

2 months ago

Solved


Estimating Battery Lifetime Based on Load Profile and Depth of Discharge (DoD)
In a Battery Management System (BMS), the lifetime of a battery depends on various factors, including the Depth of Discharge (Do...

2 months ago

Solved


Estimating the Range of an Electric Vehicle (EV)
In Electric Vehicles (EVs), the driving range is the estimated distance a vehicle can travel on a fully charged battery. The ran...

2 months ago

Solved


Estimating Battery Backup Time for an Inverter
In a Battery Management System (BMS), estimating the backup time of a battery-powered inverter helps determine how long it can s...

2 months ago

Solved


Battery Charge Rate Calculation
In a Battery Management System (BMS), the charge rate (​) of a battery can be calculated using the formula: ​​ where: ​ is th...

2 months ago

Solved


Battery State of Health (SoH) Calculation
In a Battery Management System (BMS), the State of Health (SoH) of a battery is an indicator of its overall condition. It is cal...

2 months ago

Solved


Battery Charge Efficiency Calculation
In a Battery Management System (BMS), the efficiency of battery charging can be estimated using the formula: where: is the...

2 months ago

Solved


Battery Voltage Drop Estimation
In a Battery Management System (BMS), the voltage drop (V_drop) due to the load can be calculated using the formula:V_drop=I×R ...

2 months ago

Solved


Battery Discharge Time Estimation
In a Battery Management System (BMS), the estimated discharge time (T) of a battery can be calculated as: ​​ where: ​ is the ...

2 months ago

Solved


State of Charge (SoC) Estimation for a Battery
The State of Charge (SoC) of a battery represents its remaining charge as a percentage. It can be calculated using the formula: ...

2 months ago

Solved


Battery Life Estimation for a Device
A battery-powered device consumes a constant current while operating. The estimated battery life (T) can be calculated using the...

2 months ago

Solved


Extend the digamma function to negative arguments
While solving one of Ramon Villamangca’s problems, I needed the value of , where is the digamma function. However, MATLAB’s fun...

2 months ago

Solved


Sum the reciprocals of polygonal numbers
As explained in Cody Problem 60571, a polygonal number is the number of dots arranged in the shape of a regular polygon. For exa...

2 months ago

Solved


Find polygonal numbers that are Blum integers
A polygonal number is the number of dots arranged in the shape of a regular polygon. For example, 15 is a triangular number beca...

2 months ago

Solved


Compute the antisigma function
The sum of divisors function, or , is the sum of the numbers that divide . The antisigma function is the sum of numbers less tha...

2 months ago

Solved


Compute the saturation concentration for dissolved oxygen in water
As organic matter from wastewater decomposes, it consumes oxygen, and an assessment of the effect of a wastewater discharge on t...

2 months ago

Solved


Neural Net Image Convolution: Return only Valid portion of conv2
This challenge is to return only the Valid portion of a 2-D convolution. Valid is deemed to be where all elements of the kernel ...

2 months ago

Solved


Minimize a quadratic function
Write a function to minimize the function . The coefficients a, b, and c will be positive. Give the coefficients in a vector coe...

2 months ago

Solved


Mandelbrot Number Test [Real+Imaginary]
The <http://en.wikipedia.org/wiki/Mandelbrot_set Mandelbrot Set> is built around a simple iterative equation. z(1) = c z...

2 months ago

Solved


ICFP 2024 Programming Contest June 28 thru July 1
This is to announce the annual ICFP programming contest for 2024. The ICFP 2024 homepage link is ICFP 2024 . Registration will...

2 months ago

Solved


Check p² = 24k + 1, p > 3, the 'golden prime squares' equation
Historical context In december 2023, I / Nicolas Douillet was working on prime squares properties and I found* the formula : ...

2 months ago

Solved


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

2 months ago

Load more