当前位置: 首页 > news >正文

跨国网站浏览器凤岗镇仿做网站

跨国网站浏览器,凤岗镇仿做网站,网站建设的提成,学校网页设计模板图片常量函数,幂函数,指数函数,对数函数,三角函数和反三角函数成为基本初等函数。基本初等函数经过有限四则运算和符合运算得到的函数称为初等函数。 1. 常量函数 表达式: (其中 c 是常数)参数的意…

        常量函数,幂函数,指数函数,对数函数,三角函数和反三角函数成为基本初等函数。基本初等函数经过有限四则运算和符合运算得到的函数称为初等函数。

1. 常量函数

  • 表达式: f(x)=C (其中 c 是常数)
  • 参数的意思: 是一个固定的常数。
  • 定义域:c\in(-\infty ,+\infty)
  • 值域: (-\infty ,+\infty)
  • 奇偶性: 偶函数(f(-x)=f(x))
  • 单调性: 不单调
  • 周期性: 周期性(周期为任意值)
  • manim示例:
    from manim import *  class FunctionC1(Scene):  def construct(self):   a1=MathTex("constant Function").shift(3.5*UP) self.add(a1)title = Title().shift(3.4*UP)  self.add(title)  # Create axes and shift them down  ax = Axes().add_coordinates().shift(0.2*DOWN)  # Plot the constant function f(x) = 1  curve = ax.plot(lambda x: 1, color=DARK_BLUE)  label = MathTex(r"f(x) = 1  \\ c=1").next_to([-3,1.5,0], buff=0.1).set_color(DARK_BLUE)# Add a label to the curve  #label = MathTex("f(x) = 1").next_to(curve, UR, buff=0.2).set_color(DARK_BLUE).shift(2*LEFT)  # Add the axes and the curve to the scene  self.add(ax, curve, label) 


2. 幂函数

  • 表达式: f(x)=x^{n}(其中 n为常数)
  • 参数的意思: n是幂的指数。
  • 定义域:
    • n为正整数:x\in (−∞,+∞)
    • n为负整数: x>0
  • 值域:
    • n为偶数:[0,+∞)
    • n为奇数: (−∞,+∞)
    • n为负数: (0,+∞)(当 x>0)
  • 奇偶性:
    • 偶函数(当 n为偶数)
    • 奇函数(当 n 为奇数)
  • 单调性:
    • 当 n>0 时,单调递增(n为奇数时可在 x<0 区间内非单调)
    • 当 n<0 时,在 x>0 区间单调递减。
  • 周期性: 非周期性

示例: 

from manim import *  class FunctionPow(Scene):  def construct(self):   # Title for the plot  title = Title("Power Functions")  self.add(title)  # Create axes  ax = Axes().add_coordinates().shift(0.2*DOWN)  #ax.add_coordinate_labels()  # 添加坐标标签  # Plot the functions with appropriate ranges  curve1 = ax.plot(lambda x: x**(-2), color=DARK_BLUE, x_range=[0.1, 2.3])  # x > 0  curve2 = ax.plot(lambda x: x**0.5, color=YELLOW, x_range=[0, 2.3])      # x >= 0  curve3 = ax.plot(lambda x: x**1, color=GREEN, x_range=[-2.4, 2.3])  curve4 = ax.plot(lambda x: x**3, color=ORANGE, x_range=[-1.5, 1.2])  # Add labels to the curves  label1 = MathTex(r"f(x) = x^{-2}").next_to([2,0.5,0], buff=0.1).set_color(DARK_BLUE)  label2 = MathTex(r"g(x) = x^{0.5}").next_to(curve2, UR, buff=0.1).set_color(YELLOW)  label3 = MathTex(r"h(x) = x").next_to(curve3, UR, buff=0.1).set_color(GREEN)  label4 = MathTex(r"i(x) = x^3").next_to(curve4, DL, buff=0.1).set_color(ORANGE)  # Add everything to the scene  self.add(ax, curve1, curve2, curve3, curve4, label1, label2, label3, label4)  

3. 指数函数

  • 表达式: f(x)=a^{x} (其中 a>0,a≠1)
  • 参数的意思: a是基数,x是指数。
  • 定义域: x\in(−∞,+∞)
  • 值域: (0,+∞)
  • 奇偶性: 非奇偶函数
  • 单调性:
    • a>1时,单调递增
    • 0<a<1时,单调递减
  • 周期性: 非周期性

 

