[SS-111][SS-2327] arguments names interference - When using user functions, the answer is different than making step by step calculations. - Messages
#21 Posted: 4/26/2016 1:54:20 AM
QuoteYou scared me!
Oh! You made my day!

But why SMath does so? Or was it my fault?
#22 Posted: 4/26/2016 2:19:00 AM
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...
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 Posted: 4/26/2016 2:44:15 AM
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...

I can't reproduce this bug?... Maybe leave it to later days...
#24 Posted: 4/26/2016 8:52:29 AM
SS-2331 filed.
С уважением,
Михаил Каганский
1 users liked this post
ur_naz 4/26/2016 2:11:00 PM
#25 Posted: 4/26/2016 4:11:31 PM
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?
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 Posted: 4/26/2016 7:51:49 PM
WroteI 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 KiB) downloaded 44 time(s).
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 Posted: 4/26/2016 8:50:59 PM
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 KiB) downloaded 44 time(s).
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 KiB) downloaded 44 time(s).
#28 Posted: 4/26/2016 9:46:03 PM
WroteI 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 Posted: 4/26/2016 10:35:19 PM
WroteWhy not give some visible locations [Los Angeles, Moscow]
Here is Moscow-Kiev distance calculation...
It is still improper.
Moscow-Kiev.sm (12 KiB) downloaded 42 time(s).
#30 Posted: 4/26/2016 10:49:39 PM
WroteHere is Moscow-Kiev distance calculation...
It is still improper.
Moscow-Kiev2.sm (14 KiB) downloaded 43 time(s).
С уважением,
Михаил Каганский
#31 Posted: 4/27/2016 12:34:13 AM
С уважением,
Михаил Каганский
#32 Posted: 4/27/2016 8:50:53 AM
Thanks Mike:
Vicenty sanity check very closely with some on-line calculator [5060/5045]
Haversine NASA is quite in eccess 5915 km.
Cheers, Jean.
Vicenty sanity check very closely with some on-line calculator [5060/5045]
Haversine NASA is quite in eccess 5915 km.
Cheers, Jean.
-
New Posts
-
No New Posts