Or login with:
| doubleslope_safety_factor( | double | radius | |
| double | a | ||
| double | b | ||
| double | H | ||
| double | slope | ||
| double | soil_density | ||
| double | soil_c | ) |

Private Section
#include <stdio.h> #include <codecogs/engineering/soil/slope_safety_factor.h> int main() { double soil_c=45; double soil_density=1900; double H=9; // height of bank double slope=90; double a=6; // horizontal distance to toe of slope // Find the vertical position of the circle that gives the lowest factor of safety for (double b=10; b < 40; b += 1) { double R=sqrt(b*b+a*a); // assume minimum radius to toe of slope double F=Engineering::Soil::slope_safety_factor(R, a, b, H, slope, soil_density, soil_c); printf("\n b=%lf Radius=%lf F=%lf",b,R,F); } return 0; }Output:
TODO: Need to compute
| radius | The radius r of the slip circle. Note the radius must be sufficient to reach below the toe of the slope and beyond the top of the slope. [m] |
| a | The horizontal offset from the toe of the slope to the center of the slip cicle. [m] |
| b | The vertical offset from the toe of the slope to the cetner of the slip circle. [m] |
| H | The height of the slope. [m] |
| slope | The angle of the slope. [degrees] |
| soil_density | The average density |
| soil_c | The natural cohesion (base shear strength) of the soil, |
Source code is available when you buy a Commercial licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge