这是一个asp.net的全文教程.里面还有数据库的数据.对初学者有很大的帮助

源代码在线查看: ch12-03-02.aspx

软件大小: 629 K
上传用户: liu4052032
关键词: asp net 教程 初学者
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				Ch12-03-02.aspx 三角函数、自然对数与指数
				
				
				三角函数、自然对数与指数
								' 显示数学常数
				Response.Write("E: " & Math.E & "")
				Response.Write("PI: " & Math.PI & "")
				' 指数和对数函数
				Dim valA As Double = 15.3189
				Dim valB As Double = 7.3495
				Response.Write("变量valA的值为:" & valA & " 变量valB的值为:" & valB & "")
				Response.Write("Exp(valA): " & Math.Exp(valA) & "")
				Response.Write("Log(valA): " & Math.Log(valA) & "")
				Response.Write("Pow(valA, valB): " & Math.Pow(valA, valB) & "")
				Response.Write("Sqrt(valA): " & Math.Sqrt(valA) & "")
				' 三角函数
				Dim DegA As Double = 45.0
				Dim RadA As Double = DegA*Math.PI/180.0
				Response.Write("三角函数角度DegA的值为:" & DegA & " 弧度RadA的值为:" & RadA & "")
				Response.Write("Sin(RadA): " & Math.Sin(RadA) & "")
				Response.Write("Cos(RadA): " & Math.Cos(RadA) & "")
				Response.Write("Tan(RadA): " & Math.Tan(RadA) & "")
				Response.Write("ASin(RadA): " & Math.ASin(RadA) & "")
				Response.Write("ACos(RadA): " & Math.ACos(RadA) & "")
				Response.Write("ATan(RadA): " & Math.ATan(RadA) & "")
				%>
				
				
							

相关资源