Tuesday, November 25, 2025

HW#10 Electronics using AI

   AI for solving amplifier electronics (課堂講義內有參考解答)


 建議工具

使用 Claude Sonnet 4

使用 ChatGPT 5

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

使用 Grok 4



 課堂練習 

Deadline: This Saturday at 23:59

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

How to share a Claude link

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


 AI for solving amplifier electronics (課堂講義內有參考解答)

任選兩題


1. Using A* search to design a two stage amplifier using BJT.

Gain approximately 8000, bandwidth 2Hz to 100 kHz

Hint: A* guide  using A* search algorithm to design a two-stage BJT amplifier. This is a fascinating application of AI search to circuit design optimization!

2. Use A* to design a class AB amplifier. The first stage is class A. the second is class B. freq response cut off at 10Hz and 25 KHz





schematic enhanced by Gemini 3.0 Pro




artifact enhanced by Claude (share) opus 4.5




3.  animate in three.js (one of them)

animation of Turbofan jet engine, protein folding, CO2 capture

enhance schematic




Protein Folding artifact  html
highly accomplish it artifact improved on student work
2 highly accomplish it artifact improved on student work




Carbon capture artifact html
(graph by Gemini, artifact re-rendered by Claude)


4. from spec to animation

參考齒輪規格

製作其中一組規格的 3D 齒輪動畫




AI is the new dev environment


Code, run, debug, verify







IDE+VM+ AI Partner
API discovery and integration
piecing everything together








Tuesday, November 18, 2025

HW#9 Electronics

  AI for solving amplifier electronics (課堂講義內有參考解答)


 建議工具

使用 Claude Sonnet 4

使用 ChatGPT 5

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

使用 Grok 4



 課堂練習 

Deadline: This Saturday at 23:59

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

How to share a Claude link

How to share a ChatGPT link

How to share a Grok link

How to share Gemini Link


 AI for solving amplifier electronics (課堂講義內有參考解答)

任選兩題


1. Plot frequency response for the following amplifier circuit using matplotlib

Compare two methods Claude Sonnet 4.5 Freq resp (all in one) vs. staged



AI Model Results:

Note: Lower cut-off comes from coupling capacitors (not shown here).


Generate professional grade Bode plot.

Using AI tools to generate professional plot using Matplotlib


Bode plot

ChatGPT integrates Python environment so it directs generates Bode plot.










Bode plot 

1. React (Claude) - AIStudio - Python w/ Matplotlib - Colab - Plot

2. Reasoning (AIStudio) - AIStudio - Python w/ Matplotlib - Colab - Plot



2. solve for the gain


 (source)



share (Claude running Python internally on VM)






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



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

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

20Hz is assumed, not by calculation

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








Design Alternative




 以上參考答案
(1) -4  (2) -165 (3) -2.31 答案誤差10%以內都是正常的


Friday, November 14, 2025

Simulating Random Process

Visualization of Manufacturing Process,  simulation of pipelines (inspired by Edward Chang)





市區交通模擬

 (credit: 與專題生共同創作)




Drone deployment




author 帥氣



Submarine sonar detection 
hi accomp share (artifact)

Supplemental

潛艇的惡夢  video

Tomahawk video




simulate submarine detection with random sensor arrays
Case study teaching guide


artifactshare 4.5 opus
artifactshare 4.5 sonnet




Saturday, November 08, 2025

Follow up to #8

 1. Gemini 2.5 Pro for 2-stage amp, Freq Response





staged calculation leads to better, more accurate results.



2. 繪圖,動畫:  建議 使用 Claude Sonnet 4.5

推理,複雜問題:  建議使用以下 

使用 Claude Sonnet 4.5 extended thinking 付費版

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

使用 ChatGPT 5

使用 Grok 4