# C++ Mathlab and Simulink

C++

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

function.

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.

Mathlab

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.

2.

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

a.

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

b.

and power /speed.

The fan load Torque/ speed is given by:Nm *823.101.02weTload&amp;#8722;+=

c.

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

d.

Find the approximate time to accelerate a motor under load from rest to operational speed. secs )1(0dwTnetJtimew&amp;#8747;=

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&amp;#960;= display i.

Or flow to a tank: oiqqdtdhA&amp;#8722;=; ghpo&amp;#961;=; ooRqp=with A = 0.2 m2; display h. Elaborate your model with extra features. 2/900mkg=&amp;#961;

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

Files relevant will be uploaded to help with project.

About the Employer:
( 1 review ) london, United Kingdom

Projektin tunnus: #427983

## Myönnetty käyttäjälle:

jaiprakash123

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

30 \$ USD 2 päivässä
(2 arvostelua)
1.6

## 10 freelanceria on tarjonnut keskimäärin 150 \$ tähän työhön

vedenev

I am professional matlab programmer: http://simulations.narod.ru/ 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)
5.7
NashTrump

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)
4.4
daniloz

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)
3.9
sands1

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

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

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)
3.7
qasimmaqbool

Hi, Please check your PMB. Regards.

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

plz check PMB

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

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

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

Please check Pm.

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