blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 21
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 141k 586M ⌀ | star_events_count int64 0 30.4k | fork_events_count int64 0 9.67k | gha_license_id stringclasses 8
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 50
values | src_encoding stringclasses 23
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 29
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3cd5826361ef1d4ecc5a160c9dbebbad84c03a4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH1/EX1.13/Example1_13.sce | e5c94cea1d5907c3c44043917fe5d96dc1cf69ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | Example1_13.sce | //Scilab Code for Example 1.13 of Signals and systems by
//P.Ramakrishna Rao
clc;
clear;
//Discrete-time sequence plot
clc
A=10;
t=0:1/1000:1;
x=A*sin(2*%pi*100*t);
q=plot2d3(t,x);
disp('displaying a function plot on discrete time scale that has a sampling frequency of 1000 samples ps');
|
409e32983873da176e59b11dd85e164dfd732fd9 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/armcov.sci | 0c5158cc5ed77eee7d1f45a727139ee051b656f2 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sci | armcov.sci | function [ar_coeff, var_est] = armcov(data_in, order)
checkNArgin(2,2, argn(2));
method = 'modified';
[ar_coeff, var_est, msg] = arParEst(data_in, order, method);
if ~isempty(msg) then
error(msg);
end
endfunction
function checkNArgin(min_argin, max_argin, num_of_argin)
if... |
bfd49a3a6d36d9577a62d4fcc1e5623b47a49dc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3308/CH25/EX25.1/Ex25_1.sce | a58514c32d4da8d5f4511174a83425b26ecbb21a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 588 | sce | Ex25_1.sce | clc
// Given that
D=200//in mm Grinding Wheel diameter
d=0.05//in mm depth of cut
v=30//m/min workpiece velocity
V=1800//in m/min wheel velocity
// Sample Problem on page no. 713
printf("\n # Chip Dimensions in Surface Grinding # \n")
l=sqrt(D*d)
l1=l/2.54*(10^-1)
printf("\n\n Undeformed Chip Length =... |
7a670c62ece75435dc228fa838f3b389ed4afc77 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2300/CH21/EX21.13.3/Ex21_3.sce | 86ad505d791bdeeb5e43bb13e241956082605441 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | Ex21_3.sce | //scilab 5.4.1
//Windows 7 operating system
//chapter 21 Communication Systems
clc
clear
//fc=9*sqrt(Np)
fc=3*10^6//fc=critical frequency in Hz
Np=(fc^2)/81//Np=electron concentration at the reflecting point
//h=height of the reflecting point from the bottom of the layer
//Np=(5*10^10)+(10^9*h)....(given)
h=(... |
7cea2d220a903bafd54528eadc5cc07e69f88548 | 449d555969bfd7befe906877abab098c6e63a0e8 | /275/CH2/EX2.2.54/Ch2_2_54.sce | b8cceae67ea887bcd0d3e978d12d851ba246bc18 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 755 | sce | Ch2_2_54.sce | clc
disp("Example 2.54")
printf("\n")
disp("Design the Zener Diode Voltage regulator for given specification")
printf("Given\n")
printf("1 Resistance are in ohms \n 2 Current are in ampere \n 3 voltage sources are in volt\n")
//unregulated dc input voltage
Vimin=8
Vimax=12
//regulated dc output voltage
Vo=5
... |
67386c1169aafb920edcf829041acfb0892043d2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /122/CH6/EX6.3/exa6_3.sce | ca82ef4142cef38eb9f0249c624a26f94e5e027b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | exa6_3.sce | // Example 6-3
// Root locus
clear; clc;
xdel(winsid()); //close all windows
// please edit the path
// cd "/<your code directory>/";
// exec("rootl.sci");
s = %s;
N = s + 3;
D = s * (s + 1) * (s^2 + 4*s +16);
H = syslin('c',N,D);
disp( roots(D) ,'open loop poles = ');
disp( roots(N) ,'open loop zeros = ');
rootl(... |
6aea245e82b14cc74e04372d06f9001faa5100bc | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH9/EX9.4/Ex9_4.sci | 0fb21e9b56d9bfe77190a95a2628209947550c8b | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 54 | sci | Ex9_4.sci | NF=4;
n=[0:NF-1]';
x=8*sind(180*n/2);
X=fft(x)/NF
|
43f2beeb7f45a294359865298b2068beda0a48a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH15/EX15.01/15_01.sce | 6a21fb6be18e8f6ca7bcbdf2675fdc7ba6552708 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 539 | sce | 15_01.sce | //Problem 15.01: (a) Calculate the reactance of a coil of inductance 0.32 H when it is connected to a 50 Hz supply. (b) A coil has a reactance of 124 ohm in a circuit with a supply of frequency 5 kHz. Determine the inductance of the coil.
//initializing the variables:
L = 0.32; // in Henry
f1 = 50; // in Hz
f2 =... |
81da5842916b7455a29cb503e5ae4eee624ca3e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3014/CH4/EX4.4/Ex4_4.sce | bd458f3d592f4f946c88526c375b05d558c8dda2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 602 | sce | Ex4_4.sce |
clc
//Given that
epsilon_r = 1.000074 // Dielectric constant of He at 0C and 1atm
epsilon_0 = 8.854e-12 // Permittivity of free space
E = 100 // Electric field in V/m
n = 2.68e27 // Electron density in no,/m^
N_a = 6e23 // Avogadro number
V = 22.4 // Volume at STP in litter
printf("Example 4.4")
P = epsilon... |
d04444aaa37f0cfdc8bed8b95282c85c77bcc152 | 449d555969bfd7befe906877abab098c6e63a0e8 | /416/CH15/EX15.5/exp15_5pp.sce | dff5748f3198b6478664b52996acb098ab093002 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 507 | sce | exp15_5pp.sce | clc
clear
disp('example 15.5')
a=100 //area
spd=0.7 //sun light power density
m=1000 //weight of water collector
tp=30 //temperature of water
th2=60 //angle of incidence
cp=4186 //specific heat of water
sp=spd*cosd(th2)*a //solar power collected by collector
ei=sp*3600*10^3 //energy input in 1 hour
temp=... |
ea5dc9acfc70f1dab4e21cc25400371b49bd731a | e0124ace5e8cdd9581e74c4e29f58b56f7f97611 | /3899/CH3/EX3.5/Ex3_5.sce | 8c2494bd09d458c300924bebf1bc3d2547e2668f | [] | no_license | psinalkar1988/Scilab-TBC-Uploads-1 | 159b750ddf97aad1119598b124c8ea6508966e40 | ae4c2ff8cbc3acc5033a9904425bc362472e09a3 | refs/heads/master | 2021-09-25T22:44:08.781062 | 2018-10-26T06:57:45 | 2018-10-26T06:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | Ex3_5.sce | clc
E=0;//initialize
for n=0:200
x(n+1)=(1/2)^n;
end
for n=0:200
E=E+x(n+1)^2;
end
if E<%inf then
disp(E,'the energy of the signal is; ')
else disp(' the signal is not a energy signal')
end
|
46aad8a656d2a837a54b1a63b3b040b6026f46b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3636/CH10/EX10.2/Ex10_2.sce | 38790ab2a8c290fda9a8990cda79bbbc1ba761a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 540 | sce | Ex10_2.sce | clc;
clear;
Na=3*10^18 //in cm^-3
Nd=2*10^16 //in cm^-3
Dn=25 //in cm^2/s
Dp=10 //in cm^2/s
tau_n0=4*10^-7 //in s
tau_p0=10^-7 //in s
JL=20*10^-3 //photocurrent density in mA/cm^2
T=300 //in K
ni=1.5*10^10 //in cm^-3
e=1.6*10^-19 //in Joules
Const=0.026 //constant for KT/e in V
//Calculation
Ln=sqrt(Dn*... |
4c33cee8bd56c94200db242a5721bf32afba5287 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2144/CH8/EX8.20/ex8_20.sce | 54e5333c2a486690abfe928fd36216f96e7350ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,322 | sce | ex8_20.sce | // Exa 8.20
clc;
clear;
close;
// Given data
CO2= 9.9;// in %
CO= 7.2;// in %
H2= 3.3;// in %
CH4= 0.3;// in %
N2= 79.3;// in %
O2= N2*21/79;// in %
disp("Method 1 : By Carbon balance : ")
Z= (CO2+CO+CH4)/8;
x= 8*Z;
measured_air_fuel_ratio= 11.3;
mm1= 29;// molecular mass of air
mm2= 12*8+17;// molecula... |
f2c616b1b2dd909b070399b87b90ff64bff93286 | b4bbf9b2a475b5cf299b30bf5e0c621e32f6c832 | /test/assign1/sample.tst | e6c6f6c7b41de794ee1644ae6e1bb61c92e79933 | [] | no_license | apetresc/castro | 1ec1ac1307542487aa1be14c335170f7a1347bf2 | 843165af7c946188a2dd772384cd2d579723c99d | refs/heads/master | 2022-02-20T14:28:41.962893 | 2019-10-07T08:41:59 | 2019-10-07T08:41:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 240 | tst | sample.tst | boardsize 4
play W b2
play B c3
play W c2
play B b3
play W a2
play B b4
play W d2
play B d4
10 havannah_winner
#? [none]
play W e2
20 havannah_winner
#? [none]
play B D5
30 havannah_winner
#? [none]
play W C1
40 havannah_winner
#? [white]
|
1d40e6e553601c3f54c8a364a243f35553485f63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /530/CH9/EX9.4.b/example_9_4b.sce | 05be33bbdc01930349b3aa3f58b6a2b2dc84e087 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | example_9_4b.sce | clear;
clc;
// A Textbook on HEAT TRANSFER by S P SUKHATME
// Chapter 9
// Mass Transfer
// Example 9.4(b)
// Page 356
printf("Example 9.4(b), Page 356 \n \n");
L = 1 ; // [m]
D = 0.005 ; // [m]
Pa1 = 1 ; // [atm]
Pa2 = 0 ;
R = 8314 ;
T = 298 ; // [K]
// Since the tank is large and the pressure... |
ccd077afe7c5d91b2c9971aec5f1156f81ef00d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1658/CH13/EX13.8/Ex13_8.sce | 40277afee149d177e13938a30dddbd32271f795c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 145 | sce | Ex13_8.sce | clc;
//e.g 13.8
A=0.04;
d=0.02;
e0=8.85*10**-12;
er=5.0;
C=(e0*er*A)/d;
disp('pF',C*10**12,"C=");//answer printed in the book is wrong.
|
ec251578602484672dc6536ee777197074a00e74 | 99b4e2e61348ee847a78faf6eee6d345fde36028 | /Toolbox Test/phasez/phasez8.sce | 359a8d9db5d0530bfe52b8c4497176349621b39c | [] | no_license | deecube/fosseetesting | ce66f691121021fa2f3474497397cded9d57658c | e353f1c03b0c0ef43abf44873e5e477b6adb6c7e | refs/heads/master | 2021-01-20T11:34:43.535019 | 2016-09-27T05:12:48 | 2016-09-27T05:12:48 | 59,456,386 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 175 | sce | phasez8.sce | //no i/p args are given to the function
[phi,w] = phasez();
//output
//!--error 21
//Invalid index.
//at line 8 of function phasez called by :
//[phi,w] = phasez();
|
859016f9544f740a91a04d1037c2fd2e7f8a68fa | 449d555969bfd7befe906877abab098c6e63a0e8 | /1109/CH2/EX2.2/2_2.sce | 7ac4c449860fdbc242d0cb3ccc0502c61a6b7b69 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 795 | sce | 2_2.sce | clear;
clc;
f=796;Zoc=328*exp(%i*(-%pi/(180/29.2)));Zsc=1548*exp(%i*(%pi/(180/6.8)));l=50;
Zo=sqrt(Zoc*Zsc);
C=real(Zo);
D=imag(Zo);
printf("-Zo = %f /_ %f ohms\n",fix(abs(Zo)),atan(D,C)*180/%pi);
w=2*%pi*f;
Z1=sqrt(Zsc/Zoc);
A=real(Z1);
B=imag(Z1);
D=(1+A+(%i*B))/(1-(A+(%i*B)));
r=abs(D);
theta=atan((imag... |
0beae50b66d20d7118f23bc7fc585b9182ff9ff8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1430/CH4/EX4.9/exa4_9.sce | 00debd3c2a14af0a4c6d379fd6010a6c047a1349 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | exa4_9.sce | // Example 4.9
// Mesh Analysis with a Supernode
// From figure 4.31, Applying KVL in Supermesh we get,
disp("6*(i_1-5)+10*i_1+3*(i_1+4)-20=0")
// Rearrangements gives
disp("(6+10+3)*i_1=6*5-(3*4)+20")
i_1=linsolve((6+10+3),-((6*5)-(3*4)+20))// Linear equation solver
disp(i_1,"Current through the Upper Portion o... |
d46bc5b22052d6bb1c647c6bede6787a3a87fe98 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1928/CH3/EX3.17.15/ex_3_17_15.sce | 10bc4222fba9cb1550a47fdf607d79eb2864965a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,174 | sce | ex_3_17_15.sce | //Chapter-3,Example3_17_15,pg 3-40
l=30*10^-2 //length of ring
A=1*10^-4 //cross section area of ring
i=0.032 //current
phi=2*10^-6 //magnetic flux
u0=4*%pi*10^-7 ... |
2e7d146bfd8ca205d9552ffdf2d442c78f9b4a35 | 449d555969bfd7befe906877abab098c6e63a0e8 | /278/CH23/EX23.11/ex_23_11.sce | 408ebd50c695faf834376e31336ff74ff7ac37d6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,053 | sce | ex_23_11.sce | //find
clc
//solution
//given
P=30000//W
N=3000//rpm
pb=0.085//N/mm^2
v=2300//m/min
//d1=1.3d2
//r1=1.3r2
u=0.3
ns=6
D=25//mm
t=420//N/mm^2
G=84000//N/mm^2
Tmean=P*60/(2*%pi*N)//N-m
Tmax=1.2*Tmean*1000//N-mm
//C=pb*r2
//W=C*2*%pi*(r1-r2)
//Tmax=2*%pi*u*C[r1^2-r2^2]
//Tmax=0.11*r2^3
r2=(Tmax/0.11)^(... |
dac620691d0dba6cfde39733408e4d43eea5f2ed | 449d555969bfd7befe906877abab098c6e63a0e8 | /409/CH16/EX16.1/Example16_1.sce | 6c3437b65f04568e22264f84d50425293235b650 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example16_1.sce | clear ;
clc;
// Example 16.1
printf('Example 16.1\n\n');
//Page no. 486
// Solution Fig E16.1
// Given
Tc = 972 ;//[degree C]
T = 273+Tc ;//[K]
A = 8.799;
B = 1.615 * 10^4;
C = 0;
mw = 26.98;
// Use Antoine eqn. to get vapour pressure at 972 degree C
vP = exp(A-(B/(C+T))) ;// vapour pressure at 972 degree C-[mm Hg]
P... |
42a74addd47c2c932fa1e1866a1a6b3e0e722d72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3638/CH17/EX17.9/Ex17_9.sce | 5892a898084a499229e248218bc337c4bcd922de | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 811 | sce | Ex17_9.sce | //Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 17.9
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
a=5e-6;//Fiber core radius in m
NA=0.09;//Numerical aperture of the fiber
lambda0=1.3e-6;//Wavelength of radiation to be reflected from a Brag... |
767e9eabc90441e99ea18748e384923bcce084f1 | a6abd4d113c8196015de3bbd4dfe6c2c8fa77e7b | /Presentation/Afford_fMRI_Experiment/AFFORD fMRI Run01.sce | 7f780b7606f966ea1f8b70492ca74eac87e9fb48 | [] | no_license | ilkayisik/MyScripts-Bachelor-Master | ad17c9e24de271c9e31455921990acdbc1030dfc | 0d45946f7e4ccfc9e21a99cb32877f605d7e618f | refs/heads/master | 2021-05-16T15:36:40.940826 | 2018-01-29T13:07:07 | 2018-01-29T13:07:07 | 119,358,614 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 12,885 | sce | AFFORD fMRI Run01.sce | scenario = "DFG_fMRI";
scenario_type = fMRI;
scan_period = 2500;
pulse_code = 20;
pulses_per_scan = 1;
no_logfile = false;
default_font_size = 36;
default_background_color = 128,128,128;
active_buttons = 5;
button_codes = 1,2,33,44,55;
response_logging = log_active;
# code 1 = left button
# code 2 = right button
# cod... |
27a39360bd9c462584274831e61810d28d550ce4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /61/CH17/EX17.7/ex17_7.sce | 731408a38694a3fbf5d3dde942c18e4f56708bbc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | sce | ex17_7.sce | //Ex17.7
I_max=700*10^-3; //in Amperes
R_ext=0.7/I_max;
disp(R_ext,'value of resistor in Ohms for which max current is 700mA') |
6a47c61abb46da770763751f9b396f0e984c2ca1 | 3daf46b810f462d6c8e936bef696ade9bd2e41a8 | /AulaPratica2/Jacobi.sce | 0a748ed01e23370af82e2483b2695f92aa7a1753 | [] | no_license | JPMarciano/Algebra-Linear-Numerica | 4575a2bd95a4b056100a7d8adaaeb2a0a0fee2d4 | 6d2c8555650b5f8a156f3d1c207c77f6986b8fcd | refs/heads/master | 2021-03-12T14:27:28.360160 | 2020-05-11T14:59:05 | 2020-05-11T14:59:05 | 246,628,921 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 301 | sce | Jacobi.sce | function [x, d, k, r] = Jacobi(A, b, x0, E, M, n)
invD = diag(1./diag(A));
invD
R = -A+diag(diag(A));
R
db = invD*b;
Mj = invD*R;
x = Mj*x0 + db;
k = 0;
while((norm(x-x0, n)>=E) && (k<M))
x0 = x;
x = Mj*x0 + db;
k = k + 1;
end
d = norm(x-x0, n);
r = norm(b-A*x, n);
endfunction
|
ce3179516e236923230afc0d2efc0184c8fb52c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /29/CH12/EX12.23.ii/exa12_23_ii.sce | 8413448eabf3150281bdae2252f5902efb3520ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 786 | sce | exa12_23_ii.sce | //caption:stability_using_Nyquist_criterion
//example 12_23_ii
//page 535
disp("for K=1")
g=(0.1*(s+10)*(s+40))/(s*(s+1)*(s+4));
g1=(0.1*(s1+10)*(s1+40))/(s1*(s1+1)*(s1+4));
GH=syslin('c',g);
GH1=syslin('c',g1);
nyquist(GH);
nyquist(GH1);
//mtlb_axis([-3 0.5 -0.6 0.6]);
xtitle('Nyquist plot of (0.1*(s+10)*(s+40))/(s*(s... |
9a3e967075f0ce92ec77eaae0fa53733080e1a73 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1199/CH2/EX2.54/2_54.sci | cedd56392066c876961f5b9d508f0ccdb56e3f2f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sci | 2_54.sci | // 2.54
clc;
disp('Let T=1');
T=1;
el=0.95;
tc=-T/log(el);
printf("Time constant =%.2f s",tc)
disp('as T=1 so time constant should be approximately equal to 20T') |
2e665bbfefce8e809f30eed2fc98c581f5ab32e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH6/EX6.7/Ex6_7.sce | cc6fa14bbb69472059a40ec0a94c6c80a0dd2e10 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 898 | sce | Ex6_7.sce | //===========================================================================
//chapter 6 example 7
clc;clear all;
//variable declaration
B = 0.5; //flux density of the magnetic field in Wb/m**2
N = 100; //number of turns in coil
l = 0.04; //length in m
r =0.03; //width ... |
0fbbb2aacd13e46ba3cb68310f67b8e844ee87da | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.5/Unix-Windows/scilab-2.5/tests/examples/clean.man.tst | f7d7e2b89fd532f7e8a9558e45905c56a691ea21 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 91 | tst | clean.man.tst | clear;lines(0);
x=poly(0,'x');
w=[x,1,2+x;3+x,2-x,x^2;1,2,3+x]/3;
w*inv(w)
clean(w*inv(w))
|
f8a5d109fb8911b32b176b49f9956880098d6940 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2870/CH4/EX4.7/Ex4_7.sce | be93dddf13a23c5e78672170892b9bc6b08a10ae | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 747 | sce | Ex4_7.sce | clc;clear;
//Example 4.7
//given data
T1=300;
P=200;
T2=600;
M=28.97;
Ru=8.314;
//Part - a
//from Table A–17
u1=214.07;
u2=434.78;
du=u2-u1;//change in internal energy
disp(du,'change in internal energy from data from the air table in kJ/kg');
//Part - b
//from Table A–2c
a=28.11;
b=0.1967*10^-2;... |
f09df63c6696e17b96deaaa5578ba85a0d70baa3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH2/EX2.21/Ex2_21.sce | 06c4ef72b5d74c205b11075d000524de996d2623 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 482 | sce | Ex2_21.sce | //reactions developed at contact surfaces
//Refer fig. 2.26 (a),(b) and (c)
//using geometry
theta=acosd(0.8) //degree
//consider equilibrium of cylinder 1
//Using equilibrium conditions
RB=800/sind(theta) //N
RA=RB*cosd(theta) //N
//consider equilibrium of cylinder 2
//Using equilibrium conditions
RD=((RB... |
9a4b151761ba1ebb4c100c1a1e608e489d38f8ae | 9f9364e082d4bc2f7ee5cbd7a489642615821873 | /src/testCases/test2-1.tst | c423a109adf6e34cebf4d25240cd7e945d5b2672 | [] | no_license | abrageddon/DLX-Opt | 4602617f83ddf8cb0fea83fecd2faa362849dfcd | 20038078f11a7ae67e7ab336e551e23966551290 | refs/heads/master | 2021-01-01T05:49:33.218016 | 2013-03-14T06:08:45 | 2013-03-14T06:08:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 313 | tst | test2-1.tst | main
var n1, n2;
function readnum;
{
return call inputnum()
};
function incnum(v);
{
return v + 1
};
procedure writenum(v);
{
call outputnum(v);
call outputnewline()
};
{
let n1 <- call readnum;
let n2 <- call readnum;
let n1 <- call incnum(n1 * 2) + call incnum(n2 - 3);
call writenum(n1)
}.
|
8733ada5aac6a65b8b630fec7437a0a346942a78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.24/Ex32_24.sce | c4e28db2ad3f56f3c60941cdaecc2389373cfb59 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 463 | sce | Ex32_24.sce | // Example 32_24
clc;funcprot(0);
//Given data
P=60;// MW
n_o=25/100;// The over all efficiency
CV=30000;// The calorific value of value in kJ/kg
F_l=30/100;// Load factor
// Calculation
I=(1/n_o)*3600;// Input in kJ
Cc=(I/CV);// Consumption of coal per kW-hr in kg
E=F_l*P*10^3*24;// kW-hr
Cc_d=(E*Cc)/1000... |
4491e5fb35161bddd635ae4aaa3ce6f47e9dab42 | 0398247443eeb413d3cfd5e012ea5d40e4c8b562 | /08/tests/macros/noboot/pushA/pushA.tst | 1b061cef0f7bc4785ec18408f558626d2ad31044 | [] | no_license | willbr/the_elements_of_computing_systems | 1cfee98bf6eeca101f4a428a35b838aefbf27afa | ee8f19720958159a22bf90eb6a5f32ea8348e6fa | refs/heads/master | 2016-09-06T00:34:17.333924 | 2013-01-20T22:02:59 | 2013-01-20T22:02:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | tst | pushA.tst | load pushA.asm,
output-file pushA.out,
compare-to pushA.cmp,
output-list
D%D1.6.1
RAM[0]%D1.6.1
RAM[256]%D1.6.1
RAM[257]%D1.6.1
RAM[258]%D1.6.1;
set A 2,
set RAM[0] 257,
set RAM[256] 1,
repeat 100 {
ticktock;
}
output;
|
e688d064dcad61e1f5c56aa6b1ce6dcaa689993d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH8/EX8.12/exa_8_12.sce | abbf475b12ec7656a6d16fbf4bd097310ad8b462 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,080 | sce | exa_8_12.sce | // Exa 8.12
clc;
clear;
close;
//given data
// For the word 100100
N=6;// Number of bits
a5= 1;// Value of bits
a4= 0;// Value of bits
a3= 0;// Value of bits
a2= 1;// Value of bits
a1= 0;// Value of bits
a0= 0;// Value of bits
Vo= 3.6;// in volt
// Formula Vo= (2^(N-1)*a5 + 2^(N-2)*a4 + 2^(N-3)*a3 + 2^(N-... |
23e124809c24260d15659578a8f87d0f8ca60d58 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH17/EX17.08/17_08.sce | e5595acac7929d58ef4798b6f358bbc898000e72 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 976 | sce | 17_08.sce | //pathname=get_absolute_file_path('17.08.sce')
//filename=pathname+filesep()+'17.08-data.sci'
//exec(filename)
//Speed(in rpm):
N=300
//Brake power(in kW):
BP=250
//Bore diameter(in m):
D=0.30
//Stroke length(in m):
L=0.25
//Fuel consumption rate(in kg/min):
m=1
//Air fuel ratio:
r=10
//Calorific value o... |
f19f16d1171aa269a3b9f91c1254fa35fb801583 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH15/EX15.7/15_07.sce | 48c94b5b4c99cb550282fb0de8f61cdbad626232 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 629 | sce | 15_07.sce | //Chapter 15, Problem 7
clc;
R=4; //coil resistance
L=9.55e-3; //inductance
f=50 //frequency in hertz
V=240; //supply voltage
Xl=2*%pi*f*L; //inductive reactance,
Z=sqrt(R^2+Xl^2); //impedance
I=V/Z; //current
... |
9aae1d05c05eeccc5ef4d52da677690e30cc1404 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/gcc/testsuite/ada/acats/tests/c9/c96005b.tst | f4665b13619efa771b6763238ec5fd342a92ed21 | [
"LGPL-2.1-only",
"FSFAP",
"LGPL-3.0-only",
"GPL-3.0-only",
"GPL-2.0-only",
"GCC-exception-3.1",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | Scilab | false | false | 5,148 | tst | c96005b.tst | -- C96005B.TST
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
e48fe34cd91d92502835bec37ec3152ffca5b673 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Concise_Physics_H._Matyaka_1991.zip/Concise_Physics_H._Matyaka_1991/CH2/EX2.3/3.sce | f24a2b8184402584d63a280027cadfd8766cbd43 | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | 3.sce | errcatch(-1,"stop");mode(2);
//input
v=120 //velocity
a=75 //accleration
//calculation of time
t=2*v/(a*cosd(45))//eqn of uniformly accelerated body
//output
printf("the time taken is %3.3f s",t)
exit();
|
634de83798331cf1e109a4976e5859cc3816d5c6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /998/CH29/EX29.44/Ex44.sce | d83be1803e17ef09dbdfbab40129b00f9d2fc8fc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 469 | sce | Ex44.sce | //Ex:44
clc;
clear;
close;
p_t=10*log(2)/log(10);// transmit power in dbW
g_t=42;// Gain of the VSAT transmit antenna in db
g_r=30;//Gain of the satellite receive antenna in db
l_p=207;//Free space path loss at 14HGz
l_b=2;//Beam loss in db
l_a=0.5;//atmospheric loss in db
l_l=0.5;//miscellaneous loss in db
... |
9fdf272cb6062427cefaf664f735f8cd5f28b532 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/tests/examples/arl2.man.tst | 173c67dd37c8079bf15c26388587e279cdb97478 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | tst | arl2.man.tst | clear;lines(0);
v=ones(1,20);
xbasc();
plot2d1('enn',0,[v';zeros(80,1)],2,'051',' ',[1,-0.5,100,1.5])
[d,n,e]=arl2(v,poly(1,'z','c'),1)
plot2d1('enn',0,ldiv(n,d,100),2,'000')
[d,n,e]=arl2(v,d,3)
plot2d1('enn',0,ldiv(n,d,100),3,'000')
[d,n,e]=arl2(v,d,8)
plot2d1('enn',0,ldiv(n,d,100),5,'000')
[d,n,e]=arl2(v,poly(1,'z'... |
b7fb2963d7995a95324b748c0ef1cc48d841f1f2 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /Gesture/SCENARIOS/Human.sce | 1a770a80f2b36db4a9fb1688c3d1e76f1cf084cd | [] | no_license | jmainpri/move3d-assets | a5b621daaedaaf8784fed0da1e80d029c83f3983 | 939db49d17a14e052bb58324b70e6112803d3105 | refs/heads/master | 2021-01-16T17:48:56.669119 | 2016-02-16T14:04:09 | 2016-02-16T14:04:09 | 20,237,987 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,989 | sce | Human.sce | #************************************************************
# Scenario of humanTestEnv
#
# date : Fri Mar 22 16:29:41 2013
#************************************************************
p3d_sel_desc_name P3D_ENV humanTestEnv
p3d_sel_desc_name P3D_ROBOT PR2_ROBOT
p3d_set_robot_steering_method Linear
p3d_set_robot... |
ad614122e8d9da2d5d4600517bb54e7b8aec3939 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3204/CH15/EX15.15/Ex15_15.sce | a5f6df981cd067362474656d03dafbd4a521c831 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 672 | sce | Ex15_15.sce | // Initilization of variables
P=50 // N // Weight of ball P
Q=50 // N // Weight of ball Q
R=100 // N // Weight of the governing device
l=0.3 // m // length of each side
theta=30 // degree
g=9.81 // m/s^2 // acc due to gravity
// Calculations
// Consider the respective F.B.D
r=l*sind(theta) // m // Radius of ci... |
aaed619edf841f2ab33de809cda4b2d54ffa1fc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1640/CH4/EX4.15/4_15.sce | a3f3243d658a39573118c2bbc9db4c15e9a5a57b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | 4_15.sce | clc
//initialisation of variables
W= 100 //ft
h= 10 //ft
v= 4 //ft/sec
h1= 3 //ft
g= 32.2 //ft/sec^2
H= 5.4 //ft
Cd1= 0.58
Cd2= 0.8
//CALCULATIONS
v0= (W*h*v)/(W*(h+h1))
h0 =v0^2/(2*g)
H2= (W*h*v-(2*Cd1*W*sqrt(2*g)*((h1+h0)^1.5-h0^1.5)/3))/(Cd2*W*sqrt(2*g*(h1+h0)))
dh= h-H2
//RESULTS
printf ('height of... |
3f35c2f79873a591abf1fa6f56b3ac10262ca983 | 3e7d6484d3084180a51d47db5194a1ae3c5cd7cc | /thermistorTableGenerator.sce | 11b551bce3d5282fd978b53bba98ac9efacfd665 | [] | no_license | OUNAVCON/PythonScripts | ed1cf43822be0a4f48f400b268cb95af1be0ce45 | 501d293175a45dc3a8c3cf6a982ebcbf0df39021 | refs/heads/master | 2021-01-23T07:59:58.107618 | 2017-12-06T21:43:19 | 2017-12-06T21:43:19 | 86,469,643 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 962 | sce | thermistorTableGenerator.sce | close;
clear;
clc;
//R0 = 10000; //Old Thermistor
R0 = 32762; //Motor Thermistor
T0 = 25+273;
//beta = 3553; //Old Thermistor
beta = 4300; //Motor Thermsitor
R_lower = 10e3; //+/- 5%
Vs = 5;
ADC_RES = 2^12;
G = ADC_RES
T_MIN = -15;
T_MAX = 100;
NUM_POINTS = 16;
T_Delta = (T_MAX-T_MIN)/NUM_POINTS;
disp(T_Delta)
t = ... |
987720c868b4f1f485ea530505b656412c244461 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH21/EX21.6/Ex21_6.sce | 46584c54e5f62f159b7afbf914f8e8ae79cf06ad | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 334 | sce | Ex21_6.sce | //Example 21.6
v=5*10^2;//Velocity of bullet (m/s)
x=8*10^-2;//Distance traversed (m)
t=x/v;//Time (s)
tau=t;//Time constant (s)
R=10;//Resistance (ohm)
C=tau/R;//Capacitance (F)
printf('Capacitance required = %0.1f microF',C/10^-6)
//Openstax - College Physics
//Download for free at http://cnx.org/content/col... |
35b876b2d5d05c845e5533d6a31607e1eb483032 | 5523237709a6b6082f723934030bd36314a3b267 | /frontend/inputtest.sce | ac1409a7a08a45474885999090beff9c7bbd445f | [] | no_license | mode777/retrolove | 54d8bd852ed67f4b6c27cdee63f35a5195fadc8c | 4626062c98797f3d4b3c7510ce4d5de1cf3b66e2 | refs/heads/master | 2021-06-01T22:36:42.600874 | 2017-12-18T09:40:50 | 2017-12-18T09:40:50 | 19,409,879 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,283 | sce | inputtest.sce | local scene = {}
--input.loadMapping("buttons.lua")
local buttonUp = cine.input.newVirtualInput("up")
local buttonDown = cine.input.newVirtualInput("down")
local buttonLeft = cine.input.newVirtualInput("left")
local buttonRight = cine.input.newVirtualInput("right")
local function waitInput()
while not input.getCur... |
d84baad6e3b4d8d0fb949868729f560d0d296bae | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH1/EX1.7/1_7.sce | a31672cb42731ac4062d6a6c9a729cb41c688a13 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 366 | sce | 1_7.sce | clc
//initialisation
Rt=13.3//ohms
R100=7.0//ohms
R0=5.0//ohms
t=444.6//celsius
RT=9.1//ohms
//CALCULATIONS
tp=(Rt-R0)*100/(R100-R0)
Tp=(RT-R0)*100/(R100-R0)
s=(t-tp)*10000/(t*(t-100))
T=Tp+((s*(Tp*(Tp-100)))/10000)
Ts=Tp+((s*T*(T-100))/10000)
//results
printf(' platinum temperature of bath= % 2f C',T)
p... |
05bb42f04d6724b9f0817562fe84db5da88d371b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1019/CH8/EX8.3/Example_8_3.sce | 347396e7ffeba979da1cbd7666c521b86b594e36 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 402 | sce | Example_8_3.sce | //Example 8.3
clear;
clc;
//Given
p=1.7;
Kp=p*10^12;//equillibrium constant at 300K
// (i) To determine Kp1
p1=1/p;
Kp1=1/Kp;//equillibrium constant
mprintf('(i) Kp = %f * 10^-12',p1);
//(ii) To determine Kc2
p2=p1^2;
Kp2=Kp1^2;//equillibrium constant
mprintf('\n (ii) Kp = %f * 10^-24',p2);
p3=1/p2;... |
3b9390b85691dbc1f2fddb4f2b64f7c5085d885f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2741/CH10/EX10.24/ExampleA24.sce | 46d7d43f90e69daf9c9943cea6f50840aa2ba803 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 675 | sce | ExampleA24.sce | clc
clear
//Page number 481
//Input data
t1=27;//The given initial temperature in degree centigrade
p=50;//The reduce in the pressure in atmospheres
a=13.2*10^-2;//Van der Waals constant in Nm^4mole^-2
b=31.2*10^-6;//Van der Waals constant in mole^-1m^3
R=8.3;//Universal gas constant in JK^-1(mole)^-1
Cp=3... |
cc6da9eb782839326222d348c30648bd08aa7b29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.1/Ex6_1.sce | 4f075c73084193e1347a768c9bca5278f7d53454 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 204 | sce | Ex6_1.sce | //Example 6_1 page no:229
clc
phase_angle=30//phase angle in degree
Vm=100//maximum voltage
Veff=100/sqrt(2)
Ieff=15/sqrt(2)
Pav=Veff*Ieff*cosd(phase_angle)
disp(Pav,"Average Power is(in watts)")
|
5b0a84044ae8eea5e9161b8c8fd4ce654540b5a0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1460/CH6/EX6.7/6_7.sce | ccdbaeca6b06d398728edb05ab1ea9ab552d2f2d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 413 | sce | 6_7.sce | clc
//Initialization of variables
T1=400+460 //R
P1=100 //lb/in^2
P2=20 //lb/in^2
T2=140+460 //R
Cp=50
//calculations
Pratio=P1/P2
Tratio=T1/T2
C=log(Tratio) /log(Pratio)
n=1/(1-C)
v1=Cp*T1/(144*P1)
v2=Cp*T2/(144*P2)
w=144*P1*v1^n
function[p]=fun(v)
p=w/v^n
endfunction
Work=intg(v1,v2,fun)
//results
printf("Work done ... |
81b75ce4d21626591c248c2bfc3d9512cd755a2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /1409/CH8/EX8.27/8_27.sce | 9ba76ff318746c67a4d02b087ce2f42757a1a7b6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 162 | sce | 8_27.sce | clc;
//page no 8-66
//Example 8.27
R=10*10^3;//in ohm
C=1000*10^(-12);//in farads
fm=10*10^3;//in Hz
Mmax=1/sqrt(1+(2*%pi*fm*C*R)^2);
disp(Mmax,'Mmax=');
|
f989304686bf23ca5a4cc2c7e2738f709ef5620e | 449d555969bfd7befe906877abab098c6e63a0e8 | /858/CH6/EX6.12/example_12.sce | c6f2f2dbbdde3d6766387b445079be1fef0d8f61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 510 | sce | example_12.sce | clc
clear
printf("example 6.12 page number 231\n\n")
//to find the top and bottom composition
x = [1;0.69;0.40;0.192;0.045;0];
y = [1;0.932;0.78;0.538;0.1775;0];
plot(x,y)
xlabel("x")
ylabel("y")
title("distillation curve")
x = 0:0.1:1;
y = 0:0.1:1;
plot(x,y)
x = [0.5,0.31];
y = [0.5,0.7];
plot (x,y)
... |
74f14144d8f8302a13bfbc261de2b9c1fd751d85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2168/CH23/EX23.5/Chapter23_example5.sce | fd184473371bea86d9a71334d00253ebac31a2ec | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 980 | sce | Chapter23_example5.sce | clc
clear
//Input data
d=20//Bore in cm
l=37.5//Stroke in cm
r=6//Compression ratio
IPm=5//Indicated Mean effective pressure in kg/cm^2
ag=6//Air to gas ratio
CV=3070//Calorific value of gas in kcal/cu.m
T=75+273//Temperature in K
p=0.975//Pressure in kg/cm^2
RPM=240//Speed in r.p.m
g=1.4//Ratio of specific... |
1c8e6cae25aa1d2ca3748c6ce27306e5e3c8016a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH4/EX4.2/Ex4_2.sce | fa6b88563de932c966714c9f6c781eaee239b375 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 674 | sce | Ex4_2.sce | clear
//
//The composite figure is divided into three simple figures and taking A as origin coordinates of their centroids
//variable declaration
L1=400.0 //length of wire AB,mm
L2=150.0*%pi //length of wire BC,mm
L3=250.0 //length of wire CD,mm
theta=30*%pi/180
//The wire is divided into three s... |
5c10abed77191e9345e6cb9bc4d48816fe6732d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH29/EX29.8/29_8.sce | a6f0d9a3156c027ad6662a8a113ce08d9195645d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | 29_8.sce | clear//
//Variables
A1v = 100.0 //Voltage gain with feedback
dA1vbyA1v = 0.01 //Percentage change in closed loop gain
dAvbyAv = 0.20 //Percentage change in open loop gain
//Calculation
betamultAvplus1 = dAvbyAv/dA1vbyA1v //Prod... |
52fe90e78d8707e7bdc714b79ec629ffa317e03d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.30/Ex19_30.sce | 152941c23ff99ddb45eef9d8bb87f7c76606a4a7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 632 | sce | Ex19_30.sce | //Ex19_30 Pg-998
clc
// question in the textbook is wrong7
disp("LHS : (A + B + C)(A + B + C) ")
disp(" = AA + AB + AC + BA + BB +BC + CA + CB + CC")
//using distributive law
disp(" = A + AB + AC + BA + B +BC + CA + CB + C")
//using law 6
disp(" = A + AB + AC +BC + CB + C")
//using law ... |
c9c69b22a422285f13402651792c092148e04cc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1733/CH8/EX8.11/8_11.sce | 0172dd042101274c46a8ab0ab2607d4098e02bf3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 454 | sce | 8_11.sce | //8.11
clc;
Rf=100*10^3;
R1=1000;
Gain=-Rf/R1;
printf("Closed loop gain=%.0f", Gain)
Av=100000;
Zo=75;
f_unity=10^6;
beta=R1/(R1+Rf);
Z_closed=Zo/(1+Av*beta);
printf("\nClosed loop output impedance=%.6f ohm", Z_closed)
closed_loop_upper_cut_f=f_unity*beta;
printf("\nClosed loop upper cutoff frequency=%.0f... |
e1be50749be8e4b275e9e4e9b187e46bbb683b7f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3542/CH9/EX9.7/Ex9_7.sce | d1f70a14f9b67add1b0369f32de8660803f76c64 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,353 | sce | Ex9_7.sce | // Example no 9.7
// To evaluate 4 different radio standards and to choose the one with maximum capacity
// Page no. 472
clc;
clear all;
// Given data
ABc=30*10^3; // Channel bandwidth of system A
ACImin=18; // The to... |
2cadda30ef2a6453ba54d79caab2da8f32f92f63 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/scicos/save_csuper.sci | 452633d97440a2e1aabdd3d2c96dd102be9c5696 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 2,429 | sci | save_csuper.sci | function path=save_csuper(scs_m,fpath)
// given a super block definition x save_super creates a file which contains
// this super block handling macro definition
// Copyright INRIA
path=[]
scs_m=do_purge(scs_m)
x1=scs_m(1);nam=x1(2)(1);
nam=strsubst(nam,' ','_')
in=[];out=[];clkin=[];clkout=[];
bl=' '
com='/'+'/'
fo... |
482fba3d9abc2b80e2cc7596ccd34e31eef4b698 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2258/CH4/EX4.13/4_13.sce | 6cc160f62c57bf3cf71db5eab261522ffd70eb41 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 328 | sce | 4_13.sce | clc();
clear;
// To calculate the permeability
H=1800; //magnetising field in amp/m
phi=3*10^-5; //magnetic flux in weber
A=0.2; //cross sectional area in cm^2
A=A*10^-4; //cross sectional area in m^2
B=phi/A;
mew=B/H;
printf("the permeability is %f Henry/m",mew);
//answer given in the book is... |
25cfebf7fbd5f8294efc45219fd7296f1ce23323 | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set6/s_Electronic_Circuits_M._H._Tooley_995.zip/Electronic_Circuits_M._H._Tooley_995/CH5/EX5.2/Ex5_2.sce | 2268eedcacad5555c0fdccf218d0b7f9a0e1dafa | [] | no_license | hohiroki/Scilab_TBC | cb11e171e47a6cf15dad6594726c14443b23d512 | 98e421ab71b2e8be0c70d67cca3ecb53eeef1df6 | refs/heads/master | 2021-01-18T02:07:29.200029 | 2016-04-29T07:01:39 | 2016-04-29T07:01:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 155 | sce | Ex5_2.sce | errcatch(-1,"stop");mode(2);//Ex:5.2
;
;
i=15*10^-3;
R=(21-2.2)/i;
v=18.8;//in volts
P=i*v*1000;
printf("Resistor %d ohms of %d mW",R,P);
exit();
|
87b65091967f735f3004f9ad36a243265736af68 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1862/CH19/EX19.6/C19P6.sce | 0ea5237c58a792de133dbf70ad3b83a95fc79b61 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,237 | sce | C19P6.sce | clear
clc
//to find frequency we would perceive
// GIVEN:
//frequency of siren
f = 1125//in Hz
//speed of car
vs = 29//in m/s
//speed of car and your speed
v_0 = 14.5//in m/s
//speed of sound
v = 343//in m/s
// SOLUTION
//using equation of sound wave
//frequency we would perceiv when police car is m... |
b237d03059a5cf6a67fafbcf77100721433da55e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH19/EX19.4/ex19_4.sce | de8df2bb38528c7ecc9d00ab46214da33213228d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 418 | sce | ex19_4.sce | clc;
clear all;
Tc1=4.185;//critical temperature of metal
Tc2=4.133;//decreased critical temperature
M1=199.5;//isotropic mass of metal
//Tc2=Tc1*(M1/M2)^0.5 so..
M2=M1*(Tc1/Tc2)^2;//isotropic mass when Tc2=4.133K
disp('',M2,'isotropic mass when Tc2=4.133K is');
//in the book the question is different and solut... |
35e20b349bc6367791e5133f0419f9fa7555518d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1163/CH30/EX30.5/example_30_5.sce | caf897f232db4cef8f53481e5d9e98013592db09 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,191 | sce | example_30_5.sce | clear;
clc;
disp("--------------Example 30.5----------------")
message=['H' 'E' 'L' 'L' 'O' ' ' 'M' 'Y' ' ' 'D' 'E' 'A' 'R']; // HELLO MY DEAR
l=size(message,'c'); // length of message
ns="";
ciphertext="";
for i=1:l
if(message(i)==' ') // remove the spaces
continue;
else
ns=ns+mess... |
0fffc80d5c2c9d1c20dfe3abe5451a9335d632ab | 449d555969bfd7befe906877abab098c6e63a0e8 | /3886/CH17/EX17.5/17_5.sce | cf5fc2e6b8a805c05ef7ace683c5142d6a95816b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 326 | sce | 17_5.sce | //Block on inclined plane
//refer fig. 17.5
theta=atand(5/12) //degree
N=130*cosd(theta) //N
mu=0.3
F=mu*N //N
//Force down the plane
R=130*sind(theta)-36 //N
u=2.4 //m/sec
//v is final velocity
t=5 //sec
//applying impulse momentum equation
v=((14*5*9.81)/(130))+2.4 //m/sec
printf("\nv=%.3f m/sec",... |
71e750e701157d9afb9bef2c9df3b6c5404315eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH10/EX10.21.a/data10_21.sci | a8c811a99312fd38bdcfc66803dc9e88e57ead0e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sci | data10_21.sci |
//(Springs) Example 10.21
//Grade of the patented and cold-drawn steel gr
gr = 4
//Yield strength of the material is r% of the Sut
r = 60
//Factor of safety fs
fs = 2
//Mean coil diameter D (mm)
D = 18
//Maximum bending moment on the spring Mb (N-mm)
Mb = 250
//Modulus of elasticity of the spring E (N/mm2)
E = 207000
... |
a4e225e4d57bdcc68cb69b05fa2e669f3c2c497d | e2f1cd4bf054393b04c3e30ca2bcdd4667395efc | /mechsJ0.tst | 2fa2d774457c223bc48864b053db947aed639b5d | [] | no_license | unsegnor/BT | 37203462f8672b89b82cf025c5f05c67515263fb | 9051eb4b002f68041578bd581668bcc7959bda56 | refs/heads/master | 2021-01-10T02:05:05.487349 | 2014-07-04T17:56:31 | 2014-07-04T17:56:31 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 963 | tst | mechsJ0.tst | mechsSBT
2
0
True
False
False
False
1103
3
3
0
False
False
0
14
17
22
22
17
14
21
9
5
5
7
17
21
21
21
21
17
31
3
4
6
0
10
0
0
True
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
False
Fa... |
bbcfe492d0da06cc13adcb2491f2a9910879a498 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3756/CH7/EX7.6/Ex7_6.sce | 2d82ff7ad9679ab11cbc361a55d95cf3baa93a83 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 287 | sce | Ex7_6.sce | clc
//
//
//
//Variable declaration
S=2 //solar energy
EH=1400
Z=376.6
//Calculations
E=sqrt(EH*Z)
H=sqrt(EH/Z)
E0=E*sqrt(2)
H0=H*sqrt(2)
//Result
printf("\n The Amplitude of Electric field is %i V/m",E0)
printf("\n The Amplitude of Magnetic field per turn is %1.2f A-turn/m",H0)
|
b44f105bbd4c5a8cbb7f06cdd08dcee1f40a67ba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2210/CH1/EX1.6/1_6.sce | f4af4eb2051e05aa73c858869a8218767ae48a26 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 256 | sce | 1_6.sce | //Chapter 1, Example 1.6
clc
n=2 //no of recievers
Zo=75 //input impedance of each receiver
//calculating the value of resistor
R=((n-1)/(n+1))*Zo
printf("Value of the matching resistor = %d ohm",R)
|
dba505b287c47688db29d3acd62beb246cc95a53 | 7ef433e1e7976368ffeeb03cd43eb954476a4046 | /laboratory/lab02/lab2.sce | c32ae30f1117f175ec4f3f8be50933650269351a | [] | no_license | KSELIMAA/MathMod | f35fbaa676d3b35465c4fcb08fb8f1bea3b7dc1e | 575ffff37832543990493e9f1a533ee8cc0491f3 | refs/heads/main | 2023-04-06T05:05:05.827139 | 2021-04-02T17:50:27 | 2021-04-02T17:50:27 | 338,579,550 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,293 | sce | lab2.sce | n=2.6;
// разница в скорости между катером и лодкой
k=6.5;
// начальное расстояние между катером и лодкой
fi=3*%pi/4;
//функция, описывающая движение катера береговой охраны
function dr=f(tetha, r)
dr=r/sqrt(n*n-1);
endfunction;
//начальные условия в первом случае
r0=k/(n+1);
tetha0=0;
tetha=0:0.01:2*%pi;
r=ode(r0,tet... |
bcd964689dd3d99b8f9a8499b09c91234c1261e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3556/CH13/EX13.17/Ex13_17.sce | c1044e25d324772dd42b115d945eaba6240491d9 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 734 | sce | Ex13_17.sce | clc
// Fundamental of Electric Circuit
// Charles K. Alexander and Matthew N.O Sadiku
// Mc Graw Hill of New York
// 5th Edition
// Part 1 : AC Circuits
// Chapter 13 : Magnetically Couple Circuits
// Example 13 - 17
clear; clc; close;
//
// Given data
Vp = 2400.0000;
Vs = 240.0000;
Ns... |
f002c50d586b5d79947189b4ee6372c16dc72fca | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH25/EX25.17/25_17.sce | be88424fadb94941e2d57d890c92f1dc505a9c81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | 25_17.sce | clc;
disp(100.9/12.01,"Moles of C = "); //displaying result
disp(22.6/1.008,"Moles of H = "); //displaying result
|
35efe34eaee0e9e51a6ea64a637fda9026a32d5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2021/CH19/EX19.8/EX19_8.sce | aa053aea66ad069f2f401675c30bd05c1fb3e06b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 205 | sce | EX19_8.sce | //Finding of Mininmum Speed
//Given
D=0.3;
D1=0.6;
Vf1=2.5;
a=45;
Emano=0.75;
//To Find
u=(%pi*D)/60;
N=(-2.5)*(120*Emano**D1)/(%pi*(D1^2-D^2));
N1=-N+(1/u);
disp("Speed ="+string(N1)+" rpm");
|
446fac08188cd9a7c7307895163b0e5ab06f7a08 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1826/CH2/EX2.18/ex2_18.sce | 439ef66358f91aba95ee46d66723b060e043355f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | ex2_18.sce | // Example 2.18, page no-39
clear
clc
rbcc=0.1258*10^-9
rfcc=0.1292*10^-9
a=4*rbcc/sqrt(3)
vbcc=(a^3)/2
a1=4*rfcc/sqrt(2)
vfcc=(a1^3)/4
vp=(vbcc-vfcc)
vp=floor(vp*10^32)
vp=vp*10^-32/vbcc
printf("The volume change in %% duringg the structural change is %.4f",vp*100)
|
95828fa5f25bb90eaa33e036ef8908afd85e3629 | f78a758dc17a311b355e12366d1315f7a9c2b763 | /Ssangyong/SES-E-922 2008/7.2.9 Power Supply Voltage Fluctuation Test 0.tst | 57a182785d316c0c153d574c94cc13f722219d16 | [] | no_license | CZPFOX/Standards | 9dbf036f7e3e5767c23872c884ae7da83e66f81c | af34157e6e447d1a2b39136b9f3734feb663d9bb | refs/heads/master | 2020-06-18T12:58:06.033918 | 2019-07-11T02:55:42 | 2019-07-11T02:55:42 | 196,309,147 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 996 | tst | 7.2.9 Power Supply Voltage Fluctuation Test 0.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Test</Title>
<Organization>Ssangyong</Organization>
<Standard>SES-E-922 2008</Standard>
<Item>7.2.9 Power Supply Voltage Fluctuation Test</Item>
<voltage>12</voltage>
<count>... |
1ee92d6814381caffe73985d144e07e9955063b7 | aeb79afbe5c031a224f37fdd86c5e2f02577e025 | /qtproject/kanhar.tst | ea19b0f6e15d8102c899ec2a81c85ad6efcd57fd | [] | no_license | kanhar/bottleneck_shortest_path | b4093caf5a9d40b8de346322c6fc8beb500233ca | 22709c642d83d456087b6ea5dc4e442385fa0c37 | refs/heads/master | 2021-06-25T03:31:40.579447 | 2021-01-19T03:33:53 | 2021-01-19T03:33:53 | 5,651,882 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 90 | tst | kanhar.tst | [-100,500]x[0,300]
P (0,0)
P (0,6)
P (1,1)
P (2,2)
P (3,3)
P (5,1)
P (4,1)
S (0, 3) (2,1)
|
bdaa1aaab438f8b6bfb6a048f9471f1873817a16 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3718/CH5/EX5.10/Ex5_10.sce | f483081ffca0c8735cdf84f9f35a5f7e3bce8b42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 420 | sce | Ex5_10.sce | //Chapter 5: Chemical Kinetics and Catalysis
//Problem: 10
clc;
//Declaration of Constant
R = 1.987 //in cal per K per mol
//Declaration of Variables
K2_K1 = 4 // factor increase
T1 = 27 //in C
T2 = 47 //in C
// Solution
T1 = T1 + 273.0
T2 = T2 + 273.0
Ea = log10(4) * 2.303 ... |
fb355e78aa4541cf6a3c9ec78a4555b2e85fe8e1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2081/CH10/EX10.6/Ex10_6.sce | c540964a3e1a3e566d9b51fc2877f35eebfb25a5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 166 | sce | Ex10_6.sce | Bt=12.5*10^6
Bg=10*10^3
B2g=2*Bg//Guard band on both the ends
ABW=Bt-B2g
Bc=30000//channel bandwidth
N=ABW/Bc
disp(N,'total no. of channels available in the system')
|
360d9b65f70ba731fe5430a76352882c12b9df1d | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/cohere.sci | ba013ab5e4cabb1bc939501108513ddd5ed16364 | [] | no_license | sonusharma55/Signal-Toolbox | 3eff678d177633ee8aadca7fb9782b8bd7c2f1ce | 89bfeffefc89137fe3c266d3a3e746a749bbc1e9 | refs/heads/master | 2020-03-22T21:37:22.593805 | 2018-07-12T12:35:54 | 2018-07-12T12:35:54 | 140,701,211 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,049 | sci | cohere.sci | function [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends)
//Estimate (mean square) coherence of signals "x" and "y"
//Calling Sequence
// [Pxx,freqs] = cohere(x,y,Nfft,Fs,win,overlap,ran,plot_type,detrends)
//Parameters
//x: [non-empty vector] system-input time-series data
//y: [non-empty vector] s... |
ce07b5d122b30d080a599bbff29b8b3dd86d2ed3 | 7b040f1a7bbc570e36aab9b2ccf77a9e59d3e5c2 | /Scilab/virtual/2dof_controller/dc/place/scilab/delc2d.sci | ed1140a93d50df5acf3b6e357d5f9247c979b5b6 | [] | no_license | advait23/sbhs-manual | e2c380051117e3a36398bb5ad046781f7b379cb9 | d65043acd98334c44a0f0dbf480473c4c4451834 | refs/heads/master | 2021-01-16T19:50:40.218314 | 2012-11-16T04:11:12 | 2012-11-16T04:11:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,082 | sci | delc2d.sci | // Discretizing a tf with delay
// Exact solution
// Applicable for first order system
// Ref.: pg.287,Digital Control,Prof.Kannan Moudgalya
// D: Delay
// TF: e^(-Ds) OR e^(-Ds)
// ------------ ------------ (gen.)
// tau*s + 1 tau*s + a
//D = kTs + D... |
25ff3b5a39690d744d7caf1ea5a0949ccff0780d | 449d555969bfd7befe906877abab098c6e63a0e8 | /174/CH7/EX7.1/example7_1.sce | c11ea704e8d915a164be1fc68efd2d12c6371eaa | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 724 | sce | example7_1.sce | // To find minimum distance
// Modern Electronic Instrumentation And Measurement Techniques
// By Albert D. Helfrick, William D. Cooper
// First Edition Second Impression, 2009
// Dorling Kindersly Pvt. Ltd. India
// Example 7-1 in Page 184
clear; clc; close;
// Given data
D = 4*10^-2; //Deflection on the... |
2e079218298b116765e480d3632dce2f7ea4bf4a | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH23/EX14.23.28/Ex14_23_28.sce | 1e95253403c204280907b2bcc21139c30596b77c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 260 | sce | Ex14_23_28.sce | //Section-14,Example-3,Page no.-PC.127
//To calculate number of grams of NH_4Cl.
clc;
K_b=1.85*10^-5
pK_b=-log10(K_b)
pH=11.45
pOH=14-pH
C_NH_4Cl=0.05*(10^(pOH-pK_b))
N=(C_NH_4Cl)*53.5
disp(N,'Number of grams of [NH_4Cl] in 1 litre buffer solution')
|
0b5e576ae5b9c7616954cfb4882c9d1074a854a2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1709/CH11/EX11.7/11_7.sce | 83ef3c77d201eac7f386802551b5a86e637af628 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 496 | sce | 11_7.sce | clc
//Initialization of variables
Kp=0.668
y=Kp^2
//calculations
x=poly(0,"x")
vec=roots(x^3 + y*x^3 + 2*y*x^2 -y*x -2*y)
eps=vec(1)
x1=(1-eps)/(1+ eps/2)
x2=eps/(1+eps/2)
x3=eps/2/(1+ eps/2)
//results
printf("degree of reaction = %.3f ",eps)
printf("\n Equilibrium concentration of CO2 = %.3f ",x1)
printf... |
4e32c9af63422d6fc31646ae650de9689cea0e8f | 449d555969bfd7befe906877abab098c6e63a0e8 | /3733/CH32/EX32.35/Ex32_35.sce | 652806c9b0547b61840dce286a2d9ebdc278945b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 2,822 | sce | Ex32_35.sce | // Example 32_35
clc;funcprot(0);
//Given data
L_cap=1500;// MW
// n=0.43*(L)^0.95;(given)
T=[0 4 8 12 16 20 24];// Time in hours
C_1=[200 600 1000 400 200 100];// Load in MW
C_2=[800 400 200 200 600 400];// Load in MW
C_t=[1000 1000 1200 600 800 500];// Load in MW
// Calculation
E=(C_1(1)*(T(2)-T(1)))+(C_1(2)*(T(3)-T... |
7d64cfe3e3206ee563b507383397f7de814e7b3d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.4/macros/m2sci/sci_bone.sci | 12f67e607c008bfb27bfb9e0b9b88d0c44ef6236 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 373 | sci | sci_bone.sci | function [stk,txt,top]=sci_bone()
// Copyright INRIA
txt=[]
if rhs<1 then
stk=list('(7*graycolormap() + hotcolormap()*[0 0 1;0 1 0;1 0 0])/8','0','32','3','1')
else
if isname(stk(top)(1)) then
n=stk(top)(1)
else
n=gettempvar(1)
txt=n+'='+stk(top)(1)
end
stk=list('(7*graycolormap('+n+') + hotcolorm... |
5608ca55cbefd19ab17d64292397497aee7a4cb3 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/rasp_design_added_blocks/common_drain_nfet.sce | b9007833a509bcad164fdf26c30cb47e97bb28ec | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 102 | sce | common_drain_nfet.sce | style.displayedLabel="common_drain_nfet"
pal1_1=xcosPalAddBlock(pal1_1,"common_drain_nfet",[],style);
|
ef56ceb373ec7ff06cb1571c568078bc456cfa81 | fc95cd887867a1522213e22e58eb34e610fedefb | /src/keyboard/testfile2.tst | 0227980bb51b4f0f71fce39423d44ed550d1c4a6 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive"
] | permissive | rolandbackhouse/MathSpad | 0fc72d4759613d444b99dff47dd6ede309fc4e4b | 7a5d1f0eb26383befdd0e30fe4d6d65c2b4a0dca | refs/heads/master | 2022-03-02T10:25:15.794213 | 2022-02-24T12:29:28 | 2022-02-24T12:29:28 | 242,183,155 | 0 | 1 | NOASSERTION | 2022-02-24T12:29:29 | 2020-02-21T16:28:28 | C | UTF-8 | Scilab | false | false | 291 | tst | testfile2.tst | emacs
[ ]-[~] self_insert()
[C-s] incremental_search()
[C-r] incremental_backward_search()
[Up] up()
[mouse_1] select()
{emacs
<C-S>
<C-s>
[C-s],[A] search_a()
<A>
<C-s>
<A>
<C-s><B>
<B>
vi
[A]-[Z] vi_insert()
[C-r] reverse_insert_mode()
[C-r],[A] rev_in_A()
{vi
<A>
<C-r>
<A>
<C-r>
<B>
|
fc0248b644b30c934380208275b11a3dc1717866 | 449d555969bfd7befe906877abab098c6e63a0e8 | /154/DEPENDENCIES/ch5_8.sce | 4c4e2298c5fe1ccd6ee37e36e1b77c250c413716 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 619 | sce | ch5_8.sce | clc
//From figure 5.13(a)
//Applying KVL equation to the loop
I=(20+10)/(3+6)
//As current will not flow in upper 3 ohm resistor so Thevenin voltage is equal to either of the two parallel branches
V1=20-I*3
printf("Thevenin voltage = %dV\n",V1)
// Left 3 ohm and 6 ohm resistor are in parallel and their equiva... |
4d8afa05577d86059eacfa705f3283c11f894334 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1106/CH4/EX4.8/ex4_8.sce | 305a2455d938e0f1eb7cdaa2deb4539921f4b828 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 266 | sce | ex4_8.sce | // Example 4.8, Page No-201
clear
clc
// This is a theorotical problem
//(Vi-0)/R1 = (Vi'-0)/R2
//(Vo-0)/2*R1 = (Vi'-0)/R2
//Vi'/R2=Vo/2*R1
//Hence, Vo=2*Vi
//Ii=(Vi-Vo)/R3 + (Vi-0)/R1
printf("Hence the input impedence of circuit Ri=R1*R3/(R3-R1)")
|
965b5575b4f877c6371cc4ec04d315f57ddc9fe8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /992/CH9/EX9.9/Ex9_9.sce | b1b4c4f22a158c619b9e8ac0b640bd5847151492 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | Ex9_9.sce |
//Exa:9.9
clc;
clear;
close;
//Given:
SNR=32;
Actual_snr=10^(SNR/10);
w1=300;//in Hz
w2=3400;//in Hz
w=w2-w1;
c=w*log2(1+Actual_snr);
printf("\n Capacity=%f bits/sec",c); |
03524a921a1b8cef067775294b71d51913f537a5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3415/CH4/EX4.1/Ex4_1.sce | 9fbf955198a0a5528255465c4403146715272acd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 959 | sce | Ex4_1.sce | //fiber optic communications by joseph c. palais
//example 4.1
//OS=Windows XP sp3
//Scilab version 5.4.1
clc
clear all
//given
d=1.64//Daimeter of waveguide in um
lambda=0.82//wavelength in um
//to find
dbylambda=d/lambda//d by lambda ratio normalized thickness
neff1=3.594//for TE0 mode from figure 4.5 fo... |
bede94d542cfd69e2f811f96190db6e9351dc5eb | 449d555969bfd7befe906877abab098c6e63a0e8 | /1418/CH26/EX26.10/EX26_10.sce | 54a031ca24b4adc9059d1dc983331cf9c65d3892 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 773 | sce | EX26_10.sce | //EXAMPLE 26.10
//DC SHUNT GENERATOR
clc;
funcprot(0);
//Variable Initialisation
Vi=127;...............//Induced voltage on open circuit in Volts
V1=120;...............//Terminal voltage on load in Volts
Rf=15;............//Field circuit resistance in Ohms
Ra=0.02;..........//Armature resistance in Ohms
Ia... |
1f609aa4c9b20b547407324f4c29bb19d9450e96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /83/CH9/EX9.2/example_9_2.sce | 30758dbeb9a509a8f6f53cb63b7c3b27e9408670 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,474 | sce | example_9_2.sce | //Chapter 9
//Example 9.2
//page 337
//To calculate subtransient and momentary current
clear;clc;
mvab=25;
Gmva=25;
T1mva=25; T2mva=25;
Gkvb=11; //generator kV base
OHLkvb=66; //overhead line kV base
Mkvb=6.6; //motor kV base
Mmva=5; //motor mva
XdG=%i*0.2; //Generator's subtransient reactance
XdM=%i*0.25; //Motor's ... |
9a1d213375bef4748baa65800a45db1977bf3988 | 808b9a1afbbe9d952b7f35df6ab9a97abbcb7b1c | /src/Normal Version/setting + timing/illusory contrours/Presentation Files/obsolete scripts/IllusoryContours_start.sce | 1a572fb3d681e3e3ec124e2c1a166898bb4ba429 | [
"MIT"
] | permissive | CognitiveNeuroLab/Illusory-Contours | 5e20a9912eb8fe22b2ccfd162033ed0eb8fdb7a3 | e36cb1dfe3bcbefe80f7a1c539d66a4eec4b3c11 | refs/heads/main | 2023-04-06T16:28:46.829955 | 2022-04-12T19:38:15 | 2022-04-12T19:38:15 | 470,937,063 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,771 | sce | IllusoryContours_start.sce | # Header Info ##########################################
pulse_width = 5;
write_codes = false;
response_matching = simple_matching;
active_buttons = 2;
button_codes = 100,255;
default_text_color = 255, 255, 255;
default_background_color = 128, 128, 128;
no_logfile = true;
# Begin SDL portion of code ###########... |
4b00bf05d48136e98e97d01f092e981ffddbefed | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.28/Ex19_28.sce | be5c49acfd343aee1ae95e811d2914defa2a9099 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 534 | sce | Ex19_28.sce | //Ex19_28 Pg-998
clc
disp("AB + A(B + C) + B(B + C) = AB + AB + AC + BB + BC")
//using distributive law
disp(" = AB + AC + B +BC ")
//using law 6
disp(" = AB + AC + B(1 + C) ")
//taking common B from B + BC
disp(" = AB + AC + B... |
533931e11db5805dc34e771e16a9827a678c054f | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH42/EX42.09/42_09.sce | d1dfdf9f4a8f469fab25daa7abdaba722f6714c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 779 | sce | 42_09.sce | //Problem 42.09: The propagation coefficients of two filter networks are given by (a) r = (1.25 + i0.52) (b) r = 1.794/_-39.4° Determine for each (i) the attenuation coefficient, and (ii) the phase shift coefficient.
//initializing the variables:
r1 = 1.25 + %i*0.52; // propagation coefficients
rr = 1.794; // pro... |
7276db54cca69f6ea054f9b19afe52acf4cd142f | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/util/unix_x.sci | b97fbcab2b9f455bc28c2c04c2058f2a7e3423d5 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | clg55/Scilab-Workbench | 4ebc01d2daea5026ad07fbfc53e16d4b29179502 | 9f8fd29c7f2a98100fa9aed8b58f6768d24a1875 | refs/heads/master | 2023-05-31T04:06:22.931111 | 2022-09-13T14:41:51 | 2022-09-13T14:41:51 | 258,270,193 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 782 | sci | unix_x.sci | function unix_x(cmd)
//unix_x - shell command execution, results redirected in an xless window
//%Syntax
// unix_x(cmd)
//%Parameters
// cmd - a character string
//%Description
// cmd instruction is passed to shell, the standard output is redirected
// to a background xless window
//%Examples
// unix_x("ls")
//%See a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.