FuelCalc

Other FuelCalc 1.2.3.4

Login or Register an account to download this content
Pedro Lotti submitted a new resource:

FuelCalc - fuel calculator

ENGLISH

This simple program calculates the fuel needed for the
race. When the clock stop it will still have
fuel to: finish the current lap and make the
last lap, 1 extra lap for the case you are lapped.
And go to the pit lane after the race.

Tips to use properly the program on "howtouse.txt"

Avaiable for windows.

View attachment 407913

PORTUGUESE

Esse programa simples calcula o combustível necessário para, assim que o relógio zerar, você terminar a volta atual, abrir e...

Read more about this resource...
 
Pedro Lotti updated FuelCalc with a new update entry:

Better Calc For Endurance

Last versions of the program calculates fuel for sprint races, now you can calculate using the time lost in the pit lane, for a more efficient fuel usage.

Nas últimas versões o programa calculava o combustível para corridas de um stint, agora você pode calcular levando em conta o tempo perdido no pit lane, para um uso mais eficiente de combustível.

Read the rest of this update entry...
 
Pedro Lotti submitted a new resource:

FuelCalc - fuel calculator



Read more about this resource...
source code (C)

#include <stdio.h>
#include <stdlib.h>

int main()
{
float rtime, min, seg, lplap, laptime, laps, ltrstotal, pit;
printf("Welcome to FuelCalc!\n\n");
printf("Type the race time in minutes:\n");
scanf("%f", &rtime);
rtime = rtime*60;
printf("\nEnter the time lost in the pit lane: (secs)\n");
scanf("%f", &pit);
rtime = rtime - pit;
printf("\nyour Lap time: (0:00.000)\n");
scanf("%f:%f", &min, &seg);
min = min*60;
laptime = min+seg;
laps = (rtime/laptime) + 2;
printf("\nOk, will be %.0f race laps\n", (laps-1));
printf("Type your car's fuel consumption (Liters/Lap)\n");
scanf("%f", &lplap);
ltrstotal = laps*lplap;
printf("\n%.2f Liters = simple start\n", ltrstotal);
printf("%.2f Liters = with formation lap\n", ltrstotal + (0.7*lplap));
printf("%.2f Liters = taking risks (may be out of fuel)\n", ltrstotal - lplap);
printf("\nPedro Guido M. Lotti, ver 1.1.3, 2020\n");
system("pause");
return 0;
}
 
Pedro Lotti updated FuelCalc with a new update entry:

New Interface!

Finnaly we got a new friendly interface!
Finalmente temos uma interface amigável!

DISCLAIMER/AVISO:
-A know issue: antivirus may indentify the fuelcalc1.2_en.exe as virus. I don't know why, this is my first python program. Otherwise you can restore de file and use normally, for more details read howtouse.txt.

-Um bug conhecido: o antivirus pode identificar o fuelcalc1.2_ptbr.exe como virus. Eu sei lá porque, mas esse é o primeiro programa que eu faço em python. Pra resolver você poder...

Read the rest of this update entry...
 

What are you racing on?

  • Racing rig

    Votes: 528 35.2%
  • Motion rig

    Votes: 43 2.9%
  • Pull-out-rig

    Votes: 54 3.6%
  • Wheel stand

    Votes: 191 12.7%
  • My desktop

    Votes: 618 41.2%
  • Something else

    Votes: 66 4.4%
Back
Top