C++ Mathlab and Simulink


1) Write a program to control the action of a chocolate machine. Display a message to

ask what kind of chocolate is required: Plain (30p), Brazil nut (35p), Luxury (50p). Use

keyboard to get the input character. This input must be validated as P, B or L depending

on the choice. Then money must be requested, in the form: “Please insert 30p “

depending on the selection. Display the message until the required amount has been

input. If too much has been inserted, then display a message indicating the amount of

change owing. And also display a message indicating ‘Thanks for Buying’. Try to use the


2) Determine the voltage across the resistor at given time intervals by using the below

equation. You enter the end time and the number of time steps required; the program will

determine the voltage at each of the time steps and stored in a text file, which can be

loaded into MATLAB and plotted.

Where Resistor R = 1e3 Ohms , Capacitor C = 1e-06 F, Applied voltage E = 10 volts.

I will send hints for the project.


1. Using Matlab with your labwork.

Select a labwork or any practical experiment you have completed, and use Matlab to help present or extend your results. This could include calculations, and plots, and your comments on them.


The motor shown drives a fan (inertia J = 10-4 kg m2 ).


Derive and plot graphs for the motor of Torque/ speed,


and power /speed.

The fan load Torque/ speed is given by:Nm *823.101.02weTload−+=


Plot the net torque [url removed, login to view] (Tnet = motor torque – fan torque)


Find the approximate time to accelerate a motor under load from rest to operational speed. secs )1(0dwTnetJtimew∫=

You may use numerical methods, or the symbolic toolbox, or Simulink, or any method you choose.

[url removed, login to view] an engineering system in Simulink. Your system should include a source (a signal generator input), a sink (scope), and model an equation such as: dtdiLiRE+=, given R=100 ohms,, L = 100 mh, and tE50*2sin240π= display i.

Or flow to a tank: oiqqdtdhA−=; ghpoρ=; ooRqp=with A = 0.2 m2; display h. Elaborate your model with extra features. 2/900mkg=ρ

Program m-files using cells, HTML files, or word files are acceptable.

Files relevant will be uploaded to help with project.

Taidot: C-ohjelmointi, elektroniikka, tekniikka, Visual Basic

Näytä lisää: mathlab projects, oorqp, what is graphs, what are graphs for, what are graphs, tank 3 d model, source flow, source and sink flow, sink flow, r.f. engineering, power program in c, plot flow, h and p form, graphs in c, graphs c, find rest, find 3 d model, c# money, c&m engineering, character 3 d model, c graphs, c++ find, buying source, resistor selection simulink, mathlab simulink

Tietoa työnantajasta:
( 1 arvostelu ) london, United Kingdom

Projektin tunnus: #427983

Myönnetty käyttäjälle:


Hello i can do this work on time, with high level of accuracy

$30 USD 2 päivässä
(2 Arvostelua)

10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


I am professional matlab programmer: [url removed, login to view] I will made all task except 1. because it for your labworks. Codes will be well commented. I will write description in doc-file. I need $365 a Lisää

$250 USD 7 päivässä
(26 arvostelua)

Hi, I am an expert VBA, Excel, Database, Mysql, Website scraper, Data extraction and Automation expert.I have over 11 years experience in the above categories and would like very much to have the opportunity to work Lisää

$120 USD 0 päivässä
(12 arvostelua)

Hello, I have a PhD in Electrical Engineer and 10+ years experience in Matlab and Simulink. I can delivery you the project with a well commented and high quality code, both C++ and Matlab ones. About the d Lisää

$200 USD 5 päivässä
(4 arvostelua)

Bidder Comments : Dear Sir, Kindly refer to your PM for more details. Thanks & Regards, SANDS Team.

$250 USD 30 päivässä
(3 arvostelua)

Hi Doug, I have nice experience in Matlab/Simulink/cpp. I think I will be able to help. Best regards, Yuri

$100 USD 4 päivässä
(15 arvostelua)

Hi, Please check your PMB. Regards.

$100 USD 5 päivässä
(1 arvostelu)

plz check PMB

$250 USD 7 päivässä
(1 arvostelu)

I can provoid you with best services of mine regarding your assaignments. regads

$100 USD 3 päivässä
(2 arvostelua)

Please check Pm.

$100 USD 4 päivässä
(1 arvostelu)