Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
6년 초과 전
문제를 풀었습니다
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛*
Given the frequency F of a photon in giga hertz.
Find energy E of this...
6년 초과 전
문제를 풀었습니다
Acid and water
⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖ ⚖
Assume that there is a 100 liter tank.
It is initially fi...
6년 초과 전
문제를 풀었습니다
Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...
6년 초과 전
문제를 풀었습니다
An asteroid and a spacecraft
🚀 Imagine a non-relativistic simple situation.
Assume positions p0, p1, p2, and p3 are three dimensional Cartesian ...
6년 초과 전
문제를 풀었습니다
"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me!
*Bob*: No, I am serious! Python supports...
6년 초과 전
문제를 풀었습니다
The 5th Root
Write a function to find the 5th root of a number.
It sounds easy, but the typical functions are not allowed (see the test su...
6년 초과 전
문제를 풀었습니다
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±*
* Imagine you need to subtract one...