How might I go about writing a code for the following function? I am pretty new to this so I'm not sure where to start.
'Shear modulus G = E/(2*(*(1+nu))
Function G_shearmodulusG(E,nu)
How might I go about writing a code for the following function? I am pretty new to this so I'm not sure where to start.
'Shear modulus G = E/(2*(*(1+nu))
Function G_shearmodulusG(E,nu)
Something like this? I'm not sure what that extra (*
is in there though (maybe some special kind of math thing that I'm not familiar with):
Sub Test()
Debug.Print G_shearmodulusG(5, 2)
End Sub
Function G_shearmodulusG(E, nu)
G_shearmodulusG = E / (2 * (1 + nu))
End Function