Jump to content


Photo

Car Cc - Need A List :s


  • Please log in to reply
26 replies to this topic

#1 chrisandsarah

chrisandsarah

    One Carb Or Two?

  • Members
  • PipPipPipPipPipPipPip
  • 746 posts

Posted 01 June 2011 - 06:34 PM

Hey - I'm writing some code for a project, does anyone know if there is a list online of car 'cc's

such as

998 = 1.0
1275 = 1.3
1598 = 1.6 ish

Anyone know of a list of these anywhere from like 845cc -> to like 6litre or what ever is the largest car on the road...

Thank you for any help in advance :(

#2 Cerberus

Cerberus

    One Carb Or Two?

  • Members
  • PipPipPipPipPipPipPip
  • 989 posts
  • Location: near Leicester

Posted 01 June 2011 - 08:45 PM

well cc equates to ml at a 1:1 ratio.

a 1275cc engine is 1275ml, so is a 1.275 litre.

#3 greenlaner1

greenlaner1

    Mini Mad

  • Members
  • PipPipPipPip
  • 285 posts

Posted 01 June 2011 - 08:46 PM

Hey - I'm writing some code for a project, does anyone know if there is a list online of car 'cc's

such as

998 = 1.0
1275 = 1.3
1598 = 1.6 ish

Anyone know of a list of these anywhere from like 845cc -> to like 6litre or what ever is the largest car on the road...

Thank you for any help in advance :(


hmm.. what is it exactly you are asking? do you want to know the capacity of every car engine ever made?

GL1

#4 hazpalmer14

hazpalmer14

    Super Mini Mad

  • Members
  • PipPipPipPipPipPip
  • 684 posts
  • Local Club: cumbria mini cruisers

Posted 01 June 2011 - 08:48 PM

it will be different for each manufacturer, depending on their engine size like a 1.1 fiesta could be 1102cc for example (made up numbers)

#5 chrisandsarah

chrisandsarah

    One Carb Or Two?

  • Members
  • PipPipPipPipPipPipPip
  • 746 posts

Posted 01 June 2011 - 09:03 PM

What meant was if someone enters say 1.3 in an input box i will save it as that. If someone enters 1275 i will save it as 1.3.

So what i am after is a range of cc's that make up litreages... So if someone enters say 1275-1304 it will convert to 1.3, 1305-1409 becomes 1.4 for instance, i know those figures are wrong, but i hope it explains what i am wanting

#6 greenlaner1

greenlaner1

    Mini Mad

  • Members
  • PipPipPipPip
  • 285 posts

Posted 01 June 2011 - 09:12 PM

What meant was if someone enters say 1.3 in an input box i will save it as that. If someone enters 1275 i will save it as 1.3.

So what i am after is a range of cc's that make up litreages... So if someone enters say 1275-1304 it will convert to 1.3, 1305-1409 becomes 1.4 for instance, i know those figures are wrong, but i hope it explains what i am wanting


I see what you mean now, car companies usually round up or down to the nearest 0.1 litre, so a 6.4 litre engine could be anything from 6350cc to 6449cc (if that makes sense) and thats all there is to it really.

GL1

Edited by greenlaner1, 01 June 2011 - 09:12 PM.


#7 JustSteve

JustSteve

    Puke-Boy!!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,883 posts
  • Location: Long Eaton, Nottingham

Posted 01 June 2011 - 09:13 PM

1L = 1000CC. What exactly's the problem?

#8 chrisandsarah

chrisandsarah

    One Carb Or Two?

  • Members
  • PipPipPipPipPipPipPip
  • 746 posts

Posted 01 June 2011 - 09:14 PM

What meant was if someone enters say 1.3 in an input box i will save it as that. If someone enters 1275 i will save it as 1.3.

So what i am after is a range of cc's that make up litreages... So if someone enters say 1275-1304 it will convert to 1.3, 1305-1409 becomes 1.4 for instance, i know those figures are wrong, but i hope it explains what i am wanting


I see what you mean now, car companies usually round up or down to the nearest 0.1 litre, so a 6.4 litre engine could be anything from 6350cc to 6449cc (if that makes sense) and thats all there is to it really.

GL1



1275 is the exception?

#9 greenlaner1

greenlaner1

    Mini Mad

  • Members
  • PipPipPipPip
  • 285 posts

Posted 01 June 2011 - 09:22 PM

What meant was if someone enters say 1.3 in an input box i will save it as that. If someone enters 1275 i will save it as 1.3.

So what i am after is a range of cc's that make up litreages... So if someone enters say 1275-1304 it will convert to 1.3, 1305-1409 becomes 1.4 for instance, i know those figures are wrong, but i hope it explains what i am wanting


I see what you mean now, car companies usually round up or down to the nearest 0.1 litre, so a 6.4 litre engine could be anything from 6350cc to 6449cc (if that makes sense) and thats all there is to it really.

GL1



1275 is the exception?


nope, 1275 would round up to give 1.3, its just that a '1275GT' sounds good, if they did the same with all cars you'd end up with a 'fiesta 1204' which doesnt sound as good as a 'fiesta 1.2' which rolls off the tongue a bit better, or for another example, a '5.2 litre V8' sounds better than a '5196 V8' is that making more sense??

GL1

#10 Ethel

Ethel

    ..is NOT a girl!

  • TMF Team
  • PipPipPipPipPipPipPipPipPipPipPip
  • 25,931 posts
  • Local Club: none

Posted 01 June 2011 - 09:36 PM

See if you can find a relevant parts catalogue online - head gaskets, oil filters...

Some 2nd hand car guides also record that sort of stuff

#11 Dan

Dan

    On Sabbatical

  • TMF+ Member
  • PipPipPipPipPipPipPipPipPipPipPip
  • 21,354 posts

Posted 01 June 2011 - 09:43 PM

Why do you want to build a massive database to do something so simple? All your routine needs to do is divide by 1000 and display / save to 1 significant figure.

#12 greenlaner1

greenlaner1

    Mini Mad

  • Members
  • PipPipPipPip
  • 285 posts

Posted 01 June 2011 - 09:44 PM

Why do you want to build a massive database to do something so simple? All your routine needs to do is divide by 1000 and display / save to 1 significant figure.


2 significant figures.... :(

GL1

Edited by greenlaner1, 01 June 2011 - 10:26 PM.


#13 998dave

998dave

    998cc's Of Dave Goodness

  • TMF+ Member
  • PipPipPipPipPipPipPipPipPip
  • 4,566 posts
  • Name: Dave
  • Location: Essex

Posted 02 June 2011 - 08:55 AM

Why do you want to build a massive database to do something so simple? All your routine needs to do is divide by 1000 and display / save to 1 significant figure.


2 significant figures.... :D

GL1


Technically 1 decimal place, otherwise a 11980cc MD12 truck engine would show as 12 no 12.0.

I was wondering exactly the same thing, but unfortunately it's still not that easy.

For example the Suzuki GSXR1100 and Suzuki GSX1200 Bandit use the same 1154cc base engine, but is labelled 1100 and 1200 for the different variants based on the popularity of the engine sizes.

Also, with the Fiesta example, Ford make a 1248(ish) cc petrol engine, that we actually call a 1.25, not a 1.2 or 1.3.
And the mini 850 is definately a 0.85, not a 0.8 or 0.9...

Dave

#14 chrisandsarah

chrisandsarah

    One Carb Or Two?

  • Members
  • PipPipPipPipPipPipPip
  • 746 posts

Posted 02 June 2011 - 09:04 AM

In a cody format

if( cc < 900 ){
car = "under 1 litre"
}

if( cc > 900 AND cc < 1050){
car = "1 litre"
}

if( cc > 1050 AND cc < 1125){
car = "1.1 litre"
}

if( cc > 1125 AND cc < 1260){
car = "1.2 litre"
}


if( cc > 1260 AND cc < 1320){
car = "1.3 litre"
}


need that up to a 3litre really - but under the 2litre would be the most used i imagine

Something like that would work. It doesnt need to be accurate, just a best guess. As if the person enters 1275, it will be converted to 1.3 in the database. If someone entered say 1.25 like 998dave said, then it would be a 1.2 litre .... would this work?

Does that make sense? Apologies for sudocode it seemed easier

Edited by chrisandsarah, 02 June 2011 - 09:15 AM.


#15 greenlaner1

greenlaner1

    Mini Mad

  • Members
  • PipPipPipPip
  • 285 posts

Posted 02 June 2011 - 09:33 PM

In a cody format

if( cc < 900 ){
car = "under 1 litre"
}

if( cc > 900 AND cc < 1050){
car = "1 litre"
}

if( cc > 1050 AND cc < 1125){
car = "1.1 litre"
}

if( cc > 1125 AND cc < 1260){
car = "1.2 litre"
}


if( cc > 1260 AND cc < 1320){
car = "1.3 litre"
}


need that up to a 3litre really - but under the 2litre would be the most used i imagine

Something like that would work. It doesnt need to be accurate, just a best guess. As if the person enters 1275, it will be converted to 1.3 in the database. If someone entered say 1.25 like 998dave said, then it would be a 1.2 litre .... would this work?

Does that make sense? Apologies for sudocode it seemed easier


if it doesnt have to be accurate then how about this:

if( cc < 950 ){
car = "under 1 litre"
}

if( cc > 950 AND cc < 1049){
car = "1 litre"
}

if( cc > 1050 AND cc < 1149){
car = "1.1 litre"
}

if( cc > 1150 AND cc < 1249){
car = "1.2 litre"
}


if( cc > 1250 AND cc < 1349){
car = "1.3 litre"
}

if( cc > 1350 AND cc < 1449){
car = "1.4 litre"
}

if( cc > 1450 AND cc < 1549){
car = "1.5 litre"
}

if( cc > 1550 AND cc < 1649){
car = "1.6 litre"
}

and just keep going as high as you like.

I still dont understand why you would want to do this though?

GL1




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users