from manim import *  
import math as maclass FunctionExponential(Scene):  def construct(self):   # Title for the plot  title = Title("Exponential Function")  self.add(title)  # Create axes  ax = Axes(x_range=[-1,9],y_range=[-1,9],x_length=12,y_length=6).add_coordinates().shift(0.2*DOWN)  #ax.add_coordinate_labels()  # 添加坐标标签  # Plot the functions with appropriate ranges  curve1 = ax.plot(lambda x: 0.5**x, color=DARK_BLUE, x_range=[-5, 5])  # 1> a > 0  curve2 = ax.plot(lambda x: 1.5**x, color=YELLOW, x_range=[-5, 2.7])      # a>1 curve3 = ax.plot(lambda x: ma.exp(x), color=PINK, x_range=[-5, 2.7])      # a>1 # Add labels to the curves  label1 = MathTex(r"f(x) = 0.5^{x} \\ a=0.5,0<a<1").next_to([1.5,-1,0], buff=0.1).set_color(DARK_BLUE)  label2 = MathTex(r"g(x) = 1.5^{x} \\ a=2,a>1").next_to(curve2, UR, buff=0.1).set_color(YELLOW)  label3 = MathTex(r"g(x) = e^{x} \\ a=2,a>1").next_to([-2,2,0]).set_color(PINK)  # Add everything to the scene  self.add(ax, curve1, curve2,curve3,  label1, label2,label3)  

4. 对数函数

  • 表达式:f(x)=log_{a}{x}(其中 a>0,a≠1)
  • 参数的意思: a是底数,x 是对数的真数。
  • 定义域: x\in(0,+∞)
  • 值域: f(x)\in(−∞,+∞)
  • 奇偶性: 非奇偶函数
  • 单调性: 单调递增
  • 周期性: 非周期性

 

from manim import *  
import math as ma  class FunctionLogarithm(Scene):  def construct(self):   # Title for the plot  title = Title("Logarithmic Functions")  self.add(title)  # Create axes  ax = Axes(x_range=[0.01, 9], y_range=[-3, 3], x_length=10, y_length=5).add_coordinates().shift(0.2*DOWN)  # Plot the functions with appropriate ranges  curve1 = ax.plot(lambda x: ma.log(x, 0.5), color=DARK_BLUE, x_range=[0.01, 6])  # a < 1  curve2 = ax.plot(lambda x: ma.log(x, 2), color=YELLOW, x_range=[0.01, 8])      # a = 2  curve3 = ax.plot(lambda x: ma.log(x), color=PINK, x_range=[0.01, 8])           # a = e  # Add labels to the curves  label1 = MathTex(r"f(x) = \log_{0.5}{x} \\ a=0.5, 0<a<1").next_to([2.5, -2, 0], buff=0.1).set_color(DARK_BLUE)  label2 = MathTex(r"g(x) = \log_{2}{x} \\ a=2").next_to(curve3, UR, buff=0.1).set_color(YELLOW)  label3 = MathTex(r"h(x) = \log{x} \\ a=e").next_to([2.5,0.5, 0], buff=0.1).set_color(PINK)  # Add everything to the scene  self.add(ax, curve1, curve2, curve3, label1, label2, label3)  

5. 三角函数

  • 表达式:
    • 正弦函数: f(x)=sin⁡xf(x)=sinx
    • 余弦函数: f(x)=cos⁡xf(x)=cosx
    • 正切函数: f(x)=tan⁡xf(x)=tanx
  • 参数的意思: xx 是角度(通常以弧度为单位)。
  • 定义域:
    • sin⁡(x)和 cos⁡(x): x\in(−∞,+∞)
    • tan(⁡x):x\neq \frac{\pi }{2}+k\pi(k\in \mathbb{Z})
  • 值域:
    • sin⁡(x)和 cos⁡(x): [−1,1][−1,1]
    • tan(⁡x): (−∞,+∞)
  • 奇偶性:
    • sin⁡x: 奇函数
    • cos⁡x: 偶函数
    • tan⁡x: 奇函数
  • 单调性:
    • sin⁡x: 在 (2kπ,(2k+1)π) 上单调递增
    • cos⁡x: 在 (2kπ,(2k+1)π)上单调递减
    • tan⁡x: 在每个周期内单调递增
  • 周期性:
    • sin⁡(x)和 cos⁡(x): 周期 2π
    • tan⁡x: 周期 ππ

 

from manim import *  
import numpy as np  class FunctionTrigonometric(Scene):  def construct(self):   # Title for the plot  title = Title("Trigonometric Functions")  self.add(title)  # Create axes  ax = Axes(x_range=[-6, 6], y_range=[-2, 2], x_length=12, y_length=6).add_coordinates().shift(0.2*DOWN)  # Plot the functions with appropriate ranges  curve1 = ax.plot(np.sin, color=DARK_BLUE, x_range=[-6, 4])  # Sin function  curve2 = ax.plot(np.cos, color=YELLOW, x_range=[-6, 5])     # Cos function  curve3 = ax.plot(np.tan, color=PINK, x_range=[-1.19, 1])   # Tan function  # Add labels to the curves  label1 = MathTex(r"f(x) = \sin{x}").next_to(curve1, DR, buff=0.1).set_color(DARK_BLUE)  label2 = MathTex(r"g(x) = \cos{x}").next_to(curve2, UR, buff=0.1).set_color(YELLOW)  label3 = MathTex(r"h(x) = \tan{x}").next_to(curve3, UR, buff=0.1).set_color(PINK)  # Add everything to the scene  self.add(ax, curve1, curve2, curve3, label1, label2, label3)  

