Solved


Calculate Charge Using Capacitance and Voltage
The charge (Q) stored in a capacitor is given by the formula:Q=C×V where: C is the capacitance (in farads) V is the voltage (...

1 month ago

Solved


Energy Stored in a Capacitor
The energy (E) stored in a capacitor is given by the formula: where: C is the capacitance (in farads) V is the voltage (in ...

1 month ago

Solved


Ohm’s Law - Calculate Resistance
Ohm’s Law states that resistance R can be calculated as:R=VI​ where: V is the voltage (in volts) I is the current (in amperes...

1 month ago

Solved


Simple Electrical Power Calculation
Calculate the electrical power using the formula: P=V×I where: V is the voltage (in volts) I is the current (in amperes)

1 month ago

Solved


Calculate Current in a Series Circuit Using KVL
Kirchhoff's Voltage Law (KVL) states that the sum of voltages around a closed loop is zero. Given a voltage source (V) and three...

1 month ago

Solved


Calculating the Total Resistance in a Series Circuit
Description: In a series circuit, the total resistance is the sum of the individual resistances. This problem asks you to write ...

1 month ago

Solved


Sum of Even Fibonacci Numbers
Description: The Fibonacci sequence is defined as follows:F(1)=1,F(2)=1,F(n)=F(n−1)+F(n−2) for n>2 Write a function that compu...

1 month ago

Solved


Exponentiation
Given 3 integers b,e,k; find -- mod(b^e,k)

1 month ago

Solved


modular arithmetic
Given three integers a,b and c, find the remainder when a^b is divided by c. Here, a^b will be well beyond the largest 64 bit in...

1 month ago

Solved


Implement Shor's algorithm
Shor's algorithm, proposed in 1994 by Peter Shor, is an algorithm for factoring numbers that runs in polynomial time (polynomial...

1 month ago

Problem


Implement Shor's algorithm
Shor's algorithm, proposed in 1994 by Peter Shor, is an algorithm for factoring numbers that runs in polynomial time (polynomial...

1 month ago | 0 | 4 solvers

Solved


Nilpotent matrix
Check if matrix A is <http://mathworks.com/ nilpotent>.

1 month ago

Solved


Trap a knight
Consider a knight on an infinite chessboard labeled with numbers spiraling outward. A knight starting on the square labeled 1 ca...

2 months ago

Solved


List the Moran numbers
The quotient of a Moran number and its digit sum is prime. For example, 117 and 481 are Moran numbers because 117/(1+1+7) is 13 ...

2 months ago

Solved


Evaluate the logarithmic integral
The <https://en.wikipedia.org/wiki/Logarithmic_integral_function logarithmic integral> li(x) plays a role in number theory becau...

2 months ago

Solved


Construct the number counts sequence
A sequence is constructed in the following way. The zeroth term is 1, and the next terms are determined by counting the number i...

2 months ago

Solved


Calculate y=2
Find the value of x so that y=2

2 months ago

Solved


List the first of three consecutive square-free numbers
The numbers 13, 14, and 15 are consecutive, of course, but they also share the property of being square-free. That is, each numb...

2 months ago

Solved


Get ranking of a combination
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to ...

2 months ago

Solved


Count the primes resulting from changing one digit of a number
If you start with the number 24 and seek primes by changing a single digit, you can find two: 23 and 29. If you start with 130, ...

2 months ago

Solved


Solve an easy binary puzzle
A binary puzzle presents a square grid (or matrix) of cells in which each cell must be 0 or 1. The finished puzzle must follow t...

2 months ago

Solved


Boolean algebra
Your contractor from Elbonia has sent you the prototype of the new logical unit. It turns out that the only logical relation it ...

3 months ago

Solved


Convert integers from base 10 to proper primary notation
This problem is the companion to Cody Problem 60782. The proper primary system of expressing numbers has three digits: m, x, and...

3 months ago

Solved


Convert integers from proper primary to base 10
The proper primary system of expressing numbers has three digits: m, x, and p, which correspond to -1, 0, and 1. The places in a...

3 months ago

Solved


Express integers in negabinary
Negabinary numbers are written in base -2. For example, the negabinary number 11010 is , or 6 in base 10. In a similar way, -3 i...

3 months ago

Solved


Play Hocus Focus
The card game Hocus Focus starts by placing twelve cards with wizards face up on a table. The characteristics of the wizards tha...

3 months ago

Solved


Complete hydraulic geometry relations
Hydraulic geometry relations express the velocity , width , and depth of a river as a function of the discharge (or flow) , whi...

3 months ago

Solved


Simple addition
Add two numbers using a funciton

3 months ago

Solved


EZ10
EZ

3 months ago

Solved


EZ9
EZ

3 months ago

Load more