Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
Indentation by a rigid flat punch, Case IV - Sliding punch P
Line loading of an elastic half space, Indentation by a rigid flat punch, Case IV - Sliding punch Pressure.
11ヶ月 前 | ダウンロード 1 件 |
Concentrated Normal Force
Point loading of an elastic half space, Concentrated normal force.
11ヶ月 前 | ダウンロード 2 件 |
principal stress in 3D
This script helps to calculate the 3D principle stress. You just need to input the value of stresses.
11ヶ月 前 | ダウンロード 4 件 |
Add two numbers
Given a and b, return the sum a+b in c.
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...