登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

徐小湛的博客

高等数学课件、函数图形动画、数学软件应用

 
 
 

日志

 
 

圆锥面  

2009-07-13 19:50:09|  分类: 高等数学图形动画 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

所有图形见数学图形目录

 

圆锥面

圆锥面 - Calculus - 高等数学

 

圆锥面 - Calculus - 高等数学

with(plots):
f:=u->u:
qumian:=plot3d([u*cos(theta),u*sin(theta),f(u)],u=-2..2,theta=0..2*Pi,scaling=constrained,style=patch):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..3,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(qumian,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76],lightmodel=light2,scaling=constrained);
 
圆锥面 - Calculus - 高等数学
 
with(plots):
f:=u->u:
qumian:=plot3d([u*cos(theta),u*sin(theta),f(u)],u=-2..2,theta=Pi/2..3*Pi/2,scaling=constrained):
quxian:=spacecurve([0,y,f(y)],y=-3..3,thickness=4,color=red):
x_axis:=plot3d([u,0,0],u=-2..2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2..2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..3,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(qumian,quxian,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76],lightmodel=light2);
 
圆锥面 - Calculus - 高等数学
 
with(plots):
x:=t->0:y:=t->t:z:=t->t:
u:=t->sqrt(x(t)^2+y(t)^2):a:=-2:b:=2:
qumian:=plot3d([u(t)*cos(theta),u(t)*sin(theta),z(t)],t=a..b,theta=0..2*Pi,scaling=constrained):
quxian:=spacecurve([x(t),y(t),z(t)],t=a-1..b+1,thickness=4,color=red):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..3,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(qumian,quxian,xyz,orientation=[40,70],tickmarks=[4,4,4],axes=none,grid=[54,76],lightmodel=light2);
 
圆锥面 - Calculus - 高等数学
 
with(plots):f:=u->u:a:=-2:b:=2:
K:=80:for i from 1 to K do ti:=i*4*Pi/K:
muxian[i]:=plot3d([u*cos(t),u*sin(t),f(u)],u=a..b,t=0..ti,scaling=constrained):
quxian[i]:=spacecurve([u*cos(ti),u*sin(ti),f(u)],u=-b-0.3..b+0.3,thickness=3,color=red) od:
qumian:=display(seq(muxian[i],i=1..K),insequence=true):
quxian:=display(seq(quxian[i],i=1..K),insequence=true):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..2,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(quxian,qumian,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76]);
 
圆锥面 - Calculus - 高等数学
 
with(plots):f:=u->u:a:=0:b:=2:
K:=60:for i from 1 to K do ti:=i*3*Pi/K:
muxian[i]:=plot3d([u*cos(t),u*sin(t),f(u)],u=a..b,t=0..ti,scaling=constrained):
quxian[i]:=spacecurve([u*cos(ti),u*sin(ti),f(u)],u=0..b+0.3,thickness=3,color=red) od:
qumian:=display(seq(muxian[i],i=1..K),insequence=true):
quxian:=display(seq(quxian[i],i=1..K),insequence=true):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..3,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(qumian,quxian,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76],lightmodel=light2);
 
圆锥面 - Calculus - 高等数学
 
with(plots):f:=u->u:a:=-2:b:=2:
qumian:=plot3d([u*cos(t),u*sin(t),f(u)],u=a..b,t=0..2*Pi,style=patchnogrid):
K:=20:for i from 1 to K do ti:=i*2*Pi/K:
quxian[i]:=spacecurve([u*cos(ti),u*sin(ti),f(u)],u=-b-0.1..b+0.1,thickness=3,color=blue) od:
quxian:=display(seq(quxian[i],i=1..K)):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01,thickness=3):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01,thickness=3):
z_axis:=plot3d([0,0,u],u=-.2..2.2,v=0..0.01,thickness=3):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(quxian,qumian,xyz,orientation=[40,70],tickmarks=[4,4,4],
axes=none,grid=[54,76],lightmodel=light2,scaling=constrained);
 
圆锥面 - Calculus - 高等数学
 
with(plots):f:=u->u:a:=-2:b:=2:
yuan1:=spacecurve([a*cos(t),a*sin(t),f(a)],t=0..2*Pi,thickness=2,color=blue):
yuan2:=spacecurve([b*cos(t),b*sin(t),f(b)],t=0..2*Pi,thickness=2,color=blue):
K:=20:for i from 1 to K do ti:=i*2*Pi/K:
quxian[i]:=spacecurve([u*cos(ti),u*sin(ti),f(u)],u=-b..b,thickness=3,color=blue) od:
quxian:=display(seq(quxian[i],i=1..K)):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.2..2.2,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(quxian,yuan1,yuan2,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76],
lightmodel=light2,scaling=constrained);
 
圆锥面
圆锥面 - Calculus - 高等数学
圆锥面 - Calculus - 高等数学
 
with(plots):f:=u->u:a:=-2:b:=2:
K:=60:for i from 1 to K do ti:=i*4*Pi/K:
muxian[i]:=plot3d([f(u)*sin(t),u,f(u)*cos(t)],u=a..b,t=0..ti,scaling=constrained):
quxian[i]:=spacecurve([f(u)*sin(ti),u,f(u)*cos(ti)],u=a-0.3..b+0.3,thickness=3,color=red) od:
qumian:=display(seq(muxian[i],i=1..K),insequence=true):
quxian:=display(seq(quxian[i],i=1..K),insequence=true):
x_axis:=plot3d([u,0,0],u=-0.5..2.2,v=0..0.01):
y_axis:=plot3d([0,u,0],u=-0.5..2.2,v=0..0.01):
z_axis:=plot3d([0,0,u],u=-.5..2,v=0..0.01):
xyz:=display(x_axis,y_axis,z_axis,thickness=3):
display(quxian,qumian,xyz,tickmarks=[4,4,4],axes=none,grid=[54,76],lightmodel=light2);
 
3. 圆锥面
圆锥面 - Calculus - 高等数学
圆锥面 - Calculus - 高等数学
with(plots):
qumian:=plot3d([u,u*sin(theta),u*cos(theta)],u=-1.5..1.5,theta=0..2*Pi):
x_axis:=plot3d([u,0,0],u=-2.2..2.2,v=0..0.01,thickness=3):
y_axis:=plot3d([0,u,0],u=-2.2..2.2,v=0..0.01,thickness=3):
z_axis:=plot3d([0,0,u],u=-2.2..2.2,v=0..0.01,thickness=3):
xyz:=display(x_axis,y_axis,z_axis):
display(qumian,text,xyz,orientation=[40,70],tickmarks=[4,4,4],axes=none,lightmodel=light2,
scaling=constrained);
 
 
  评论这张
 
阅读(3719)| 评论(0)

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018