Reply to topic  [ 4 posts ] 
Conversion calculations 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
I'm trying to create an app for a workshop that I'll be running as an "Introduction to Objective-C for developers".

It's going to be a variation of the temperature converter app that tends to be the "Introduction to programming" default.

Anyway, I was wondering about conversions.

If you take, temperature, time, pressure, distance... and the rest of the categories from this site... http://www.digitaldutch.com/unitconvert ... urrent.htm

Do all the conversions follow the pattern... y = mx + c (i.e. the formula of a straight line).

Can you give me an example that doesn't use this calculation? I can't think of one. In fact, with the exception of fahrenheit, most of them are just y = mx.

Is that correct?

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Jun 17, 2013 3:50 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:58 pm
Posts: 8767
Location: behind the sofa
Reply with quote
There are some more difficult ones such as light and sound which have units which are not directly convertible, but otherwise yes you're right.

Oh, there's also hardness and things like wind speed. They have non-linear scales too.

_________________
jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly."

When you're feeling too silly for x404, youRwired.net


Mon Jun 17, 2013 4:24 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
JJW009 wrote:
There are some more difficult ones such as light and sound which have units which are not directly convertible, but otherwise yes you're right.

Oh, there's also hardness and things like wind speed. They have non-linear scales too.

Cool thanks.

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Jun 17, 2013 4:30 pm
Profile WWW
Legend
User avatar

Joined: Fri Apr 24, 2009 2:02 am
Posts: 29240
Location: Guantanamo Bay (thanks bobbdobbs)
Reply with quote
JJW009 wrote:
There are some more difficult ones such as light and sound which have units which are not directly convertible, but otherwise yes you're right.

Oh, there's also hardness and things like wind speed. They have non-linear scales too.

And sound. I think that they are all logarithmic in scale.

_________________
Do concentrate, 007...

"You are gifted. Mine is bordering on seven seconds."

https://www.dropbox.com/referrals/NTg5MzczNTk

http://astore.amazon.co.uk/wwwx404couk-21


Tue Jun 18, 2013 8:44 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.