Friday, July 21, 2023

loading GIF

Wednesday, March 23, 2022

Instant Solution App | Vertical Curve Full Stations Elevations, High or Low Point, Diagram Layout | Free to Use

Hi,
Please input the gradient values in percentage (%), for example g1 (%) = 2, g2 (%) = -3.
Don't include the % sign. The other values can be put as needed, example lenth L (ft) = 1000.
Finally, hit the "Submit" button, and wait for the solution.

Input Fields




















Saturday, September 12, 2020

Python(Programming Language) Code to Solve a Horizontal Curve, Degree, Radius, Length, Long Chords and Tangent Length

 For Civil Engineers, Curves are to be taught in their Surveying course. Once you understand everything on the conceptual level, you can go to the next level by creating programs on software languages such as Python. Python can be easily installed on your computer, and you can run the following codes on that to get the solution. You can run it on Pycharm or IntelliJ etc. Try the code that I am giving below. 

So here is the problem. 

Given: So you are given two elements of a horizontal circular curve - Radius, and Intersection Angle. 

To Find Degrees, Length, Tangent Length, External Ordinate, Middle Ordinate, and Long Chord. 


Solution Code in Python:

import math
R = float(input('Radius, R: '))
u = input('units ')
D = 5729.57 / R
print('Degree of Curve, D = 5729.57/R = ', D,'degrees')
a = float(input('Intersection Angle(degrees) , I: '))
i = math.radians(a)
T = R*(math.tan(i/2))
print('Tangent Length, T= R*tan(I/2) =', T, u)
L = float(a*100/D)
print('Length of the Curve, L = I*100/D = ', L, u)
e = R*(1/math.cos(i/2)-1)
print('External Distant, E = R*(Sec(I/2) - 1) = ', e, u)
M = R*(1-math.cos(i/2))
print('Middle Ordinate, M = R*(1 - cos(I/2)) = ', M, u)
Lc = 2*R*math.sin(i/2)
print(f'Long Chords, Lc = 2R*Sin(I/2) = ', Lc, u)

I hope it works for you!
Thanks!


Friday, September 11, 2020

Draw an Octagon using Python's Turtle Module (Computer Programming Language) - Code Sheet



 Hi, 

I am sharing the code sheet in Python language that you can copy and paste, as it is, onto the interfaces such as Pycharm and Intellij to get the Octagon in yellow colour. If you have any doubts, please let me know in the comment box.


import turtle
sanju = turtle.Turtle()
sanju.color("red", "yellow")
sanju.begin_fill()
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.forward(100)
sanju.left(45)
sanju.end_fill()
turtle.done()

Wednesday, November 22, 2017

Solved Example-Distance of a Point from a Line, whose end Co-ordinates are given.

Hi,

Problem:
The X and Y coordinates(in meters) of station Shore are 246.87 and 659.46 respectively, and those for station Rock are 437.85 and 973.48, respectively. The azimuth, bearing, and length of the line connecting station Shore to station Rock are 31d,18 m, 24 s,  N31 d18 m 24s E, and 367.540 m, respectively.
What is the perpendicular distance of a point from the line if the X and Y coordinates of the point are 414.278 and 959.083, respectively?

Note:




Thanks for visiting!
Let me know if you have any doubts about the solution, I will make it easy for you.

Tuesday, November 7, 2017

solved Example - Find the elevations at full and half stations along sag curve

Problem:
A -2.8% grade line meets a +3.6% grade line at station 125+00.  Elevation=1631.04 ft. Determine the elevation of all full and half stations if a 650-ft curve is to be used.

solution:

Solution of vertical curve length, that passes through a fixed point elevation - solved example.

Problem:
A -4% downgrade intersects a +3% upgrade at elevation 120.00 ft at station 95 + 00. it is desired to pass a vertical curve through a point of elevation 128.00 ft at station 96 + 00. determine the curve length required.

solution:

loading GIF

Blog Archive