Believe it or not, we do not yet have a code golf challenge for a simple primality test. While it may not be the most interesting challenge, particularly for "usual" languages, it can be nontrivial in many languages.
Rosetta code features lists by language of idiomatic approaches to primality te...
Definitions
An algebraic number is a number that is a zero of a non-zero polynomial with integer coefficients. For example, the square root of 2 is algebraic, because it is a zero of x^2 - 2.
A transcendental number is a real number which is not algebraic.
Task
You are to choose a transcende...
Fabulous answer! A quote from JKR! Be still my beating heart ;) +1 and accept, and I'll watch the answers to your version of my question to see what people have to say :) — SlytherincessJan 29 '12 at 16:58
I think this is a great question :) It's something I've thought about too, and wondered about. I have some ideas that I'll put down for you. — SlytherincessApr 11 '12 at 1:49
I have to prepare 1 g/mL PEI solution (branched, MW = 25,000).
The density is 1.030 g/mL. The reagent is highly viscous. I want to prepare 100 mL. Does that mean I have to weigh out 100 g and dissolve in 100 mL H20?
Can anyone suggest a simple calculation procedure to prepare a solution?