# Calculating laterel acceleration from change in direction (bearing)

• andyismilesaway
In summary, the car will have a greater lateral acceleration the closer it is to the direction of travel.
andyismilesaway
Hi all,

Ive made a car simulator for a uni project, i am now trying to calculate lateral acceleration (Gs) for the car.

It models a car going round a track, however the track is made up of a series of straight lines, no curves. curve (type things) are achieved by a series of straight lines close together.

I need to calculate the lateral acceleration from the car changing from one direction to another (essentially instantly but more likely effectively over a very short period of time.

Ie the change from going on a bearing of 50deg at 50mph and changing course to 60deg still at 50mph will exert some lateral Gs. But how can i calculate how much?

There is a formule for the radius of a circle, as in if the car were going round in a circle:

R^2/ speed gives lateral accel but i have straight lines, no curves.

Ive looked at making the lines give an effective radius but that isn't working too well.

Any help would be SO much appreciated. there is clearly a link between a change in direction (ideally in degrees) and lateral acceleration but i cannot find a formula.

If a car actually changed direction in zero time, the G force would be infinite because the corner where 2 straight lines meet has zero radius.
You need to get a non-zero radius at the corner. Then you have a piece of a circle and the centripetal G-force is easy to calculate from the standard formula.

yea, true, i see that if there is an "instant" change in direction there will be effectively infinite acceleration.

If the change were to go over one unit of distance as opposed to an instant change is tehre a way that there is a formula to calculate the acceleration with the direction in degrees and the speed. Is this possible if there is a change in one one unit rather than instantly.

Cheers

See below

/ <<< 10degree
/
/
/
. <<< point of change (one unit of length)
|
|
| <<< 0degree direction
|

I understand your diagram, despite the absence of tabs. Have a look at the pic I've attached. Assume your car is traveling on a circular arc while turning. As soon as you have the radius, the answer is easy.

#### Attachments

• direction change.jpg
4.1 KB · Views: 791
Yes, appologies for the lack of tabs, clearly my spaces didnt make the formatting. Glad it makes sense though :)

Yep, id come across the paradigm of finding the radius of a circle that would intersect 3 points on the lines (say one where the two meet, the other two a bit along the respective lines).

This brings me to the question of whether there is a way to calculate the radius of the circle from the angles of the lines. i ask this because the way I've coded the app its very difficult to find points on the lines as theyre drawn in real time.

I may seem obsessed with the "bearing" and its relevance but it just seems there should be some direct correlation between the circle radius and the change in bearing/heading.

Hope that helps show what I am looking for, if it exists :)

Earlier you suggested that the change takes place in a unit of distance.
Have a look at the pic. You can choose your circle so the section of arc I've labelled 'A' has length 1. The paths intersect tangentially with the circle.

You're designing the road, you can decide the tightness of the corner.

#### Attachments

• direction change 2.jpg
3.8 KB · Views: 697
Hi Andy

Nice to see another student doing a car simulation for University. I'm curious as to what aspect you are looking at with your project?

I've just added lateral calculations to by project, I came across this thread while googling for the formula. A bit late now after a month and was probably a typo anyway but:
andyismilesaway said:
R^2/ speed gives lateral accel

Best of luck

## 1. How is lateral acceleration calculated from a change in direction?

Lateral acceleration is calculated by dividing the change in velocity by the change in time. This can be represented by the equation a = Δv/Δt, where a is the lateral acceleration, Δv is the change in velocity, and Δt is the change in time.

## 2. What is the difference between lateral acceleration and centripetal acceleration?

Lateral acceleration refers to the change in velocity in a sideways direction, while centripetal acceleration refers to the change in velocity in a circular motion. They are both calculated using similar equations, but have different directions.

## 3. Can lateral acceleration be negative?

Yes, lateral acceleration can be negative. This means that the object is decelerating or changing direction in the opposite direction of its initial motion.

## 4. How does the mass of an object affect its lateral acceleration?

The mass of an object does not directly affect its lateral acceleration. The acceleration of an object is determined by its change in velocity and the time it takes to change direction, not its mass. However, a heavier object may require more force to change its direction, resulting in a slower lateral acceleration.

## 5. What units are used to measure lateral acceleration?

Lateral acceleration is typically measured in meters per second squared (m/s²) in the metric system, or feet per second squared (ft/s²) in the imperial system. These units represent the change in velocity over the change in time squared.

• Introductory Physics Homework Help
Replies
5
Views
1K
• Introductory Physics Homework Help
Replies
2
Views
873
• Introductory Physics Homework Help
Replies
1
Views
532
• Introductory Physics Homework Help
Replies
7
Views
1K
• Introductory Physics Homework Help
Replies
3
Views
4K
• Introductory Physics Homework Help
Replies
8
Views
6K
• Mechanics
Replies
16
Views
938
• Introductory Physics Homework Help
Replies
2
Views
2K
• Introductory Physics Homework Help
Replies
19
Views
1K
• Introductory Physics Homework Help
Replies
13
Views
2K