星期三, 3月 11, 2026

Optimization

 Compare GD, NM Simplex, SA and A*

NM Simplex (Nelder-Mead Simplex)

NM Simplex (animated 3d)







EX#3 Chain of Thought


Handouts

Chain of Thought with Example, Make your AI powerful

Constraints,  Visualization on energy landscape

Search Algorithms: A*, BFS, Dijkstra

River Puzzles  (Pz 2Pz 20) by Chain of Thought vs. Search Algortihms

BFS/A* Scalability: 8 vs. 20 persons

  課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject EX#3  [your id, your name]

 

1.   

Solve Pz 2 using  reasoning with each step whether correct or incorrect, showing backtracking. 

Animate the reasoning process in the above synced with river crossing scenarios.  

 2. 

Solve Pz 20 using  reasoning with each step whether correct or incorrect, showing backtracking. 

Animate the reasoning process in the above synced with river crossing scenarios.  


3. Solve Dog Ball Retrieval then animate the solution you got.

Failure example puff

 wait for winds

Analog IC Design

 






OP 741 (share from very simple diff pair), schematicdieMiller Compensation 


星期三, 3月 04, 2026

Catch up 3/11/2026

 Claude 知識遭遇蒸餾事件


EX#2 Solving Electronic Circuits

  AI for solving amplifier electronics (課堂講義)


 建議工具

使用 Claude Sonnet 4.6

使用 ChatGPT 5

使用 Gemini 3 Pro 免費額度最高 1M tokens

使用 Grok 4


Content share

  • share only link, pure text, markdown (md)
  • no attachments accepted, no html, screen dump, or png
  • non-compliant homework will be rejected and returned to you


 課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject EX#2  [your id, your name]

How to publish a Claude artifact

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


四題任選兩題



1. Make the Bode plot of Circuit in Example 1, as below. You must verify the results for correctness.

The results must be scientifically accurate.



Topology B in Schematic


Reference materials:

You may want to generate Python for the Bode plots. Then you  carry it out to the end.

How to make Bode plots 

Make Bode plot:

ChatGPT can generate Python like Claude/Gemini, Therefore, you can study  

Key takeaways:
 
Put your Python to run on Google's colab platform. 



Plots can be made more professional and well suited for formal documents such as reports or academic journals.

You may want to label it more clearly following IEEE standard.

2.  Lab Activity: Amplifier Gain & Frequency Response Using AI-Assisted Analysis 










 
Bode plot (Color)



3. With the following circuit and its Bode plot, as in Example 3


textbook approximations








Think about the prompt used to generate the Bode plot. Why there is level off at high frequencies?


4. Comparing LLMs: Claude 4.6, Gemini 3.0 Pro, ChatGPT 5.0 (三選二) for the following task.

Animate in 3d (in three.js) Yagi-Uda Antenna, AI pipe inspector, or things you choose. (擇一)

The animation must be scientifically accurate


Hints

  • Reasoning/Think/Extended Thinking Mode of the AI platform you use may be required for all the problems here

不是主修電子工程的同學,可以練習以下問題


1.







share Claude
ChatGPT 5 eats it alive.



2. Comparing LLMs: Claude 4.6, Gemini 3.0 Pro, ChatGPT 5.0 (三選二) for the following task.

Animate in 3d (in three.js) Yagi-Uda Antenna, AI pipe inspector, or things you choose. (擇一)

The animation must be scientifically accurate


Hints

  • Reasoning/Think/Extended Thinking Mode of the AI platform you use may be required for all the problems here



3.


Claude man in the loop
Gemini 2.5 Pro got it right twice in a row





Catch up 3/4/2026

AI's expanding role in modern warfare


星期三, 2月 25, 2026

如何分享 Claude 作品 (Artifact, 包含動畫,程式, 圖片,文件...)

 



右上方 有個copy 下拉式選單

選取 Publish 即可

如何分享 ChatGPT連結

 



右上方分享鍵




按壓之後跳出對話視窗







點選複製連結


已分享的連結,會看到 share

