Designing a Highway Bridge: Optimal Road Surface for Extreme Temperatures

  • Thread starter sporus
  • Start date
  • Tags
    Algorithm
In summary, the conversation discusses designing a highway bridge and determining how to put the road surface on the bridge. It mentions the maximum and minimum temperatures of the area and the coefficient of linear expansion. The conversation also talks about equations for determining the length of the road surface at different temperatures and the need to leave enough space between sections of road surface for expansion. The user will provide the temperature, length, and coefficient of linear expansion for the installation.
  • #1
sporus
21
0
You are designing a highway bridge. In particular you are trying to determine how to put the road surface on the bridge. You live in an area where the maximum summertime temperature is 40 degrees centigrade and the minimum winter temperature is -30 degrees centigrade. The coefficient of linear expansion, α, measures the fractional change in length per unit change in temperature (fractional change = change in length per unit length). A coefficient of linear expansion will be no larger than 0.0001. Consider a section of road surface with length L1 (or L2) at temperature T. If the temperature T increases by ∆T the length of the section of road surface with L1=3 will increase by 3∆L to L1+ 3∆L. If the temperature decreases by ∆T a section of road surface with length L2=5 will decrease in length by 5∆L to L2-5∆L. The amount the length changes (per unit length of road surface L=1) by is ∆L = ∆Tα . You are to write a program to determine two things, the maximum size of the space between road sections and the amount of space to leave between the sections of road surface on the day they are installed. At the maximum temperature there should be no space between the sections of road surface. You must leave enough room between sections of road surface for the road surface to expand to the length it would have at the maximum temperature of 40 degrees. The user will provide the temperature on the day the installation takes place, the length of each section of road surface to be installed (at the temperature when the installation occurs) and the coefficient of linear expansion of the material being used in the road surface.


i can't do physics =(

i tried to come out with the equations but they went horribly wrong. I wrote the rest of the program just fine, but I can't figure out the equation. We shouldn't have to do physics in a computer programming course anyway
 
Physics news on Phys.org
  • #2
sporus said:
You are designing a highway bridge. In particular you are trying to determine how to put the road surface on the bridge. You live in an area where the maximum summertime temperature is 40 degrees centigrade and the minimum winter temperature is -30 degrees centigrade. The coefficient of linear expansion, α, measures the fractional change in length per unit change in temperature (fractional change = change in length per unit length). A coefficient of linear expansion will be no larger than 0.0001. Consider a section of road surface with length L1 (or L2) at temperature T. If the temperature T increases by ∆T the length of the section of road surface with L1=3 will increase by 3∆L to L1+ 3∆L. If the temperature decreases by ∆T a section of road surface with length L2=5 will decrease in length by 5∆L to L2-5∆L. The amount the length changes (per unit length of road surface L=1) by is ∆L = ∆Tα . You are to write a program to determine two things, the maximum size of the space between road sections and the amount of space to leave between the sections of road surface on the day they are installed. At the maximum temperature there should be no space between the sections of road surface. You must leave enough room between sections of road surface for the road surface to expand to the length it would have at the maximum temperature of 40 degrees. The user will provide the temperature on the day the installation takes place, the length of each section of road surface to be installed (at the temperature when the installation occurs) and the coefficient of linear expansion of the material being used in the road surface.


i can't do physics =(

i tried to come out with the equations but they went horribly wrong. I wrote the rest of the program just fine, but I can't figure out the equation. We shouldn't have to do physics in a computer programming course anyway

Welcome to the PF.

Per the PF rules (see the link at the top of the page), we can't do your work for you. But if you show us the equations you were working on, we should be able to help you figure out what you are doing wrong.
 

What is an algorithm?

An algorithm is a set of step-by-step instructions or rules that are followed in order to solve a problem or complete a task.

Why do we need algorithms?

Algorithms are important because they help us solve problems more efficiently and accurately. They are used in various fields such as computer science, mathematics, and engineering.

How do I write an algorithm?

To write an algorithm, you need to first understand the problem and break it down into smaller, more manageable steps. Then, you can use a combination of logical thinking and programming language to write the steps in a specific order.

What are some common algorithm design techniques?

Some common algorithm design techniques include divide and conquer, dynamic programming, and greedy algorithms. These techniques help in breaking down complex problems into simpler and more manageable parts.

How can I improve my algorithm?

There are several ways to improve an algorithm, such as optimizing its time and space complexity, using efficient data structures, and incorporating efficient programming techniques. Regular practice and seeking feedback from others can also help in improving your algorithm design skills.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
6
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
Replies
15
Views
1K
Replies
19
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
6
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top