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

You are not logged in.

#1 Re: Jokes » Very short jokes! » Yesterday 23:20:46

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

Everyone should do that!

#2 Re: Help Me ! » Combination Problem » Yesterday 10:23:14

but this programming lingo is very complicated.

Use a lamguage of your choice

#3 Re: Help Me ! » Combination Problem » Yesterday 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?

#4 Re: Help Me ! » Combination Problem » Yesterday 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

#5 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.

#6 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

#7 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]"?

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

There are interesting bobbym quotes about being ready.

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

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

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

They did not ask him his favorite color in the test

#11 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.

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

Yes but I have specific fields of interests.

#15 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.

#18 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?

#19 Re: Help Me ! » Inexact Differential » 2015-01-20 04:07:10

I suppose I can use this concept to determine if a vector field is conservative?

#20 Re: Introductions » Hello World » 2015-01-19 20:19:56

ElainaVW wrote:

You don't know?

Do you? Please tel me

#21 Re: Help Me ! » Combination Problem » 2015-01-19 20:17:35

That's just between you and I.

#22 Re: Help Me ! » Combination Problem » 2015-01-19 12:41:54

I stole 200 MB of data last friday

#23 Re: Science HQ » Theory of Curveness » 2015-01-18 19:41:45

Two things are infinite, stupidity and the universe... I am not sure about the universe.
-Einstein

#24 Re: Introductions » Hello World » 2015-01-18 19:36:57

What is your favorite color?

#25 Re: Help Me ! » Combination Problem » 2015-01-18 19:33:01

Actually they are very mean.

Board footer

Powered by FluxBB