https://chatgpt.com/share/699edcfb-2db8-8009-9069-cce6f0a9420a


如果你所提供的連結屬於private chats 連結,只有在該帳號下可以觀看

你無法使用分享的原因,可能是因為你用的是app版,建議你切換到web 版



EX#1 Use AI Profesionally

  AI for solving amplifier electronics (課堂講義)


 建議工具

使用 Claude Sonnet 4.6

使用 ChatGPT 5

使用 Gemini 3 Pro 免費額度最高 1M tokens

使用 Grok 4


Content share

  • share only link, pure text, markdown (md)
  • no attachments accepted, no html, screen dump, or png
  • non-compliant homework will be rejected and returned to you


 課堂練習 

Deadline: This Saturday at 23:59

Send all the share links to  me chang212@gmail.com by email with subject EX#1  [your id, your name]

How to publish a Claude artifact

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


任選做一題


1. Lab Activity: 為什麼我的 AI 跟你不一樣?




2.  Lab Activity: Amplifier Gain & Frequency Response Using AI-Assisted Analysis 










3. Make the Bode plot of Circuit in Example 1, as below You must verify the results for correctness.

The results must be scientifically accurate.



Topology B in Schematic


Hints

  • Reasoning/Think/Extended Thinking Mode of the AI platform you use may be required for all the problems here

AI 是放大器,不是魔術

yagi uda antenna 3d

yagi uda antenna, near field, maxwell, 3d

yagi uda antenna, near field, array factor, 3d

yagi-uda antenna, array factor, 3d

yagi uda antenna, maxwell numerical, 3d

星期六, 2月 21, 2026

Electronics, Example 7 (AB, A* Design)



Design a class AB amplifier with freq response cut off at 10Hz and 100 KHz.



the architecture inside the LM3886 and TDA7293






________________________________________________________

Electronics, Example 6 (2Stage, A*))

 

Design a Two-Stage BJT Amplifier (Parameters to optimizeRE1, RC1. RE2. RC2)



advanced version A* search for optimization, share 4-parameter

A* 8-parameter



_______________________________________________

demo, no A*

Electronics, Example 5 (2Stage)

 

Two-Stage Amplifier Analysis

Solve for the gain, plot frequency response.






Opus 4.6 extended. exact, transfer function, −3 dB crossing at 77 Hz, parameters as above original


Gain is 7943=78.0 dB considering Early voltage. 8511=78.6dB ignoring it.




exact transfer function vs. factored transfer function



bypass 47, coupling 10 micro F
(gain approximate)

_________________________________________________________________________
  • ArtifactShare (Cπ2=15 pF, Cμ2=3pF). Result: freq response, gain=8513, low cut off=46.5 Hz, high cut off=312kHz
  • Gemini: Result gain=8509, low cut off=46.5 Hz, high cut off=296 kHz @Cπ2=15 pF, Cμ2=3pF (good match!)
colab optimized (share)

Can we be more accurate with cut-off freq? Yes, use transfer function.  (based on AIStudio)


Compare
  • ArtifactShare. Result: gain=8559 (Hybrid-π Model, With bypass capacitors, without ignoring base current loading effects)
  • Artifact. Result: gain=9460 (Ignored base current loading effects)
  • comprehensive comparison simplified, do not ignore bias network, do not ignore base current


Electronics, Example 2 (CE, Emitter Bypass)

 

Amplifier Circuit Analysis

Solve for the gain, plot freq response.






png by Opus 4.6 extended (share)

 artifact jsx,  j-grade; artifact



share (Claude running Python internally on VM)

.





Gemini 2.5 Pro gain & lower cut off freq match Claude, 4kHz

Electronics, Example 3 (CE, Negative Feedback)

 

Solve for the gain. Plot frequency response for the following  amplifier circuit.





exact solution




why C_mu<C_pi



Miller approximation error since it ignores pole interaction effects

    share (Av=-2.31, Lower Cutoff 20 Hz, Upper Cutoff 10.46MHz)

    Analysis with Cπ = 22.1 pF, Cμ = 3.0 pF



    Gemini 3.0 Pro + Colab