You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
This can go into the annals, too. Good.
Only I guess it's not "approximately obvious" (that's a big mouthful!), but "approximately obvious to the naked eye" :)
Of course you can. People don't understand jokes at all. I'll see you when you sober up to my condition :)
Here's another joke for you. The program works, but I wouldn't advise you to run it.
Put a button and a text box on the form. In the text box , enter H.Throw a button and a text box on the form. In the text box, enter H.
You could do an Excel solution search, although I'm not sure if that would work...
You could sketch a program that will search through the variants.
You can also use heavy mathematical programs.
What you need here is a program that would give you different values of a, b, c... with the same value of H.
There is rather no regularity in these numbers.
Don't forget that in addition to these numbers, which can equal a, there are also b,c,... variables which have their own values, and in general such variables 17 ))).
I tried it in Exxle but it's a brain bursting with cyclic, rank functions, etc. If anyone can do it, I'm jealous of them.
We can formulate the problem as an optimization problem:
Given a=(10, 12, 14, 17, 21, 25, 30, 36, 43, 52, 62, 74, 89, 107, 128, 154, 185, 222, 266, 319, 383, 460, 552, 662, 795, 954, 1145, 1374, 1648, 1978).
Find a second vector b, with coordinate values from the set {0,1} (and, of course, with the same number of coordinates, i.e. 30) - such that | a*b - H | -> min. The product of vectors is scalar. In Excel it is solved for sure with GA (addon "Search for solutions").
I do not know the deeper meaning of this problem. All variants in the worst case will be 2^30 ~ 10^9, i.e. in principle the problem is solvable for modern Pisuk.
You could do an Excel solution search, although I'm not sure if that would work...
You could sketch a program that will search through the variants.
You can also use heavy mathematical programs.
What you need here is a program that would give you different values of a, b, c... with the same value of H.
There is rather no regularity in these numbers.
Don't forget that in addition to these numbers, which can equal a, there are also b,c,... variables that have their own values, and there are 17 of them.)
I tried it in Exxle, but it will break my brain with cyclic, rank functions, etc. If someone succeeds, I will be jealous of him.
Looked at, it seems to work.
Well, for example in a1 we'll look for a number,
b1,c1,d1... will be substituted with numbers, in b2-b17, c2-c17 the range of numbers we need.
In a1 the formula that will pick a number from the range by an index and add to the constraints of the range 2..17
Of course you can. People don't understand jokes at all. I'll see you when you sober up to my condition :)
Here's another joke for you. The program works, but I advise you not to run it.
Throw a button and a text box on the form. In the text box, enter H.Better to declare array with numbers and address by index, without if, it will work much faster. Better in mq4, it is 10 times faster than vb6, even better in mql5, it is even faster.
Chisla[]={10, 12, 14, 17, 21, 25, 30, 36, 43, 52, 62, 74, 89, 107, 128, 154, 185, 222, 266, 319, 383, 460, 552, 662, 795, 954, 1145, 1374, 1648, 1978};
even better in mql5 - it is even faster.
Calculating for mql5 may take the whole of TC's conscious life)