课 程 设 计
(基础强化训练)
题 目 蹦极逃生问题 学 院 计算机科学与技术
专 业 软件工程 班 级 软件1班
姓 名 指导教师
何九周
2013 年 7 月 12 日
学 号:
武汉理工大学 《基础强化训练》课程设计
课程设计任务书
学生姓名: 专业班级: 软件1班 指导教师: 何九周 工作单位:计算机科学与技术学院 题 目 简 述:詹姆斯邦德被人追杀至一架桥附近,为了摆脱敌人利用蹦极的方法从桥上跳下去,在小于10米每秒的速度安全落地。
课设题目:蹦极逃生问题 初始条件:
输入:输入不同的数值,测试詹姆斯邦德能否安全落地。 示例输入: 输出:
350 20 30 75 Killed by the impact. 375 20 30 75 James Bond survives. 400 20 30 75 James Bond survives. 425 20 30 75 James Bond survives. 450 20 30 75 Stuck in the air. 400 20 30 50 Stuck in the air. 400 20 30 80 James Bond survives. 400 20 30 85 Killed by the impact. 要求完成的主要任务: (包括课程设计工作量及其技术要求,以及说明书撰写等具体要求)
1、完成算法分析
2、给出对应的程序流程图
3、给出能正确实现的程序源码 5、给出试算截屏图
6、课程设计工作的分析与总结 7、给出不少于5篇参考文献。
时间安排:
2009-7-13到2009-7-17
指导教师签名: 年 月 日
系主任(或责任教师)签名: 年 月 日
2
武汉理工大学 《基础强化训练》课程设计
目录
1 注册资料 ................................................................................................ 4 2 选题描述 ................................................................................................ 4
2.1 题目理解……………………………………………………….5
2.2 相关计算……………………………………………………….5 3 算法分析 ................................................................................................ 6
3.1过程分析……………………………………………………….6 4 程序流程图 ............................................................................................ 7 5 程序源码 ................................................................................................ 7 6 试算截屏图 ............................................................................................ 9 7 分析与总结 ............................................................................................ 9 8 参考文献 .............................................................................................. 10
9 成绩评定表………………………………………………………….11
3
武汉理工大学 《基础强化训练》课程设计
1.注册资料
用户名:2427112682 密码:~!selangkaihui 选题题号:2463
2.选题描述
Once again, James Bond is fleeing from some evil people who want to see him dead. Fortunately, he has left a bungee rope on a nearby highway bridge which he can use to escape from his enemies. His plan is to attach one end of the rope to the bridge, the other end of the rope to his body and jump off the bridge. At the moment he reaches the ground, he will cut the rope, jump into his car and be gone.
Unfortunately, he had not had enough time to calculate whether the bungee rope has the right length, so it is not clear at all what is going to happen when he jumps off the bridge. There are three possible scenarios:
(1)The rope is too short (or too strong), and James Bond will never reach the ground.
(2)The rope is too long (or too weak), and James Bond will be going too fast when he touches the ground. Even for a
(3)special agent, this can be very dangerous. You may assume that if he collides at a speed of more than 10 m/s, he will not survive the impact.
The rope's length and strength are good. James Bond touches the ground at a comfortable speed and can escape.
As his employer, you would like to know whether James Bond survives or whether you should place a job ad for the soon-to-be vacant position in the local newspaper. Your physicists claim that:
The force with which James is pulled towards the earth is :9.81 *, w,
(where w is his weight in kilograms and 9.81 is the Earth acceleration in meters over squared seconds. )
4
相关推荐: