编了一个vuamp的子程序,但不知道哪里写错了一直无法进行运算? 10
想要利用vuamp子程序通过定义幅值的方式分别定义路基表面,路基边坡,天然地表的温度变化的函数,.log里面提示
VUAMP.for(40): error #5082: Syntax error, found IDENTIFIER 'SIN' when expecting one of: * ) :: , <END-OF-STATEMENT> ; . (/ + - : ] /) ' ** / // > .LT. < ...
ampValueNew=-1+15sin((2*pi/8760)*tim+pi/2)+2.6*tim/(8760*50)
-----------------------^
VUAMP.for(49): error #5082: Syntax error, found IDENTIFIER 'SIN' when expecting one of: * ) :: , <END-OF-STATEMENT> ; . (/ + - : ] /) ' ** / // > .LT. < ...
ampValueNew=-1.8+13sin((2*pi/8760)*tim+pi/2)+2.6*tim/(8760*50)
-------------------------^
VUAMP.for(58): error #5082: Syntax error, found IDENTIFIER 'SIN' when expecting one of: * ) :: , <END-OF-STATEMENT> ; . (/ + - : ] /) ' ** / // > .LT. < ...
ampValueNew=-4+12sin((2*pi/8760)*tim+pi/2)+2.6*tim/(8760*50)
请大家帮忙看一下这是哪出问题了