Math Is Fun Forum

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

You are not logged in.

#1 Re: Help Me ! » A simple question2 » Yesterday 03:10:59

Bob

I had my doubts about BBC Basic being able to handle nested function calls, but it worked better than I had hoped:

    5 count = 0
   10 INPUT x
   20 y = FNf(x)
   30 PRINT x,"          ",y
   40
   50
   60 DEF FNf(x)
   65 count = count + 1:PRINT "x="x,"count="count
   70 IF x<0 THEN = -x ELSE  = 0.5*FNf(x-FNf(x-1))

I used it to confirm my table in Excel:

eG6cYMy.gif

The cells highlighted in yellow I'm fairly sure are correct.

The accuracy may drop off where the number of iterations is large.

Tried x = 3 without much hope. Gave up waiting at count = 100000.

Bob

#2 Re: Science HQ » Physics: Kinetic Energy » 2025-07-27 05:50:13

Bob

Good question!  KE must be relative.   When we do the drop from height h  PE = mgh  = KE half mv^2 we don't take account of the Earth moving through space nor its rotation .

Bob

#3 Re: Help Me ! » A simple question2 » 2025-07-23 07:55:18

Bob
hypsin_0 wrote:

The correct answer:

2^-1541023937

I've been working on this since you posted it.

If x is negative, it's easy to work out f(x).

When positive each f(x) depends on f(x-1) so I reasoned that it should be possible to create a chain of f(y) where each y is smaller than the one before so that eventually y is negative and we can work that one out and hence all those in the chain.

On paper I kept making errors so I put the whole lot into a spreadsheet with a LOOKUP table with 2 columns, x and f(x)

That spreadsheet is growing and growing as the chains get longer and longer.  MS Excel is not very kind to me.  If I use the lookup for an x that isn't yet in the table, Excel gives me the nearest value anyway rather than saying it cannot do it.  As a result I'm having to check everything by hand anyway. At the moment my table has 26 entries and I think there's some errors.

I'm considering writing a program with a subprocedure that creates the chain. That way I should be able to get correct answers and may have an answer to your puzzle sometime in the next two weeks.

Great puzzle!  Simple?  No it isn't!  dizzy

Bob

#4 Re: Help Me ! » Surds » 2025-07-22 18:41:16

Bob

hi paulb203

Imgur can only show the image you uploaded, so you must have muddled up which one you sent.  Not to worry though; I found the large size easier to read.

On the first line the 6 - root 8 should be in a bracket, but that hasn't led to an error as you proceeded as if it was there.  All the way down that working is good, but when you go up to column two the next line is wrong. Somehow you've not collected the root 2 terms and the number terms correctly.

Bob

#6 Re: Computer Math » Check if your data follows a normal distribution (no code, free tool) » 2025-07-16 21:29:11

Bob

hi Notnormal

Welcome to the forum.

Thanks for the link.

I tried it with some data from the MIF teaching page on the normal dist. and it worked ok.

Bob

#7 Re: Help Me ! » Geometry; similar shapes » 2025-07-15 19:47:53

Bob

We have a slightly different way of tackling this question. It comes to the same thing, but my way shows how I got two answers.

When I have two triangles that are similar I write them like this:

AEB
ADC

What this means is that A is common to both; D is the enlargement of E and C is the enlargement of B.

The ratio of a side in the larger to the matching side in the smaller will be equal to the ratio of another pair. (equals the enlargement factor) 

ie.  AC/AB = AD/AE.  This leads to your calculation and hence solves for x.

But that assumes that CD is parallel to BE.  It looks right but the question doesn't specifically say so.

A is obviously common but maybe angle ACD = AEB which still leads to similar triangles but with the second answer.

My notation for this case is

ACD
AEB

Now I can pick out the alternative ratios

AC/ AE = AD/AB

and form a second equation for x.

Bob

#8 Re: Help Me ! » 100% simple question! » 2025-07-15 00:27:29

Bob

Best to leave this here now that a long chain of posts has resulted.  Just to summarise:

Help me: If you are in need of help with a question or topic.

Exercises: If you want to challenge others with a maths question.

Puzzles and games: Could be a puzzle but it could also be telling members about a new game you've discovered.

Bob

#9 Re: Help Me ! » Geometry; similar shapes » 2025-07-15 00:17:08

Bob

That's what I did at first.

But the question doesn't say that ADC is an enlargement of AEB, just that the triangles are similar.

So it could be that ACD is an enlargement of AEB. That leads to a second scale factor and hence answer for x.

Important lesson for any maths question with a diagram: Don't make assumptions because of the way the diagram has been drawn.

Bob

#10 Re: Help Me ! » A simple question » 2025-07-12 03:21:18

Bob

Hope the exam goes well for you. smile

'Optional'.  Hhhmmm! Interesting!

Bob

#12 Re: Science HQ » Physics; conservation of energy » 2025-07-11 23:59:52

Bob

Work done and energy are different ways to measure the same thing.

If a mass, m, is accelerated from rest to a velocity v then (using v^2 = u^2 + 2as)

  (u=0)

= force times distance moved.

If an object drops from rest under gravity a distance h, then

mgh is a measure of its potential energy (PE) before it is released.

Bob

#13 Re: Science HQ » Physics; conservation of energy » 2025-07-11 00:35:08

