This is wrong. C++ is a multiparadigm language and has been for a long time. Consider the STL. That is not an object-oriented design. Some or none of the traditional OOP techniques may be used freely together with procedural and generic programming. There is increasing support for a...
Do not store raw owning pointers in a vector. This obsolete, dangerous code with new and delete will bite you. As other answers have said, when the container goes out of scope, the pointers will be deleted but not the objects they point to. What other answers have not said is that naive manual...
Roughly yes. It gives more opportunity for error. RAII is preferred in modern C++. In general, we create objects by value, and their destruction is guaranteed when they pass out of scope. When an object must live beyond the lifetime of the scope in which it was constructed, std::unique_ptr...
Much depends on how you plan to teach C++. It has often been taught as "C with extra stuff", that is, starting with C style. There is an obvious historical basis for this, both in the language's evolution and in the prior experience of those teaching it. Modern C++ has changed very...
His measurement is ac coupled, but as you say, it's odd that the initial rise is missing.
OP, what you are seeing is typical of the inrush current caused by charging the dc bus capacitor. For this reason, most boost converters have a controlled startup sequence. You can find plenty of...
I'm going to ignore the question of whether your portrayal of your professor is accurate. I will assume it is for the sake of argument.
If going to the professor for help is not working for you, a stopgap is to go to a TA. That's what they are there for. One needn't even have a grievance...
First you stated that the 360V input was fixed, then you stated that it varies. What is the problem you are trying to solve with this circuit?
I should wait for your clarification rather than guess, but does the 360V represent the peak of a 240V ± 6% ac source that you are trying to read...
How about a google search for "5v 3a adapter"? You could find the answer yourself in mere seconds.
Your question seems to be wandering all over the place. Are you falling into an xy problem? (Google it.) What is it you want to do?
You need to revise the concept of voltage. Saying that a single wire supplies 230V is incorrect. Ditto with the neutral wire at 0V: 0V with respect to what? (Thinking of earth?) How does this apply to two-wire systems?
Saying that a point in a circuit is at such and such a voltage is only...
I agree with you. I was basing my comment on the apparent vias to the inductor on the second of the pictures in the OP's ebay link to the driver.
We still need more information. Even if these connections are correct, we still can't say whether it is a correct circuit without knowing the...
I remain unconvinced that <5V indicates 5V. Curious to know more, I just tried an ebay search and found numerous variations of this driver. It is indeed a boost circuit decided to run off cells like those the OP has chosen. It seems the output voltage of the boost circuit is 5.5V. I remain...
It states <5V and looks like a boost circuit so using a 3.7V cell could make sense. It's hard to say without more information about the design than that photo shows.
About the connections, at first glance they look fine, if you check both sides of the board. What am I missing?
EMF is one of those tricky historical terms we have to cope with despite their potential to mislead. I believe the point being made is that despite the name, electromotive force is not to be equated in any way with mechanical force.