离散数学英文版课件.ppt

上传人:晟*** 文档编号:14395806 上传时间:2022-10-14 格式:PPT 页数:44 大小:937.04KB
下载 相关 举报
离散数学英文版课件.ppt_第1页
第1页 / 共44页
离散数学英文版课件.ppt_第2页
第2页 / 共44页
离散数学英文版课件.ppt_第3页
第3页 / 共44页
离散数学英文版课件.ppt_第4页
第4页 / 共44页
离散数学英文版课件.ppt_第5页
第5页 / 共44页
点击查看更多>>
资源描述

Chapter 5: Induction and Recursion (Part 2)Elements of Discrete StructuresRecursively Defined Functions Define a function f(n) recursively, n is an integer and n 0 : Basis Step: Specify the value of the function at n = 0 (or a special value): f(0) Recursive Step: For n 0, specify a rule for producing the value of f(n+1) from f(n) Example: f(0) = 3 f(n+1) = 2f(n) + 3f(3) = 2f(2) + 3 = 2(2f(1) + 3) + 3 = 2(2(f(0) + 3) + 3) + 3 = 2(2(3 + 3) +3) + 3 = 45Recursive Function Example Recursive definitio

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育教学资料库 > 课件讲义

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。