Question
How can we model this equation in simulink dx/dy + x + y = 1 where x is the input and y is the output?
Expert Answer
Neeta Dsouza
PhD Expert
Answered Nov 20, 2025
Re-write as
dx/dy = 1 - x - y % y is your independent variable, sort of "t"
therefore
dy/dx = 1/(1 - x - y)
Then, from left to right (in your Simulink block diagram) you have
- a summation block, adding up the right hand side, and taking the reciprocal value
- the output goes into an integrator block that outputs y, which is the solution and also feeds back into the summation block

100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related MATLAB Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →