Math Is Fun Forum

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

You are not logged in.

#26 Re: Help Me ! » Conversion of recurring decimal to fraction algebraically » 2019-11-11 18:50:03

Can you solve
0.251251251251...
first?
1000/x -> 251
x - >4 ?

#27 Re: Help Me ! » Simplifying » 2019-11-11 18:11:52

This is how Phi is solved?

#29 Re: Help Me ! » by using vectors » 2019-08-28 02:02:46

If A > pi/2 however, CosA = - Cos(pi-A)
Make up the angle Cos(pi-A) by extending b or c until you form a straight triangle with C or B and a
You then have a bigger straight triangle and a smaller one sharing the same straight line which can be calculated using SinA
Samiliar calculation goes and you will arrive at the same equation.

#30 Re: Help Me ! » by using vectors » 2019-08-28 01:54:21

make up a straight triangle with angle A and line c and you can arrive at this equation:

aa - (b-cCosA)^2 = cSinASinA

using Gougu theorem.

This equation is equivalent to the theorem you mentioned.

#31 Re: Help Me ! » perpendicular lines » 2019-08-28 01:43:15

tan(a+pi/2) = sin(a + pi/2) / cos(a+pi/2) = cos(a) / -sin(a) = -1/tan(a)

#32 Re: Help Me ! » Calculating the probability of a system being profitable » 2019-08-28 01:38:44

Each hand you either win to get two bets back or lose to get nothing back.
So 98% return means you have 49% chance to win
49% * 2 + 51% * 0 = 98%
This is definition of "Expectation" in probability

using similiar logic: Suppose you win X hands in 4500:

2*X + 0 = 4560
X = 2280
Thus the new system gets you winning probability of 2280/4500
And you can compare it to 49%

#33 Re: Help Me ! » cable tray and trunking for electricians » 2019-07-16 19:39:39

If your problem is to calculate length before cutting on rectangle objects,

knowledge on sines and cosines would help:

https://www.mathsisfun.com/algebra/trigonometry.html

#34 Help Me ! » How to parameterize ellipsoids? » 2019-07-16 19:14:26

George,Y
Replies: 0

Hello Everyone!

I need to draw a logo representing the earth in the solar system

It looks like this:

1) An perfect circle to represent the earth

2) a 22.5 degree slanted ellipsoid to represent the equater on the earth

3) several longitude lines from north pole to south pole that intersects with equater

Can you model equater and longitude lines by elliptic equations?

Any help is appreciated

#35 Re: Help Me ! » Parametrized Lines and Matrices » 2019-07-05 20:58:35

I think for the second part, it is important to vectorize the equation and write out the dependence of z on the other two:
(x, y, 1-x-y)'

Thus if you multiply the transformation matrix to this vector

It will be:

x+y-1+x+y
3x+3y-1+x+y
5x+5y-1+x+y

=
2(x+y)-1
4(x+y)-1
6(x+y)-1

=
2p-1
4p-1
6p-1

=
t
2t+1
3t+2

#36 Computer Math » Why float number is not as accurate as human thinks and the solution~ » 2019-06-26 17:59:35

George,Y
Replies: 2

Recently I had a hard time to educate coders that float numbers cannot be used in finance because of lack of accuracy.

They are all educated in a prestigious university specializing in computer science.

However the good old fundamentals seem to have gone from the courses they have taken, and from the coding field in general.

What is a float number?

A binary number with a given bits allowed before the binary point and after it.

For example:

110.0
-0.00001

The former will transform to decimal as 8+4=12,
while the latter will transform to decimal as -1/32 or equivalent.

The integer part is fine from and to decimal 12 <-> 110
But the fractional part (less than 1) has a natural inaccuracy
In decimal if you have a finite fraction that could be some integer multiple of power of 1/10
0.4
or 0.44
you will find it is not possible to transform it to finite fraction on 1/2
0.4 = 0.25+0.125+(0.025) = 0.25+0.125 + 0.015625+0.0078125 +(0.0015625)
-> 0.01100110011...

Of course the computer will simply cut off from some digits after the point

Thus you if you type in a float 0.4 into the computer, it looks as if normal 0.4,
but it will show off inaccuracy at the long end if you multiply a simple integer to it, say 3.
Because the programming language knows it will generally be inaccurate and usually round the last digit before presentation.
As you magnify the discrepancy by the multiplication, the programming language tells the little secret off.