6. 反三角函数

  • 表达式:
    • arcsin(⁡x)
    • arccos⁡(x)
    • arctan(⁡x)
  • 参数的意思: x是三角函数的值。
  • 定义域:
    • arcsin(⁡x): [−1,1]
    • arccos⁡(x: [−1,1]
    • arctan(⁡x): (−∞,+∞)
  • 值域:
    • arcsin(⁡x):[-\frac{\pi}{2},\frac{\pi}{2}]
    • arccos(⁡x):[0,\pi]
    • arctan(⁡x): (-\frac{\pi}{2},\frac{\pi}{2})
  • 奇偶性:
    • arcsin⁡x: 奇函数
    • arccos⁡x: 非奇偶函数
    • arctan⁡x: 奇函数
  • 单调性:
    • arcsin⁡x: 单调递增
    • arccos⁡x: 单调递减
    • arctan⁡x: 单调递增
  • 周期性: 非周期性

 

from manim import *  
import numpy as np 
import mathclass FunctionInverseTrigonometric(Scene):  def construct(self):   # Title for the plot  title = Title("Inverse Trigonometric Functions")  self.add(title)  # Create axes  ax = Axes(x_range=[-7.5, 7.5], y_range=[-5, 5], x_length=12, y_length=6).add_coordinates().shift(0.2*DOWN)  # Plot the functions with appropriate ranges  curve1 = ax.plot(np.arcsin, color=DARK_BLUE, x_range=[-1, 1])  # Inverse Sin function  curve2 = ax.plot(math.acos, color=YELLOW, x_range=[-1, 1])     # Inverse Cos function  curve3 = ax.plot(np.arctan, color=PINK, x_range=[-10, 4])       # Inverse Tan function  # Add labels to the curves  label1 = MathTex(r"f(x) = \arcsin{x}").next_to(curve1, UR+3*UP, buff=0.1).set_color(DARK_BLUE)  label2 = MathTex(r"g(x) = \arccos{x}").next_to(curve2, DR+5*DOWN, buff=0.1).set_color(YELLOW)  label3 = MathTex(r"h(x) = \arctan(x)").next_to(curve3, UR, buff=0.1).set_color(PINK)  # Add everything to the scene  self.add(ax, curve1, curve2, curve3, label1, label2, label3)  

http://www.yayakq.cn/news/247047/

相关文章:

  • 广州建造网站公司wordpress文章奇偶循环
  • 网页标准化对网站开发维护所有者的好处指定网站怎么设置路由器只访问
  • 电视台网站如何做新闻报道泰安网络公司协会
  • 在哪个网站找地理题做绿色网站模版
  • 有.net源码如何做网站佛山 网站建设培训班
  • asp.net mvc5网站开发之美 pdfwordpress社区型主题
  • 企业网站的制作周期农村做网站赚钱
  • 顶呱呱做网站南昌免费网站建站模板
  • 小型公司建网站学校网站建设的优势和不足
  • 昆明航空公司官方网站重庆高端网站建设
  • 做现货值得关注的财经网站互联网运营培训班哪个好
  • 爱站网关键词怎么挖掘如何做企业网站开发
  • 做微博分析的网站wordpress 标题截取
  • 科技公司网站欣赏wordpress设置百度站长主动推送
  • dede部署两个网站搜索热度和搜索人气
  • 只有一个页面的网站怎么做wordpress 减少head
  • 邢台做网站推广的地方手机网站域名解析
  • 自己域名做网站杭州app网站设计
  • 网站开发学什么 2018民政网站建设情况汇报
  • 祥云网站建设泸州网站公司
  • 做网站和管理系统一起做网店网站打不开
  • 宿州专业网站建设网站后台界面 园林设计
  • 网站备案信息成都网络设计公司
  • 云南网站优化建站东莞品牌设计公司
  • 免费中文网站模板下载学生个人网站建设模板
  • 凡科网站能在百度做推广吗企业网站销售
  • 网站建设骗响应式官网模板免费下载
  • 免费的网站开发工具外贸做编织袋常用网站
  • 怎么免费做网站视频教学六安政务中心网站
  • 创新的中山网站建设中铁建设集团最新门户网登录