Code Directory
 Visual Basic & VB.NET
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts EasySnaps 1
iScripts EasyIndex 1
iScripts NetMenus 2.0
ATN Site Builder 3.0
Azizi search engine script PHP 4.1.10
IcrediBB Bulletin Board System 1.0
JE Guestbook 1.1
Cover Flow FX 0.2.12
Current Location 1.5.9
Guestbook PHP Script 1.1
DBForms from MSAccess to PHP+PostgreSQL 1.0.0
Simple Comments Script 0.930
Vue Injector 3.3
EV Widget Post 0.3
ATN Resume Finder 2.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Trebuchet Range Simulation and Optimization 1.0
File ID: 85611

Trebuchet Range Simulation and Optimization 1.0
Download Trebuchet Range Simulation and Optimization 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 235.5 KB
Downloads: 10
User Rating:2 Stars  (1 rating)
Submit Rating:
Trebuchet Range Simulation and Optimization 1.0 Description
Description: Model of a simple trebuchet that predicts projectile range based on fulcrum position & launch angle.
This submission provides two main files: treb.m and plot_treb.m.

treb.m predicts the projectile range of a simple trebuchet given its fulcrum position and release angle. Other parameters are held fixed (but can be adjusted by the user). ode45 is used to simulate the dynamic system, including event detection for projectile release and landing.

plot_treb.m samples treb.m to gather range data and then plots it to visualize range as a function of fulcrum position and release angle.

treb.m is intended to be used with an optimization algorithm (e.g., fmincon - bound constraints should be used). The range plot is useful for visualizing the nonsmoothness in objective function that results from discrete elements of the system (such as limits on how high the trebuchet mass can be raised). This nonsmoothness can cause difficulty with gradient-based optimization. Choosing a good starting point that avoids this nonsmoothness helps, but it is also possible to impose the geometric limits as optimization constraints instead of satisfying them implicitly in the simulation, eliminating nonsmoothness from the objective function.

A handwritten derivation of the model is also provided (TrebuchetDerivation.pdf) that includes both the trebuchet model and a projectile model using parameters appropriate for a golf ball.

This model corresponds to an example video created for ME 149 (Engineering System Design Optimization), a graduate course taught in the Mechanical Engineering department at Tufts University. The video can be viewed at:

<!--dp_youtube_begin:><object width="425" height="344"><param name="movie" value=""></param><param name="wmode" value="transparent" /><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="425" height="344"></embed></object><!--dp_youtube_end-->

License: Shareware

Related: Geometric, impose, helps, satisfying, handwritten, eliminating, Simulation, implicitly

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 235.5 KB

Downloads: 10

More Similar Code

A cross-platform equation-oriented process modelling, simulation and optimization software.

Introduction to Stochastic Search and Optimization is an overview of the principles, algorithms, and practical aspects of stochastic optimization, including applications drawn from engineering, statistics, and computer science. The book may serve...

The files in this folder solve the optimization case studies described in the paper "VaR vs CVaR in Risk Management and Optimization" by Sarykalin,S., Serraino,G., and Uryasev,S., in Tutorials in Operations Research, INFORMS 2008...

Demonstration of least squares data fitting using both inverse and backslash operators.
This example was developed for use in teaching modeling, simulation, and optimization in graduate engineering courses. A corresponding video is available at:

ARMAX-GARCH Toolbox (Estimation, Forecasting, Simulation and Value-at-Risk Applications)

The ARMAX-GARCH Toolbox estimates, forecasts and simulates a large variety of ARMA and GARCH models with different distributions and for any order...

Algorithm for solving search and optimization problems.

ALAMOUTI performs Monte-Carlo simulation and estimates Bit Error Rate (BER) of Alamouti Scheme [1] over Rayleigh channel. The scheme presumes 2 transmit (Tx) and arbitrary number of receive (Rx) elements. If Rx=1 (one receive element) the ALAMOUTI...

MATLAB Toolbox for Simulation and Visualization of Random Boolean Networks (RBN).

- Different update modes (synchronous/asynchronous
- Statistical Functions
- Topology Evolution

Use newton_pendulum and the simulation and animation will start.

Hardware Simulation and Vitualization Environment: Unfortunately I have lost my source code in a freak accident (My roommate dropped a bed onto my laptop) for this project. Please be patient and visit for more...

User Review for Trebuchet Range Simulation and Optimization
- required fields

Please enter text on the image