The solution?
Almost all programming language and traditional database have a "decimal" number type.
A "decimal" number is actually two - the integer of the the number string, and the number of figures after the decimal point.
3.14 = Dec(314,2)
Thus the decimal is perfect for financial calculations to store, plus, minus or multiply.

#37 Re: This is Cool » Integral of 1/sqrt(1-x^2) » 2019-05-14 00:00:27

Anthony Lahmann wrote:

There is nothing wrong with this! I differentiated the u correctly, and I solved for x correctly.

the last change of u to x is your mistake.

#39 Re: Help Me ! » Moments to Cumulants - just a difference of log? » 2019-04-26 00:46:14

Mathegocart wrote:

You're back! Wahoo! Where did everyone else go?

Yeah, I just wanted to say hi. I'm a bit fatigued.

Hi Mathegocart!

I do not quite know other people.

I guess they have been too busy with their work or family...

As of me, I had been struggle in finance field and programming work.

Just got a time to breath mathematics now smile

#40 Help Me ! » Moments to Cumulants - just a difference of log? » 2019-04-24 19:59:08

George,Y
Replies: 2

A Moment in Statistics is just the expectation of the power of a random variable:


the moment generating function is  the expectation of the exponential of a small number t multiplied by the random variable:

and the nth moment of x is generated by taking derivative at t=0 of this function

there is an alternative to moment - cumulant

the definition is taking the derivative of the log of MGF in the same manner the moment is generated

What is the rational for the definition of cumulants ?

#41 This is Cool » Whip motion dynamics - Why the tip is accelerated to break sound? » 2019-02-01 01:34:40

George,Y
Replies: 0

https://www.youtube.com/watch?v=AnaASTBn_K4

So far the scientists have only discovered by preservation of motion,

as the motion wave transfers gradually from the root to the tip, the speed accelerates as the whip gets thinner.

However why the tip of the whip gets a sudden jump of speed as to break the sound, remains unsolved.

I believe it is a singular point problem?

Any mathematicians to theorize it?

#42 Re: Help Me ! » Does 1 = .999...? » 2018-08-24 20:41:28

I had a long dispute with a major in mathematics.

So far I can tell you that mathematicians made a cunning update to cover this bug as far as redefining numbers.

#43 Dark Discussions at Cafe Infinity » Laptop with good keyboard is hard to find » 2018-08-24 20:39:55

George,Y
Replies: 0

So far the Thinkpad series is still the best in 14-inch business arena.

The 15.6-inch game laptop has seen some great mechanic keyboard, but it is too large.

Alternative brand Hasee has really great keyboard, but the overall quality of hardware and cooling is rumored unstable.

I hate Apple, because it makes the trend of making keyboard thinner and thinner, worse and worse for typing.

And other followers are foolish to oversee the value of a comfortable, tall keyboard.

#45 Re: Computer Math » Calculating Pi » 2018-08-04 15:25:08

Amartyanil wrote:
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?

The program now needs an input "accuracy" to start running.

I suggest to cancel this input first and set an accuracy inside the code.

Compile and test it.

#46 Re: Help Me ! » A line is neither concave up nor concave down. what is that line » 2018-08-04 15:21:52

a straight line would satisfy these criteria

if concavity = second derivative of the single variable function

#47 Dark Discussions at Cafe Infinity » React OS will take over Windows as the dominant PC Operating System? » 2018-07-30 23:18:50

George,Y
Replies: 3

https://www.youtube.com/watch?v=Ne88Is2cymQ

A nice copy of Windows,

but open source and supported by community

#49 Re: Dark Discussions at Cafe Infinity » Martial Arts are completely useless » 2018-07-29 00:33:07

Be aware of some specialized "martial arts" which prohibits some attacks at its weak sides.  Taekwondo, prohibits throwing, for example. Judo prohibits punching and kicking.

These can be called fake martial arts because they don't stand the chance if an opponent attacks at the weak sides using the usually banned strike.

A very rounded martial arts at least declares how to combat other main styles of fighting.

You can try some Chinese style and ask if they have this content.

Taiji, for example, is another fake martial arts.

Shaolin fight technique, is not.

#50 Re: Coder's Corner » Python: moving on up? » 2018-07-29 00:26:24

PyQt is also a good choice.

Anyone still here?

Board footer

Powered by FluxBB