Bob

Not roughly correct; but rather, completely correct. The stored gravitational energy at the top is called potential energy and the energy of movement is called kinetic energy.

Bob

#14 Re: Help Me ! » A simple question » 2025-07-10 22:05:28

Bob

hi hypsin_0

Who set the question? And did they expect you to produce an answer straight away, or was research allowed?

Maybe they just wanted to show you that maths has lots of interesting branches.

Taylor hasn't given me an ideas yet. The Taylor series expansion has increasing powers (to infinity) and your problem just has 4th powers. Mmmm???

Bob

#15 Re: Help Me ! » LaTeX - A Crash Course » 2025-07-10 21:59:04

Bob

Yes, it is very helpful!

But why won't the code command show the word math as white on black. It's bizarre! dizzy

Bob

#16 Re: Help Me ! » A simple question » 2025-07-10 20:04:01

Bob

Wow! This is not a simple question. It needs a huge leap forward in advanced mathematics.

Ref: https://en.wikipedia.org/wiki/Riemann_zeta_function

I couldn't even get Wolfram Alpha to understand the question sad

Bob

I'll think about 'Taylor' to see if I can find an easy way to do this.

#17 Re: Help Me ! » LaTeX - A Crash Course » 2025-07-10 19:55:51

Bob
[b]bold text[/b]

Something very odd is happening here.  I can use the square brackets code command to show a command without it being performed.  The above shows how to create bold test using a bbcode command.

But when I change the 'b' to 'math' the command is in black on a black background so it doesn't show.

That makes it very hard to explain what to do to use Latex.

Every line of Latex must start with a square bracket [                 then the word math            then a ] bracket.

At the end of your Latex you must 'switch off' the Latex interpreter by using a similar command but this time /math

Here's and example of what you can then do:

If you click on this expression the underlying code shows but without the math /math command that tells the interpreter what to display.

Hope that makes sense.

Bob

#18 Re: Introductions » Hi » 2025-07-08 19:29:47

Bob

hi hypsin_0

Welcome to the forum.

Bob

#19 Re: Help Me ! » Factorising harder quadratics » 2025-06-20 20:19:07

Bob

Here's what I do:

6 and 10 both have more than two factors so there are several alteratives to try.

6  10              6   5             3   10         3   5


1   1               1   2             2    1          2   2

By trial I found that 3 times 5 - 2 times 2 gives 11

(3x     )(2x     )

The 3x must multiply the 5 so

(3x   2)(2x   5)

I want + 11 so that fixes the signs

(3x -2)(2x + 5)

If you want to check first if an integer solution is lurking there you can check B^2 - 4AC to see if it has an integer root:

B^2 - 4AC = 121 + 240 = 361. This has root 19 so if I used the quadratic formula a simple 'solution' is available.  That check saves wasting time looking for a factorisation if there isn't one.

Bob

#20 Re: Help Me ! » Factorising harder quadratics » 2025-06-19 02:15:49

Bob

I've not ever seen this method before.

Is it a convoluted way? Yes!

I'd advise stick to the way you've been using.

Bob

Is it easier to program using the method?

#21 Re: Guestbook » Curious about a dog » 2025-06-14 07:40:53

Bob

Hello Tony.

Welcome to the forum.

I'm pretty certain it's a German Shepherd.

Bob

#22 Re: Guestbook » Curious about a dog » 2025-05-18 20:03:24

Bob

Rod's username is MathsisFun and that dog is his avatar.  I don't know it's name nor if Rod has it as a pet.

Bob

#24 Re: Help Me ! » Possible 'new knowledge' » 2025-05-14 21:12:04

Bob

Have you tried selling it to a company that wants good encryption?

Bob

#25 Re: Help Me ! » Anyone have an answer for me? » 2025-05-02 22:16:59

Bob

You're welcome.  I enjoyed working it out so you did me a favour by setting the problem.

My 'complete proof' is meant to cover all cases, so if I'm right it does carry on doing this as infinitum.  The problem with proves is, sometimes, they have flaws in them.  Andrew Wiles surprised the mathematical world by coming up with a proof of Fermat's last theorem.  His proof was taken away by other mathematicians for close scrutiny. They did find some points where he had jumped ahead too fast and he went back to the drawing board to clean up the criticisms (which he did!).

The common multiple bit is fairly robust.  Then I had to show the lowest common multiple.  I think it's ok too but maybe others will spot a weakness.  When I was at university we spent a lot of time showing even the most obvious results are generally true so I've had practice.

You have to be careful assuming results just because they work for a few easy numbers. Have a look here:

http://www.mathisfunforum.com/viewtopic.php?id=30690

Another example is the statement N^2 + N + 41 is a prime number generator.  That is if you substitute N = 1, 2, 3 etc
each time you get a prime number.

If you try some N values it look promising. But the statement is FALSE. Can you find a value of N for which it fails?

Has someone already come up with your theorem? Not as far as I know. I tried an internet search and came  up with nothing.  So I suggest you claim it as yours and give it a fancy name.  The history of maths is full of disputed claims (eg. Leibnitz and Newton over calculus) so you'll be in with a select crowd.

But now, can you pull this out of the sphere of 'pure maths' and find a useful application?

Best wishes,

Bob

Board footer

Powered by FluxBB