首页 » assignment辅导 » python代写 | MECS4510 Assignment #3 Project

python代写 | MECS4510 Assignment #3 Project

本次代写是关于Python相关的一个Assignment

Assignment 3

• 3a Develop a 3D physics simulator

• Demonstrate a bouncing cube and a “breathing” cube

• 3b Evolve a fixed-shape robot

• Manually design a robot, evolve a controller to make it move

• 3c Evolve both the shape and behavior of a robot

• Demonstrate a moving robot of various shapes and behavoors

• Final Presentation

3a. Build a 3D simulator

Basic steps

Existing Physics Simulators

Why build your own physics simulator?

• Simpler than learning to use other simulator

• Simpler to integrate with your EA

• Robust (wont crash) with garbage generated by an EA

• More versatile physics

• An extra line on your resume

Basic primitives

• Masses

• Point masses (no volume)

• Have position, velocity and acceleration

• Springs

• Massless

• Connect two masses

• Have a rest length and stiffness

• Apply restoring forces on the masses

Basic simulator

• Choose a discrete time step dt

• Not larger than a millisecond (dt=0.001).

• Set global time variable T = 0

• At each time step:

• T = T + dt

• Interaction step:

• Compute and tally all the forces acting on each mass from springs connected it

• Integration step:

• Update position and velocity of each atom using Newton’s laws of motion F=ma.

 


程序辅导定制C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持 Alipay WeChatPay PayPal等支付方式

E-mail: vipdue@outlook.com  微信号:vipnxx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank