C++ Mathlab and Simulink
$30-250 USD
Pagado a la entrega
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−+=
c.
Plot the net torque [login to view URL] (Tnet = motor torque – fan torque)
d.
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.
[login to view URL] 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.
Nº del proyecto: #427983
Sobre el proyecto
Adjudicado a:
9 freelancers están ofertando un promedio de $156 por este trabajo
Bidder Comments : Dear Sir, Kindly refer to your PM for more details. Thanks & Regards, SANDS Team.