[SS-111][SS-2327] arguments names interference

[SS-111][SS-2327] arguments names interference - When using user functions, the answer is different than making step by step calculations. - Сообщения

#21 Опубликовано: 26.04.2016 01:54:20
ur_naz

ur_naz

0 сообщений из 15 понравились пользователям.

Группа: User

Цитата

You scared me!


Oh! You made my day!
But why SMath does so? Or was it my fault?
#22 Опубликовано: 26.04.2016 02:19:00
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

Actually, it's your fault.
You should always keep attention on where exactly your input goes. It is indicated by underscore, so if you see that you "selected" not your current block, but whole formula, you should use arrows to go to required block prior to entering next part.

But here, SMath could make it apparent showing bracckets...
С уважением, Михаил Каганский
#23 Опубликовано: 26.04.2016 02:44:15
ur_naz

ur_naz

0 сообщений из 15 понравились пользователям.

Группа: User

I copied twice corrupted region, made the new one and moved the copied parts to it and get proper result...
I can't reproduce this bug?... Maybe leave it to later days...
#24 Опубликовано: 26.04.2016 08:52:29
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

SS-2331 filed.
С уважением, Михаил Каганский
1 пользователям понравился этот пост
ur_naz 26.04.2016 14:11:00
#25 Опубликовано: 26.04.2016 16:11:31
ur_naz

ur_naz

0 сообщений из 15 понравились пользователям.

Группа: User

I ported my code from here

http://stackoverflow.com/questions/10175724/calculate-distance-between-two-points-in-bing-maps

But I can't understand nr & dr. What does they mean? And why they finally gives improper result?
#26 Опубликовано: 26.04.2016 19:51:49
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

Wrote

I ported my code from here

http://stackoverflow.com/questions/10175724/calculate-distance-between-two-points-in-bing-maps

But I can't understand nr & dr. What does they mean? And why they finally gives improper result?



List2.sm (11 КиБ) скачан 45 раз(а).

Their purpose is to compensate the difference between equatorial and pole radiuses of Earth, and displace of your arc from Earth major corcumference. Generally, you measure the distance not over equator, nor ober meridian, but over some arc that is both displaced and rotated. You need to know its radius to be able to measure its length.

But anyway, their source is unclear, and they do give wrong results.
You may simply take average radius of Earth to het descent results.
С уважением, Михаил Каганский
#27 Опубликовано: 26.04.2016 20:50:59
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Looking at the attached:
1. Wikipedia formula 7777 km is wrong
2. one of those calculator 5050 km is wrong too
3. Haversine [NASA] 5915 km looks probable
Why not give some visible locations [Los Angeles, Moscow]

Angle Data 'j' Earth Distance.sm (46 КиБ) скачан 46 раз(а).
#28 Опубликовано: 26.04.2016 21:46:03
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I copied twice corrupted region, made the new one and moved the copied parts to it and get proper result...
I can't reproduce this bug?... Maybe leave it to later days...



A "corrupted region" is by the software, not by you. By you: just incorrect.
"Corrupted rgion" creates by hemselves, most annoying. Aslo, sometimes "corrupted region"
doctor by themselves. If you supect "corrupted region", recreate on blank sheet from A..Z.
There is no way to detect the corruption. It may just be within some of the primary
function as simple as missed some coefficients in sin(x), for instance.
Corrupted regions did happen in Mathcad 11 [rarely], mostly on long work sheet, even more
annoying. The wrost case: the backup is not up to date and nothing to recreate .

#29 Опубликовано: 26.04.2016 22:35:19
ur_naz

ur_naz

0 сообщений из 15 понравились пользователям.

Группа: User

Wrote

Why not give some visible locations [Los Angeles, Moscow]



Here is Moscow-Kiev distance calculation...
It is still improper.

Moscow-Kiev.sm (12 КиБ) скачан 43 раз(а).
#30 Опубликовано: 26.04.2016 22:49:39
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

Wrote

Here is Moscow-Kiev distance calculation...
It is still improper.



Moscow-Kiev2.sm (14 КиБ) скачан 44 раз(а).
С уважением, Михаил Каганский
#31 Опубликовано: 27.04.2016 00:34:13
Mike Kaganski

Mike Kaganski

184 сообщений из 434 понравились пользователям.

Группа: User

Vincenty.sm (29 КиБ) скачан 49 раз(а).

https://en.wikipedia.org/wiki/Vincenty%27s_formulae
С уважением, Михаил Каганский
#32 Опубликовано: 27.04.2016 08:50:53
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Thanks Mike:

Vicenty sanity check very closely with some on-line calculator [5060/5045]
Haversine NASA is quite in eccess 5915 km.

Cheers, Jean.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений