Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 Re: Help Me ! » Combination Problem » 2015-01-27 20:12:44

Can you please write down the list as {119, 83,103.. to save me some time?

#4 Re: Computer Math » A multivariable gf » 2015-01-27 05:11:21

What is your fast algorithm to compute the required coefficient?

#5 Re: Computer Math » A multivariable gf » 2015-01-27 00:06:24

I am wondering what tactical advantage a gf has...

49ef3419_o.png

#8 Re: Jokes » Very short jokes! » 2015-01-24 23:20:46

You can always double your drive space.
How?
By deleting Window$

Everyone should do that!

#9 Re: Help Me ! » Combination Problem » 2015-01-24 10:23:14

but this programming lingo is very complicated.

Use a lamguage of your choice

#10 Re: Help Me ! » Combination Problem » 2015-01-24 04:19:04

What online guide?

I will do that later. I am very tired and I am in bed now.

What do you need all these for, actually?

#11 Re: Help Me ! » Combination Problem » 2015-01-24 02:12:20

We'll look into that but I want to ask you if you did figure out how to run a haskell script in Windows

#12 Re: Help Me ! » Combination Problem #2 » 2015-01-23 12:50:04

I'm using Mathematica like stefy and Elaina. But I have also solved it with Haskell. You can do it any language of your choice, like Python, too.

Mathematica or Haskell is slightly different than regular programming languages but you can still understand nothing and use my haskell script or stefy's mathematica command to solve your problem.

#13 Re: Help Me ! » Combination Problem » 2015-01-23 12:38:17

What file do you want me to provide?

Select[
  Subsets[{12, 7, 10, 9, 7, 13, 11, 9, 8, 13, 10, 10, 8, 11, 11, 9, 7,
     11, 9, 12}, {5}], Total[#] <= 50 &] // Length

is not actually haskell code. It's Mathematica.

If you have haskell, copy this and save to a file named 'script.hs' and run it with the haskell interpreter:

data Player = Player Char Int

instance Show Player where
        show (Player name _) = show [name]

players = zipWith Player ['A'..'T'] [12,7,10,9,7,13,11,9,8,13,10,10,8,11,11,9,7,11,9,12]

choose :: [b] -> Int -> [[b]]
_      `choose` 0       = [[]]
[]     `choose` _       =  []
(x:xs) `choose` k       =  (x:) `fmap` (xs `choose` (k-1)) ++ xs `choose` k

value (Player _ x) = x

check n = filter (\p -> sum(map value p) <= 50) (choose players 5)

main = print $ check 5

#14 Re: Maths Is Fun - Suggestions and Comments » Dimensions (Script) » 2015-01-23 12:35:12

MIF wrote:

In Physics Time can be thought of as a dimension, but not in Geometry.

Why not? What about statements in geometry like "the deformation is carried out in time in [0,1]"?

#15 Re: Introductions » Hello World » 2015-01-22 19:17:44

There are interesting bobbym quotes about being ready.

#16 Re: Introductions » Hello World » 2015-01-22 19:13:09

If you ask me to I can go downstairs and ask him

#17 Re: Introductions » Hello World » 2015-01-22 19:08:30

They did not ask him his favorite color in the test

#18 Re: Introductions » Hello World » 2015-01-22 19:02:59

I am interested in my brother too but I know that the test was boring.

#20 Re: Introductions » Hello World » 2015-01-22 18:56:12

Yes but I have specific fields of interests.

#22 Re: Introductions » Hello World » 2015-01-22 18:53:30

I did not ask him about his math exam. We rarely talk about daily life things.

#25 Help Me ! » Moment of Inertia » 2015-01-22 13:58:52

Agnishom
Replies: 1

The moment of inertia of a continuous mass distribution is defined as


or simply:

where \rho is density.

How do I calculate the moment of inertia of a right circular cone about an axis passing through the center of its base and its vertex?

Board footer

Powered by FluxBB