Math Is Fun Forum

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

You are not logged in.

#1 Re: Science HQ » Hypothesis of Curveness » 2020-11-09 19:12:41

This can be said as a simplification of the saying that everything is relative and nothing is absolute.

I think this "theory" should be more of a hypothesis.

Also, it would be really great if this thread was deleted.

#2 Re: Help Me ! » Co-prime numbers » 2019-06-03 01:58:53

hi Alg Num Theory;

I should have mentioned that the numbers must be unequal.

Thank you for pointing that out.

#3 Re: Help Me ! » Co-prime numbers » 2019-04-23 01:49:30

hi

I had posted the same thing twice in another thread. Would you please delete it?

#4 Help Me ! » Co-prime numbers » 2019-04-22 16:49:58

Amartyanil
Replies: 6

hi;

If there is an equation satisying the relation:

and

How to prove that

is composite?

#5 Exercises » Number of integer solutions » 2019-02-23 23:36:10

Amartyanil
Replies: 2

hi;

Of the equation \(3x + 2y = 18\), how many positive integer solutions are there?

Is there any elegant solution to this problem rather than just brute force?

#6 Re: Help Me ! » Inequality and arbitrary largeness of numbers » 2019-02-15 02:58:19

hi Grantimgriver;

I am sorry for not paying attention to the question. I am thus removing my post.

#9 Help Me ! » Inequality and arbitrary largeness of numbers » 2019-02-04 02:15:25

Amartyanil
Replies: 6

hi;

Suppose not all four integers a, b, c, d are equal. Start with

and repeatedly replace
by
. Then at least one number of the quadruple will eventually become arbitrarily large.

The solution to this problem is:
Let

be the quadruple after n iterations and it has
for
.

From the equation for

However I saw this result, can anyone explain how is it so?

Explain how this is so:

And explain what this statement means:
The distance of the points

from the origin increases without bound, which means that at least one component must become arbitrarily large.
How is it necessary that one component would become large if the distance increases?

Note: This is Example 5 of first chapter of Arthur Engel's Problem Solving Strategies.

#10 Re: Euler Avenue » About this forum » 2018-12-09 03:13:01

Hi;

Does Combinatorics qualify as an "advanced topic" here?
[Note: It is taught is in high school level(enumerative)]

#12 Re: Computer Math » Calculating Pi » 2018-07-29 14:43:59

hi;

Will using this formula in the code have a lesser complexity than the code originally posted?

\pi = 4 \sum_{k \geq 0} (-1)^k {1\over 2k + 1}

#13 Re: Computer Math » Calculating Pi » 2018-07-26 01:25:15

George,Y wrote:

If both of them succeeded,  the mistake is located in main

I do not get your point, can you please explain it?

#14 Re: Computer Math » Calculating Pi » 2018-07-17 15:46:16

hi Benice;

Thanks for pointing out that the sone and stwo's would have been floats.

hi Agnishom;

That was not intentional. Thanks for pointing out.

However, can anyone please explain why the code was not working properly when I entered the datatype of sone and stwo as "int"?

#15 Re: Help Me ! » Letter-arranging » 2018-07-02 15:40:09

Can you please tell how the code will be looking?

#16 Re: Coder's Corner » Calculating Complexity in C++ » 2018-07-02 15:38:32

Yes. The run time or the execution time.

#17 Re: Computer Math » Calculating Pi » 2018-06-10 14:56:14

hi bob bundy;

For "not working properly", I mean that the program is getting frozen and not printing anything at all.
Can you please point out my code for bugs?

#18 Coder's Corner » Calculating Complexity in C++ » 2018-06-09 18:50:07

Amartyanil
Replies: 2

Hi;

How to calculate the number of steps carried out in C++ directly?

#19 Coder's Corner » String Permutations » 2018-06-09 18:48:12

Amartyanil
Replies: 1

Hi;

Is it possible rearrange the words in a string in every possible way. If yes, how to do it?

#20 Computer Math » Calculating Pi » 2018-06-09 18:13:36

Amartyanil
Replies: 9

Hi;

I have written a code in C++ for calculating the approximate value of

based on the formula:

#include <iostream>

double CalculatePi(int acc)
{
    int sone;
    int stwo;
    double pione = 0;
    double pitwo = 0;
    for (sone = 1; sone < acc; sone += 4) {
        pione = pione + 1/sone;
    }
    for (stwo = 3; stwo < acc; sone += 4) {
        pitwo = pitwo - 1/stwo;
    }
    double potentialpi;
    potentialpi = pione + pitwo;
    std::cout << potentialpi * 4 << std::endl;
    return 0;
}

int main()
{
    std::cout << "Enter accuracy: ";
    int accuracy;
    std::cin >> accuracy;
    CalculatePi(accuracy);
    return 0;
}

However, this code is not working properly and is not returning anything when I am inputting "acc"(for accuracy) more than 2.
Can anyone please help me out here?

#21 Help Me ! » Letter-arranging » 2018-06-09 17:51:30

Amartyanil
Replies: 11

Hi;

Can anyone please provide a detailed solution for this problem?

All the letters of the word 'EAMCOT' are arranged in different possible ways. Find the number of arrangements in which no two vowels are adjacent to each other

Is there any program for solving this? If yes, please provide the code.

#22 Re: Help Me ! » Monomial, Binomial, Trinomial or none of these? » 2016-05-01 13:37:30

Hi;

Do we count only the unlike terms and state them only as terms?

#23 Re: Help Me ! » Monomial, Binomial, Trinomial or none of these? » 2016-05-01 03:06:25

Hi;

See this algebraic expression:

4x +9x
It is a binomial.

When it is written 13x, it is a monomial.

Then what type of expression is this?

#24 Re: Coder's Corner » Numbers » 2016-04-29 16:20:05

Hi bobbym;

In my book of Computer Science(Now I am in 7th Grade), the Russian method is taught, i think it is quite easier.

#25 Re: Coder's Corner » Coding » 2016-03-06 22:20:15

Hi;

I am new to coding and I did not understand the meaning of module.

Board footer

Powered by FluxBB