blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 214 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 6 87 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 15
values | visit_date timestamp[us]date 2016-08-04 09:00:04 2023-09-05 17:18:33 | revision_date timestamp[us]date 1998-12-11 00:15:10 2023-09-02 05:42:40 | committer_date timestamp[us]date 2005-04-26 09:58:02 2023-09-02 05:42:40 | github_id int64 436k 586M ⌀ | star_events_count int64 0 12.3k | fork_events_count int64 0 6.3k | gha_license_id stringclasses 7
values | gha_event_created_at timestamp[us]date 2012-11-16 11:45:07 2023-09-14 20:45:37 ⌀ | gha_created_at timestamp[us]date 2010-03-22 23:34:58 2023-01-07 03:47:44 ⌀ | gha_language stringclasses 36
values | src_encoding stringclasses 17
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 1
class | length_bytes int64 5 10.4M | extension stringclasses 15
values | filename stringlengths 2 96 | content stringlengths 5 10.4M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8f14ac20a9b20b9790ebcdb98d6fcd17991e5117 | 5bc3a272ac3972765259062ed2c4abd8ac31eb84 | /EE 324 controls lab/lab8/q3.sce | a5375bd243a30cab8ba9b192c6ad420e29ab4689 | [] | no_license | ishan-2404/Duaon-mei-yaad-rakhna-XD | 51a268cb15695d78a1bd086d958f402fe6ee093d | bf702ac84c18f7d677a35f9f850e3bfb63a32625 | refs/heads/main | 2023-07-13T17:10:57.650902 | 2021-08-14T07:06:22 | 2021-08-14T07:06:22 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 424 | sce | q3.sce |
s = poly(0,'s');
// part a
G = 1/((s+1)*(s^2+1)*(s^2+4));
scf(0);
evans(G, kpure(G));
//part b
// shifting origin by 2
G1 = 1/((s+3)*((s+2)^2+1)*((s+2)^2+4));
G1= syslin('c',G1);
scf(1);
bode(G1, 0.01, 100);
// part c
G2= ((s+8)^4)/((s+3)*((s+2)^2+1)*((s+2)^2+4));
scf(2);
bode(syslin('c',G2), ... |
2571a0ba18c56e2267f13b01059d2afd051079c0 | 61d609d0f3bd91da214fa1be3923b7d9c3fc0c78 | /images/lineedit.sci | 856796023af10854853859e4eed0509c91b03dac | [] | no_license | daentech/AndNeuro | 9e7d311229a81a7bade27e0b33a1ce638080ebeb | 36a4f8406f405a9dae59adff88b06f3dca274f9a | refs/heads/master | 2020-06-04T22:11:34.087845 | 2013-04-26T17:47:40 | 2013-04-26T17:47:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 99 | sci | lineedit.sci | border.left: 10
border.top: 10
border.bottom: 10
border.right: 10
source: qrc:/images/lineedit.png
|
e5ff33097e8ffc1de485eba0645e8659e6713dac | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH15/EX15.19/example15_19.sce | afab4774e498193cfe8dbb961f570d067b7b6aa5 | [] | 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 | 691 | sce | example15_19.sce | clc
// Given that
l = 1e-10 // width of box in m
e = 1.6e-19 // charge on an electron in C
m = 9.1e-31 // mass of electron in kg
c = 3e8 // speed of light in m/sec
h = 6.63e-34 // Planck constant in J-sec
// Sample Problem 19 on page no. 15.31
printf("\n # PROBLEM 19 # \n")
printf("Standard formula used \n")
printf(" ... |
4c4609e4a855421913bd54a8d94488cbea9f0b2f | 449d555969bfd7befe906877abab098c6e63a0e8 | /46/CH16/EX16.1/Example16_1.sce | fc4d8ddd735f7c2b95661e70c88dafa9eeba0bfc | [] | 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 | 196 | sce | Example16_1.sce | //Example 16.1
clc
s=%s;
j=%i;
f=10/%pi;
w=2*%pi*f;
G=1/(0.1*s+1);
s=w*j;
Gs=horner(G,s);
disp(Gs,'G(20j)=')
[r,theta]=polar(Gs)
theta=theta*180/%pi;
disp('degrees',theta,'theta=')
|
9557e19bc0ac52fe5b3fbd5f5cf468927b9f7fbf | 449d555969bfd7befe906877abab098c6e63a0e8 | /659/CH8/EX8.7/exm8_7.sce | 68bb6f90ff48071cc491d2ede40fe792bdbf8ddf | [] | 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 | 566 | sce | exm8_7.sce | // Example 8.7
//The name of employees of an organization are stored in three arrays namely-
//first_name,second_name and last_name.
//Write a program to concatinate the three parts into one string called name.
//Store the name in the three arrays
first_name=['VISWANATH'];
second_name=['PRA... |
adc9d041bb6fbc276cc6902740afbffb29e9f857 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1376/CH9/EX9.1/9_1.sci | 72353e4dd689b85d8886fcda1e29a66d65e01ec0 | [] | 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 | 317 | sci | 9_1.sci | //9.1
clc;
n=300/1;
Z2=complex(1.5,1);
a=polar(Z2);
I2=5;
E2=I2*a;
E1=E2/n;
alpha=atand(1/1.5)
Io=complex(100,40)
delta=atand(40/100);
b=polar(Io)
sigma=-(b*sind(alpha+delta))*100/(n*I2);
printf("Ratio error=%.2f percent",sigma)
bet=(b*cosd(alpha+delta))/(n*I2);
printf("\nPhase angle=%.2f degree",bet) |
3109530062897b66ef78e48cc2861f4fd5b173f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2666/CH16/EX16.4/16_4.sce | 1efc64bcba32bd26f071552176ce0e7727914867 | [] | 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 | 212 | sce | 16_4.sce | clc
//initialisation of variables
p=14.2//ft
p1=15//psia
p2=629.2//psia
T1=4030//R
T2=1698//R
//CALCULATIONS
P=p2*(T1/T2)//psia
//RESULTS
printf('The maximum pressures of the air standrad=% f psia',P)
|
9c5ba2422212f3d5976d819d86c932f4e35b69cd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1322/CH7/EX7.6/58ex4.sce | bb606bb15b9407c05e6c057f588d101c900c0c57 | [] | 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 | 129 | sce | 58ex4.sce |
//a-b=x*(c-n*d)
clear;
clc;
close;
disp('n in terms of other quantities is')
//n*d=c-(a-b)/x
n=string('{c-(a-b)/x}/d')
|
3e0c05800122044a350dc50220803ccd046fbf28 | 449d555969bfd7befe906877abab098c6e63a0e8 | /854/CH7/EX7.1/Example7_1.sce | ce89f5a7588c69e044d1dbf699a24582969bc20a | [] | 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 | 825 | sce | Example7_1.sce | //clear//
//Caption: Derivation of capacitance of a parallel plate capacitor
//Example7.1
//page 177
clc;
x = sym('x');
d = sym('d');
Vo = sym('Vo');
e = sym('e');
ax = sym('ax');
A = sym('A');
B = sym('B');
S = sym('S');
V = integ(A,x)+B;
V = limit(V,A,Vo/d);
V = limit(V,B,0);
disp(V,'Potential in Volt... |
000d3f1f4f8500a0980eaf0568dd3fbf41d8a193 | 449d555969bfd7befe906877abab098c6e63a0e8 | /629/CH14/EX14.4/example14_4.sce | aa5223e69cbd55552117ee650fb867bdb2f5e8fa | [] | 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 | 410 | sce | example14_4.sce | clear
clc
//Example 14.4 SPEED AND DISCHARGE OF CENTRIFUGAL PUMP
N1=2133.5; //speed[rpm]
H1=90; //[m]
H2=76; //[m]
//(g.H/n.D^2)_N1=(g.H/n.D^2)_N2
N2=N1*(H2/H1)^(1/2) //[rpm]
printf("\nThe speed at which the pump should be operated = %.f rpm.\n",N2)
//(Q/n.D^3)_N1=(Q/n.D^3)_N2
Q1=0.255; //discharge[m^3/s]
Q2... |
9aa83cb862fb8721c6533cd94c1714a378786ccf | 449d555969bfd7befe906877abab098c6e63a0e8 | /716/CH4/EX4.13/Solved_Ex_4_13.sce | 3680d18df9dcd616594a977b323fd0ede2b08701 | [] | 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 | 443 | sce | Solved_Ex_4_13.sce | //Determine the Fourier Transform of x(t)=1-t^2 for |t|<1 x(t)=0 for |t|>1
clc;
clear;
T=8;
t=-T:0.01:T
w0=2*%pi/T;
Dt=0.005;
function x=f(t),x=(1-t^2).*(t>-1&t<1) ,endfunction
x=f(t),x=(1-t^2).*(t>-1&t<1)
plot(t,f);
xlabel("time");
ylabel("x(t)");
K=4;
k =0:(K/1000):K;
W = k*w0/K;
X=x*exp(-sqrt(-1... |
439f1ce23c64cac62d3f72b0c04dd5d6c598dfe8 | bb44d6eb6adf8f21077f2a49f2eb44d2424b2a5b | /exp_avg.sce | de38d46e044e4647386fb022dbdc36b65b694147 | [] | no_license | prasadovhal/Scilab-Codes | c8ccc49feba4243d092d8a1eba7a708eb95dc89e | 3af5566d62b1f1b6cf080ec20391c39b9d61897d | refs/heads/master | 2020-03-29T16:50:45.738023 | 2018-09-24T16:05:50 | 2018-09-24T16:05:50 | 150,130,310 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | exp_avg.sce | function [ans] = ff(v, t)
n = argn(2)
if n==2 then
b= t
out = v
else
b = 0.1
out = v
end
v1 =v
while( v1 ~= [])
v = b*v1 + (1-b)*v
disp(v)
v1=input("enter")
end
ans= v
endfunction
|
c44806d68b52fea8c6a38bc57540ad9c8295fe3f | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH7/EX7.14/Example7_14.sce | 2c1918c5e766cf06e850cc79654ded418a06d30b | [] | 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 | 404 | sce | Example7_14.sce | //Example 7.14
//Program to Calculate
//(a)Ic
//(b)Vce
clear;
clc ;
close ;
//Given Circuit Data
Vcc=12; //V
Vee=15; //V
Rc=5*10^3; //Ohms
Re=10*10^3; //Ohms
Rb=10*10^3; //Ohms
Beeta=100;
//Calculation
Ie=Vee/Re;
Ic=Ie;
Vce=Vcc-Ic*Rc;
//Displaying The Results in Command Window
printf("The Parameters... |
caf62d3aeb2094286fcf17a00f16a99359b29792 | 91da29a7783c3162b1b743ad75d48814bd1f556e | /2_año/MN/p2.sce | f1d02050b3358875a9c7e697938c5498d4c3594d | [] | no_license | jfarizano/LCC | a149631059129b07a7c603bf16df0c1b25479edb | 70cb03b0ff0a788b1bbbf1a6bcd51beff48460fe | refs/heads/master | 2022-11-15T14:46:36.171561 | 2022-11-10T21:15:13 | 2022-11-10T21:15:13 | 246,933,544 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,684 | sce | p2.sce | function r = raicesRobustas(p)
c = coeff(p, 0);
b = coeff(p, 1);
a = coeff(p, 2);
disc = b^2 - 4*a*c
if disc < 0 then
return [%nan, %nan]
end
if b < 0 then
r(1) = 2*c / (-b + sqrt(disc))
r(2) = (-b + sqrt(disc))/(2*a)
else
if b > 0 then
... |
d18d3bb12e1dc273a9ae19060371a3a96e577e4c | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4.1/Unix-Windows/scilab-2.4.1/macros/percent/%hm_fft.sci | 2f74e85dfd5b9932f8a6350a65fff6d18a02f5e6 | [
"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 | 169 | sci | %hm_fft.sci | function x=%hm_fft(x,flag)
dims=x('dims')(:);
v=x('entries')(:);
n=size(dims,'*')
incr=1
for k=1:n
v=fft(v ,flag,dims(k),incr)
incr=incr*dims(k)
end
x('entries')=v
|
484cb9d0b3410a27ac94c431d9759f41a87dc2c5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3811/CH2/EX2.2/Ex2_2.sce | cadb33a00f6b9b3701c5870ff4cfe91e04b7ad74 | [] | 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 | 396 | sce | Ex2_2.sce | //Book name: Fundamentals of electrical drives by Mohamad A. El- Sharkawi
//chapter2
//example 2.2
clc;
clear;
sv=(2^(1/2))*120*sind(30);//rms value of voltage source
K=0.2; // constant whose value dependent ondevice characteristics
bv=200; //base voltage in volts
ig=((log(sv/bv))/(-K)); //gate current in mA
disp(ig,'... |
8802b721796d57ebf234d36773c0288528ebcc97 | 449d555969bfd7befe906877abab098c6e63a0e8 | /503/CH8/EX8.23/ch8_23.sci | cab90f0c87f6b7a2d3a24b3fcf5557b23a5428aa | [] | 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 | 876 | sci | ch8_23.sci | //to calculate pu adjusted sync reactance, feild reactance, reactive power op, rotor power angle
clc;
j=sqrt(-1);
r=10*10^6;
V_SC=13.8*10^3;
Ia=r/(sqrt(3)*V_SC);
If=226;
Iff=842;
I_SC=Ia*Iff/If;
Xsadj=(V_SC/sqrt(3))/I_SC;
va_b=10*10^6;
v_b=13800;
Xspu=Xsadj*va_b/v_b^2;disp(Xspu,'Xs(pu)');
Ra=.75;
Zs... |
9869ce64773ce0dba2cbd6f3670ec1eca3a75ae8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH6/EX6.19/Ex6_19.sce | 3daa2ab8631a310675c47611a3a8ff5d0587dfc6 | [] | 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 | 185 | sce | Ex6_19.sce |
// Ex6_19
clc;
// Given:
A=240;
Z=94;
//Solution:
Ecr=(0.89*(A^(2/3)))-(0.02*(Z*(Z-1)))/(A^(1/3));
printf("The critical deformation energy for the fission is = %f MeV",Ecr)
|
e975b74cab19fd84bb3d1b0bb227ab3548f7521c | 30ad7dd5146dfff03b7639186330ec527bfc0524 | /Control Systems Programs/control.sci | d265f34891153b39f7d8a7b4e2e0450ec56e8121 | [] | no_license | boberae/Other-Small-Projects | fcc79d8fd69c6d39de68a8b83360b32b28216d73 | 63d668d2f2c022f653cf44f55992dd05420437e3 | refs/heads/master | 2020-06-11T10:07:44.474211 | 2016-12-06T06:42:33 | 2016-12-06T06:42:33 | 75,697,420 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,883 | sci | control.sci | // System component values
K = 0.036; // motor speed constant
R = 109; // motor resistance
J = .0000157837; // rotor inertia
// System state
theta0 = 2.45;// the initial position for the motor
omega0 = 0;
X=[theta0, omega0];
moving = 0;// the system is not in motion
// The controller definition
Cd = 252;// the setpoi... |
e99ae9e9f1f72c41ee24d04b39c3fef6474935c4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH3/EX3.6/Ch03Ex6.sce | 7e00280bfea94eef62a28e68a50965d0841e2744 | [] | 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 | 582 | sce | Ch03Ex6.sce | // Scilab Code Ex3.6: Page:135 (2011)
clc;clear;
g1 = 4; // Intrinsic probability of first cell
g2 = 2; // Intrinsic probability of second cell
k = 2; // Number of cells
n = 8; // Number of distinguishable particles
n1 = 8; // Number of cells in first compartment
n2 = n - n1; // Number... |
c1512314193a4a03eb36609f5fbf66faaa297aea | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH7/EX7.6/ex7_6.sce | 0ea13c554964305e7afed188af1621c0dca1a2be | [] | 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 | 242 | sce | ex7_6.sce | clc;
m=0.934; //v=(v/c)^2 (given)
v=2.9*10^8; //velocity in m/sec
t0=2.2*10^-6; //initial velocity in m/sec
t=t0/sqrt(1-m); //calculating t using t=t0/sqrt(1-(v/c)^2)
disp(t,"Time in sec = "); //displaying result |
b1ffd3c0e118e316bde536d03940038fe8dabe96 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2534/CH10/EX10.7/Ex10_7.sce | 7e0e2834ce143ed1f20eb1044948939f137d5a7e | [] | 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 | Ex10_7.sce | //Ex10_7
clc
Po = 100//output power
RL = 10//load resistance
disp("Po = "+string(Po)+"W")
disp("RL = "+string(RL)+"ohm")
vo = (RL*Po)^0.5//output voltage
vi = 2//input voltage
disp("vo = (Rl*Po)^0.5 = "+string(vo)+"V")
disp("vi = "+string(vi)+"V")
Av = vo/vi//voltage gain
disp("Av = vo/vi = "+string(Av))
D ... |
747a630f04ebb14f0a0b8b3228f94b85c30e7ad1 | b29e9715ab76b6f89609c32edd36f81a0dcf6a39 | /ketpicscifiles6/Mixtype.sci | b336c763b9a9cbee15c914605b2ec1dd54cc57ae | [] | no_license | ketpic/ketcindy-scilab-support | e1646488aa840f86c198818ea518c24a66b71f81 | 3df21192d25809ce980cd036a5ef9f97b53aa918 | refs/heads/master | 2021-05-11T11:40:49.725978 | 2018-01-16T14:02:21 | 2018-01-16T14:02:21 | 117,643,554 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sci | Mixtype.sci | // 08.05.19
// Structure changed
// 09.10.11
function T=Mixtype(D)
if type(D)~=15
T=1;
return;
end;
for I=1:length(D)
if type(D(I))==15
T=3;
return;
end;
end;
T=2;
endfunction
|
97b2f25b59f1e70b8a4a6f08488009c53cd9266a | 449d555969bfd7befe906877abab098c6e63a0e8 | /401/CH9/EX9.6/Example9_6.sce | d9feae248eadb42efc580ae080aaa7f6e1ac440d | [] | 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,149 | sce | Example9_6.sce | //Example 9.6
//Program to determine the maximum SNR improvement between
//M=1 and M=Mop
clear;
clc ;
close ;
//Given data
Cd=5*10^(-12); //Farad - APD CAPACITANCE
B=50*10^6; //Hz - POST DETECTION BANDWIDTH
T=291; //Kelvin - TEMPERATURE
k=... |
661a964bca2ace8bdef8ead8d7f19956b30dcb49 | 90aaf940f5dc248635305dc354a37196dd88677b | /utils/functions.sci | 87e1c928b92f1ba71b395df33c4a54e385e12c19 | [] | no_license | rafagarcia2/pds_lessons | 651cd700707813ee3ba653f3d714a5c17d84f52e | 4cd7d7f7e3a6bf6f7919ad483a82c8903c24f546 | refs/heads/master | 2020-06-05T05:45:39.750812 | 2019-07-10T14:44:30 | 2019-07-10T14:44:30 | 192,334,255 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sci | functions.sci | function n=plot_graph(signal)
taxa_amostragem=5000;
t = 0:1/taxa_amostragem:3; //vetor tempo
N=size(t,'*'); //numero de amostras
f=taxa_amostragem*(0:(N/2))/N; //vetor de frequencias
n=size(f,'*')
clf()
plot(f,abs(signal(1:n)))
endfunction
function Hk = filtro_passa_faixa(f_max,f_c_min... |
4c82d1ded4b8931ce22455b1d458533979d2ed90 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/1.1/Unix/scilab-1.1/macros/auto/invrs.sci | 13f13f723a9a9898a900babe0a8404324cfabde1 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference"
] | 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 | 491 | sci | invrs.sci | function [Sli]=invrs(Sl,alfa);
// Sli=invrs(Sl,alfa) computes Sli, the PSSD
// inverse of PSSD Sl.
//!
D=sl(5);
if type(D)=2 then s=poly(0,varn(D));
Sl(5)=horner(Sl(5),s+alfa);end
Sl(2)=Sl(2)-alfa*eye(sl(2));
[Sreg,Wss]=rowregul(Sl,0,0);
if rcond(Sreg(5)) >1.d-6 then
Sli=Wss*invsysli(Sreg);
else
erro... |
5c03d542c46fba26403708cc4f3209c524790096 | 449d555969bfd7befe906877abab098c6e63a0e8 | /213/CH7/EX7.7/7_7.sce | 6acc329b0216917f38afa6d701551c7cdc315c80 | [] | 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 | 682 | sce | 7_7.sce | //To find linear and angular velocity
clc
//Given:
NBO1=40 //rpm
O1O2=800/1000,O1B=300/1000,O2D=1300/1000,DR=400/1000 //m
//Solution:
//Refer Fig. 7.18
//Calculating the angular speed of the crank BO
omegaBO1=2*%pi*NBO1/60 //rad/s
//Calculating the velocity of B with respect to O1
vBO1=omegaBO1*O1B //m/s
vB=... |
e3ce969fa31bee5d05940b5e7f234c0f121ddd00 | cd761c8034682c824cddce150b0673853bf49769 | /AngularInterviewQuestions.Models/TypewriterTemplate.tst | 14f31ca42ac3d9efe622895e4a927e2e2868d702 | [] | no_license | emorrison1962/AngularInterviewQuestions | 8c93397288fb78cde10e522eeeb88199bdce4a24 | 9d8b32180dc8611cafc9b401f8a249133b8a414b | refs/heads/master | 2023-01-19T23:59:34.937980 | 2019-08-09T01:28:30 | 2019-08-09T01:28:30 | 147,980,651 | 0 | 0 | null | 2023-01-07T06:19:18 | 2018-09-09T00:37:55 | TypeScript | UTF-8 | Scilab | false | false | 1,729 | tst | TypewriterTemplate.tst | ${
// Enable extension methods by adding using Typewriter.Extensions.*
using Typewriter.Extensions.Types;
// Uncomment the constructor to change template settings.
Template(Settings settings)
{
// settings.IncludeProject("Project.Name");
// settings.OutputExtension = ".tsx";
}
string Imports(Class c)... |
7900fdaad214b3fe516aff7b6f63137a73d00692 | f6134e0a162a059c42ec3ef8de2a63941d73936c | /Scilab_code/Planner/LSH_build.sci | 780753c8fe7583531e033bb8190c3faabd60fb98 | [] | no_license | mxch18/SRL-WRT_pathPlanning | 38a1701934a4a0e919a6c1c7990092b242df72da | 6992febbbe103814d2cef5351a0e8917b183a2b0 | refs/heads/master | 2020-03-23T06:43:54.155192 | 2018-09-26T17:26:56 | 2018-09-26T17:26:56 | 141,226,032 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,482 | sci | LSH_build.sci | function hash_LSH_out = LSH_build(new_element,node_nb,hash_LSH)
//Author : Maxens ACHIEPI
//Space Robotics Laboratory - Tohoku University
//Description:
//
//INPUT
//hash_LSH: struct
// *hash_LSH.dimension: the dimension of the vectors we're hashing
// ... |
66f08c5cc54f911bbedfb77b89204e1e6e01a4ee | 717ddeb7e700373742c617a95e25a2376565112c | /761/CH17/EX17.13.b/17_13_b.sce | 33e4d021ed2a04a3f0db9d9e9108e2ae77883d06 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 297 | sce | 17_13_b.sce | clc;
//page no 660
//prob no. 17.13.b
tp=10^-6;//pulse duration of pulse radar
f=10^3;//operating freq in Hz
//The maximum unambiguous range is
Rmax=c/(2*f);
disp('m',Rmax,'The maximum range is ');
//The minimum unambiguous range is
Rmin=c*tp/2;
disp('m',Rmin,'The minimum range is '); |
1ea977a818db016dbaccc2bf147f19fcdc393714 | 499aefe6d7f6c92d69f539fe6fe98b8b27ae3021 | /Unit 1.sce | 9e4b3dfa3e0e603e784a0c049a67db7dd9576347 | [] | no_license | raksha-n/Linear-Algebra-Assignment | 1e40fb9b20a8e3d2e38dbffeb46696642e3967e4 | 1f5af1ee9fda8ae3ac441c0aaeb52c988ea4a4db | refs/heads/master | 2020-12-31T08:54:30.065183 | 2020-04-04T16:00:14 | 2020-04-04T16:00:14 | 238,961,422 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,053 | sce | Unit 1.sce | //Gaussian Elimination for a generalized case
A=input("Enter the coefficient matrix of nxn: ")
b=input("Enter the constants matrix nx1: ")
function [x]=gaussian_elimination(A,b)
[a1,a2]=size(A);//n,n1
[b1,b2]=size(b);//m1,p
if a1~=a2
error('Matrix A must be square');
abort;
... |
63a07e02d3699bed3a70c61b2283640cff22481f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH5/EX5.15/Ex5_15.sce | 6fbeb3ec6add3f7b17de91bdee334e1a69c6603e | [] | 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 | Ex5_15.sce | //chapter 5
//example 5.15
//Compare uncertainty in the velocity of electron and proton
//page 108
clear;
clc;
//given
m_e=9.1E-31; // in Kg (mass of electron)
m_p=1.67E-27; // in Kg (mass of proton)
dx_p=1; // in nanometer (uncertainty in position of electron)
dx_n=1; // in nanometer (uncertainty in position... |
b0128d4a4464867338ed579fe560892599ee4df3 | ac1f8441b0319b4a391cd5a959bd3bb7988edfa7 | /data/news2015/news2015/SplitsNEWS15/EnKa/enka.0.tst | 68d3cbeb1f4bf1932de1a3874b8c3b51206ccf43 | [
"MIT"
] | permissive | SaeedNajafi/transliterator | 4d58b8604fa31f52ee2dce7845e002a18214fd5e | 523a087b777a5d6eec041165dabb43848f6222e6 | refs/heads/master | 2021-09-18T17:02:59.083727 | 2018-07-17T06:01:21 | 2018-07-17T06:01:21 | 129,796,130 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 58,460 | tst | enka.0.tst | a a b s h a r ಆ ಬ ಶ ರ ್
a a d i k a v i ಆ ದ ಿ ಕ ವ ಿ
a a d m i a u r i n s a a n ಆ ದ ್ ಮ ಿ ಔ ರ ್ ಇ ನ ್ ಸ ಾ ನ ್
a a j k a d a u r ಆ ಜ ್ ಕ ಾ ದ ೌ ರ ್
a a k a r s h a n ಆ ಕ ರ ್ ಷ ಣ ್
a a k i f a h ಆ ಕ ಿ ಫ ಾ
a a k r a n t ಆ ಕ ್ ರ ಾ ಂ ತ ್
a a l h a u d a l ಆ ಲ ್ ಹ ಾ ಉ ದ ಲ ್
a a n c h a l k e p h o o l ... |
aa558e410a40ba2f0ee2f67edec2dffe22a23f04 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH2/EX2.11/example2_11.sce | f31bf2e0380de56d2973aa9a5c798c55ed665e87 | [] | 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 | 498 | sce | example2_11.sce | //example 2.11
//page 77
clc; funcprot(0);
//initialisation of variable
pi=3.14;
P=50*144;//pressure
Gamma=62.4;//unit weight
A=4*1;//area
Ig=4^3/12;
ybar=115.4+2.5+2;
//part1
Fh=Gamma*A*ybar;
disp(Fh,"Horizontal component of Hydrastatic Force(lbs)=");
//part2
hbar=ybar+Ig/A/ybar;
Fv1=Gamma*A*117.9;
Fv2... |
7dcf6c5029ebbee28b20fc3a3ba0baf98ae642ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /1574/CH3/EX3.13/M_Ex_3_13.sce | 8b68e9a9a28406866531cb69dcdf1b9e5295b529 | [] | 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 | 341 | sce | M_Ex_3_13.sce | clc
//Chapter3: Modulation
//Example3.13 page no 148
//Given
Pt=5e3//carrier power for 95% modulation
Ma=0.95
Pc=Pt/(1+((Ma^2)/2))//carrier power
Ma=0.2//average modulation by speech signal
Psb=(Ma^2)*Pc/2//the power n the sideband
Pout=Psb/2// because one of the side band is suppressed
mprintf('The power out... |
45259d0bf0aa086ce8039ed4ee20c2b9fe8e3c43 | 45e046b9cab35a22858077ef405f8c8b8125a87f | /Assignment-1/Questn-4/quick.sci | 72d6ae662d5d6c0ea4b86799a22b6e2be866762f | [] | no_license | shilpasunil/AP-laboratory | 4a67e510a05e5ce48f200ee73183627a12a19d55 | 87d55510d6f3c4a80ce1779e9b39430ee20e69b2 | refs/heads/main | 2023-02-09T16:13:34.048845 | 2021-01-07T04:43:35 | 2021-01-07T04:43:35 | 327,504,813 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 355 | sci | quick.sci | function[cmp,a]=quick(a,low,high,cmp)
//len = length(a);
if(high-low+1 > 12) then
if low < high then
[pi,cmp,a]= hybrid_partition(a,low,high,cmp);
[cmp,a]= quick(a,low,pi-1,cmp);
[cmp,a]= quick(a,pi+1,high,cmp);
end
else
[a,cmp]=sorttest_insertion(a,low,... |
226c3aa2ab32a5ca6582f7ad5e9abeab445acc6e | 734830c483d7180158343b9b5599994878b8b197 | /make-tests/autograder_make01.tst | 74c01527bef8517f173424e9aade148ab6a94807 | [] | no_license | aykamko/proj61b | b53a3b569f82522144e010505859aa3ab66585bb | 5f6688b70f907107512267712a325f907e5e627b | refs/heads/master | 2021-01-16T22:08:56.235971 | 2013-12-12T09:19:39 | 2013-12-12T09:19:39 | 13,669,280 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 89 | tst | autograder_make01.tst | java -ea make.Main -f make-tests/autograder_make01.mk -D make-tests/autograder_file01 T1
|
d210b55b729dbb961e71ec3c9650a16054ac08e0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1034/CH2/EX2.2/example2.sce | a894a743b2fbab9458fdcdb88a72018e73ead7f4 | [] | 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 | 384 | sce | example2.sce | clear;
clc;
printf("\n Example 2.2\n");
// String insertion.
s="auto";...............//1st string or character array.
x="mobile";...............//2nd string or character array.
z=s+x;..........//concatenation of 2 strings.
printf("\tstring s=");
disp(s);
printf("\tstring x=");
disp(x);
printf("\tconcatenated... |
a519dd7a8484a7f30f2cf3a7651ac7bf5f27297c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2753/CH5/EX5.5/Ex5_5.sce | 0819fa57636ebbce191d5e223fd0ef1b39dd0942 | [] | 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 | 221 | sce | Ex5_5.sce | //Example 5.5:
clc;
clear;
close;
//given data :
n=10;//turn ratio
Rl=10;//ohm
Rld=n^2*Rl;//in ohm
Ic=100;//in mA
Irms=Ic/(sqrt(2));//in mA
P=Irms^2*Rld;//in W
format('v',3)
disp(P*10^-6,"maximum power output is ,(W)=")
|
64caa02f27e6aaec38650e8be9a3210ebcee473b | 449d555969bfd7befe906877abab098c6e63a0e8 | /884/CH13/EX13.7/Example13_7.sce | ee0b173028606dfbf52efc221dbf8a462540d893 | [] | 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 | 568 | sce | Example13_7.sce | //calculation for second order reactions
clear;
clc;
printf("\t Example 13.7\n");
k=7*10^9;//rate constant, M s
//(a)
t=2*60;//half life of the reaction, s
Ao=0.086;
A=(k*t+1/Ao)^-1;
printf("\t (a) the concentration of I is : %4.1f*10^-12 M\n",A*10^12);
//(b)
Ao=0.6;
t_half=1/(Ao*k);//half life ... |
f70a4899c513066af9d9d1994305c9ad12134e5a | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /FFT_of_non_periodic_function.sce | ec056439179e0a078aa5163b0fe63be042a22d91 | [
"MIT"
] | permissive | harvishj/Scilab | bd3fbd3e679eb07aa088ff2bab40d491c6499770 | 9daada512f42ea6f52199a34d6b18e64b107af94 | refs/heads/master | 2021-07-14T15:06:03.621923 | 2020-10-05T06:35:43 | 2020-10-05T06:35:43 | 213,328,984 | 1 | 3 | MIT | 2020-10-05T06:35:44 | 2019-10-07T08:16:52 | Scilab | UTF-8 | Scilab | false | false | 453 | sce | FFT_of_non_periodic_function.sce | clear;
clf;
clc;
dt = 0.01;
N = 1427;
k = 0:N-1;
fd = k/N;
t = 0:dt:10;
t1 = 0:dt:1
y1 = 1*t1;
t2 = 1:dt:3;
y2 = -1*t2 + 2;
t3 = 3:dt:4;
y3 = 1*t3 -4;
y4 = zeros(1,1024);
y = [y1 y2 y3 y4];
t = 0 : dt : (length(y)-1)*dt
subplot(2,1,1);
plot(t,y);
title("Function f(x)", "fontsize", 3);
ans = fft(y)/(N);
ansabs... |
631b82b8437fb9e513780d194642ce62a2126c5b | ac66d3377862c825111275d71485e42fdec9c1bd | /Resources/res/map/map1203.sce | c135c286f1bfd349612f64a071edb94f17ed8966 | [] | no_license | AIRIA/CreazyBomber | 2338d2ad46218180f822682d680ece3a8e0b46c3 | 68668fb95a9865ef1306e5b0d24fd959531eb7ad | refs/heads/master | 2021-01-10T19:58:49.272075 | 2014-07-15T09:55:00 | 2014-07-15T09:55:00 | 19,776,025 | 0 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,868 | sce | map1203.sce | <?xml version="1.0" encoding="UTF-8"?>
<Project Name="map1203" Width="13" Height="9" CellSize="40" BackgroundSize="1" Background="9plus.png">
<Cell Name="墙1" X="1" Y="1" />
<Cell Name="枯树" X="4" Y="1" />
<Cell Name="枯树" X="7" Y="1" />
<Cell Name="蝙蝠(怪)" X="8" Y="1" arg0="8" />
<Cell Name="枯树" X="3" Y="2" />
<Cell... |
1672c0d3d8abb0d7ac3920a58f156097972af5dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /167/CH5/EX5.12/ex12.sce | 01022a0b402038798e1332a0b932795df101b679 | [] | 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 | 920 | sce | ex12.sce | //example 12
//charging of rigid tank by system
clear
clc
disp('This process can be analyzed as a uniform-flow process since the properties of the steam entering the control volume remain constant during the entire process.')
disp('We take the tank as the system. This is a control volume since mass crosses the sys... |
6ba563e2316ffb766060e155420b77d12b2b7293 | 449d555969bfd7befe906877abab098c6e63a0e8 | /851/CH5/EX5.5/Example5_5.sce | 4be8e91a74e859a6c5bbec5df288776e9b774b05 | [] | 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,614 | sce | Example5_5.sce | //clear//
//Example 5:Delta Modulation - to avoid slope overload distortion
//maximum output signal-to-noise ratio for sinusoidal modulation
//page 207
clear;
clc;
a0 = input('Enter the amplitude of sinusoidal signal:');
f0 = input('Enter the frequency of sinusoidal signal in Hz:');
fs = input('Enter the sampli... |
4d89441c2fdfc6e2f7456bd850ea90aa4264f262 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3850/CH28/EX28.2/Ex28_2.sce | c933de860407d5c675c0b707cbed7bd358fd456e | [] | 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 | 351 | sce | Ex28_2.sce |
//To Calculate the Thermal Resistance of an aluminium rod
//Example 28.2
clear;
clc;
x=0.2;//Length of Aluminium Rod in metres
K=200;//Thermal Conductivity of Aluminium in W/m-K
A=1*10^-4;//Area of Cross Section in metre^2
R=x/(K*A);//Thermal Resistance in K/W
printf("The Thermal Resistance is ... |
5f13dfa4a0924b6ad4a9179233a03445748512f6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2513/CH16/EX16.2/16_2.sce | bd275be757840be69c03984234cba5b4da0448e3 | [] | 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 | 273 | sce | 16_2.sce | clc
//initialisation of variables
p=500//ft
p1=6//in
t=500//cfm
p2=7//psig
P=p2+14.7//psia
T=520*(P/14.7)^0.283//F
f=0.048*p1^0.027/(t)^0.148//in
//CALCULATIONS
delP=20*10^-3*p*T*(t)^2/(38*10^3*P*p1^5)//psia
//RESULTS
printf('the pressure drop=% f psia',delP)
|
a75b1ce4bfd50a3f7cf912ae99570698f30fd776 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH13/EX13.12/ex13_12.sce | c082352af2b75a6eed6538d614ac4d53b5b4889f | [] | 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,006 | sce | ex13_12.sce | // Exa 13.12
clc;
clear;
close;
// Given data
C = 0.22;// in µF
C=C*10^-6;// in F
T_on = 10;// in ms
T_on = T_on * 10^-3;// in s
V_CC = 15;// in V
V_BE = 0.7;// in V
V_EC = 0.2;// in V
V_LED= 1.4;// in V
I_LED= 20*10^-3;// in A
R = T_on/(C*1.1);// in ohm
R = R *10^-3;// in k ohm
disp("Values for first c... |
71d0e6243c712ad31e5a067b4d70f4787751a18b | 717ddeb7e700373742c617a95e25a2376565112c | /226/CH5/EX5.14/example14_sce.sce | e9b8b05ef7ec7082a8959555a3ee9dd68c570a92 | [] | no_license | appucrossroads/Scilab-TBC-Uploads | b7ce9a8665d6253926fa8cc0989cda3c0db8e63d | 1d1c6f68fe7afb15ea12fd38492ec171491f8ce7 | refs/heads/master | 2021-01-22T04:15:15.512674 | 2017-09-19T11:51:56 | 2017-09-19T11:51:56 | 92,444,732 | 0 | 0 | null | 2017-05-25T21:09:20 | 2017-05-25T21:09:19 | null | UTF-8 | Scilab | false | false | 321 | sce | example14_sce.sce | //chapter 5
//example 5.14
//page 212
printf("\n")
printf("given")
Vce=3;Ve=5;Ic=1*10^-3;Vcc=12;
Ie=Ic;
R4=Ve/Ie
disp(" with Ic=1mA and R4=4.7Kohm")
R4=4.7*10^3;
Ve=Ic*R4
Vc=Ve+Vce
Vr3=Vcc-Vc
R3=Vr3/Ic
Vb=Ve+Vbe
I2=Ic/10
R2=Vb/I2
disp(" with R2=56Kohm and Vb=5.4V")
R2=56*10^3;
I2=Vb/R2
R1=(Vcc-Vb)/I... |
c15c3dfb2cc3fb7b2428d64b1a4ea5b63aaa449f | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH7/EX7.38/7_38.sce | 0a256719efa126cb94796016915f030af1418b8d | [] | 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 | 837 | sce | 7_38.sce | clear;
clc;
//Example - 7.38
//Page number - 276
printf("Example - 7.38 and Page number - 276\n\n");
//Given
T = 300 + 273.15;//[K] - Temperature
P = 9000;//[kPa] - Pressure
P_sat = 8592.7;//[kPa] - Vapour pressure of saturated water at 300 C
f_sat = 6738.9;//[kPa] - Fugacity of saturated water at 300 C
V... |
f5ae479cc4c5568c9d2535c4cdcae34d879f83b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH5/EX5.16/Ex5_16.sce | d24a83879b3cb3e206a6258b1d2b6f57a6733476 | [] | 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 | 373 | sce | Ex5_16.sce | clc
//initialization of new variables
clear
u1=8 //m/s
z1=1 //m
g=9.8 //m/s^2
//calculations
Fr1=u1/sqrt(g*z1)
zr=(-1+sqrt(1+8*Fr1^2))/2
z2=z1*zr
u2=u1*z1/z2
Fr2=u2/sqrt(g*z2)
hr=1-zr+u1^2/(2*g*z1)-u2^2/(2*g*z1)
loss=hr*z1/(z1+u1^2/(2*g))
//results
printf('Fr1 = %.3f',Fr1)
printf('\n Fr2 = %.3f',Fr2)
p... |
aadacc909004f925cf10fb9d14a96e0efc349a42 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/Jido/SCENARIOS/JidoKAndAchile.sce | aaf8890372a168be03f312f57ca06e83be424f13 | [] | 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 | 4,119 | sce | JidoKAndAchile.sce | #************************************************************
# Scenario of JidoRef
#
# date : Wed Oct 20 15:18:24 2010
#************************************************************
p3d_sel_desc_name P3D_ENV JidoRef
p3d_sel_desc_name P3D_ROBOT HUMAN_ACHILE
p3d_set_robot_steering_method Linear
p3d_set_robot_curren... |
9c73edf29c105e5083b784a3506adf4c76459c87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /593/CH6/EX6.12/ex6_12.sce | 3c88830a5aee07480339d147909f5f86b62a0105 | [] | 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 | 399 | sce | ex6_12.sce | clear;
//clc();
// Example 6.12
// Page: 122
printf("Example-6.12 Page no.-122\n\n");
//***Data***//
x_b = 0;
x_a = 1;
// We have
//dv_a/dx_a = 3*x_b^(2)+2*x_b+1
// We have the equation
// dv_b/dx_a = -(dv_a/dx_a)/(x_b/x_a)
// So
// dv_b/dx_a = -(x_a/x_b)*(3*x_b^(2)+2*x_b+1)
//dv_b_by_dx_a = -x_a*(... |
976e72aa3ef8a0195661849ef93555c3892a098c | 449d555969bfd7befe906877abab098c6e63a0e8 | /98/CH9/EX9.7/example9_7.sce | 953a4ed2ec041d74bf9653e713c29ad7bfe81d9b | [] | 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 | 978 | sce | example9_7.sce | //Chapter 9
//Example 9_7
//Page 216
clear;clc;
r=1.3;
d_acd=6;
d_bbd=d_acd;
d_ab=3;
d_bc=3;
d_adbd=d_bc;
d_aa=1.01*1e-2;
d_bb=d_aa;
d_adad=d_aa;
d_bdbd=d_aa;
d_bdb=d_aa;
d_ca=6;
d_cad=6;
d_cda=6;
d_cdad=6;
gmr=r*0.7788;
d_abd=sqrt(d_acd^2+d_ab^2);
d_adb=d_abd;
d_aad=sqrt(d_acd^2+(d_ab+d_bc)^2);
ds1=(d_aa*d_aad*d_ad... |
475e3384351d00c5032c490f5d64c62e830edcb2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2183/CH2/EX2.2.b/EX_2_2_b.sce | 9ae2e8bbb7ac1dc79fbb11c0d0942b1c1f5635f0 | [] | 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 | 210 | sce | EX_2_2_b.sce | // Example 2.2.b:Numerical Aperture
clc;
clear;
close;
n1=1.50;//Waveguide Refractive Index
n2=1.47;//Cladding Refractive Index
NA=sqrt(n1^2-n2^2);// Numerical Aperture
disp(NA,"Numerical Aperture is")
|
163954feaa429150f78d9316e83bf8d79f8c3ee8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2141/CH12/EX12.20/Ex12_20.sce | 1a0146333055d59744e2c9be785fb6ab46084080 | [] | 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 | 414 | sce | Ex12_20.sce |
clc
//initialisation of variables
p=715000//lbm
P=1850//lbf/in^2
t=415 //f
p1=1320 //lbf/in^2
T=925 //F
P1=81000 //kw
r=59000 //lbm/hr
v=14310 //Btu/lbm
q=(1448.0-302.8)//lbf/in^2
p2=3412//lbf/in^2
//CALCULATIONS
Nth=(p/r)*(q)/v*100//per cent
nth=(P1*p2)/(r*v)*100 //per cent
//RESULTS
printf('The effi... |
073e363de202d53b5f3dea265d2ad7f1072258f7 | 377a111fb7585caf110377625ad0e261a44e93ed | /herbie/writting/publish/codes/lockwood/aim_optimization/Lockwood/PATO_XY/tst/input.tst | 6419add57304b43a1ae83bd2fc48700f37effc22 | [] | no_license | gasduster99/theses | ba385499ea0a502b9067c243f7100d82ff1ef4ce | 9c5f8b5d7564292e2e36547ed8d5563a8639f158 | refs/heads/master | 2023-08-25T18:14:09.741032 | 2023-08-22T05:33:06 | 2023-08-22T05:33:06 | 217,375,576 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 120 | tst | input.tst | 18
353
1003
13526
2472
777
600
2670
3340
4430
5130
4770
4500
1520
1000
5020
3715
4170
4585
|
35588ac32364c7af3ad7ebdb73e3eca3e8244b27 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH1/EX1.19/Ch01Ex19.sce | 40cc0f81a099e2e8722219d2a25f66085611a547 | [] | 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 | Ch01Ex19.sce | // Scilab code Ex1.19: Pg 24 (2008)
clc; clear;
R_0 = 350; // Resistance, ohms
Theta_1 = 60; // Temperature, degree celcius
Alpha = 4.26e-03; // Temperature coefficient, per degree celcius
// Using relation R_1 = R_0 * ( 1 + Alpha*Theta_1 )
R_1 = R_0 * ( 1 + Alpha*Theta_1 ); // Resist... |
f9c01027e72d3d33d56a38d7cb0fac2971410ca8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /620/CH27/EX27.14/example27_14.sce | 80f51330d514cab5331145de48c59825a63dc1ca | [] | 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 | 436 | sce | example27_14.sce | l=10*10^(-6);
r=5;
c=0.01*10^(-6);
disp("Part a");
fr=sqrt(1-c*r^2/l)/(2*%pi*sqrt(l*c));
disp("the resonant frequency (in kHz) is"); disp(fr*10^(-3));
disp("Part b");
x_l=2*%pi*fr*l;
q=x_l/r;
disp("the Q value of the circuit is"); disp(q);
disp("Part c");
f=fr/q;
disp("the bandwidth (in kHz) of the circuit ... |
0d3b7a23da08e016809b5a2cc582636614acaba4 | 1db0a7f58e484c067efa384b541cecee64d190ab | /macros/islinphase.sci | 4eeec8851e22d11f81c2f4e87e965e3ee434be5e | [] | 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 | 4,338 | sci | islinphase.sci | //islinphase Determine whether filter has linear phase
<<<<<<< HEAD
// Calling Syntax and Parameter description
//flag = islinphase(b,a)
//takes input as numerator and denumerator coefficint matrices and returns flag =1 if filter is linear phase else return flag = 0
//flag = islinphase(sos)
//takes input as K x 6 se... |
4a8658aed7e507c548ebd6432f48d211bce4572a | f0919c8ea73f22939a890aa4f8327f8200344d2b | /test/ddl.tst | 630ade1eceda33992f7fe22868a18e5459d6f15f | [] | no_license | kalex375/OVC | af5e91f90754454b90f339e846c5b9112d38d6c8 | f4b47dfc497299c4944b4ff9b93253c279012454 | refs/heads/master | 2021-05-31T07:55:44.326597 | 2013-12-02T14:15:52 | 2013-12-02T14:15:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,582 | tst | ddl.tst | PL/SQL Developer Test script 3.0
36
-- Created on 21.09.09 by Kravchenko A.V.
declare
-- Local variables here
i integer;
j integer;
begin
-- Test statements here
i:= dbms_metadata.open(object_type => 'TABLE');
dbms_metadata.set_filter(handle => i,
name => 'COMMENT',
... |
ab3c703cf2d14f7bc24fc9d4a26c3263de56e65b | 449d555969bfd7befe906877abab098c6e63a0e8 | /2735/CH12/EX12.4/Ex12_4.sce | 3adff26c3eed367901c10e40a686e4a1433d161a | [] | 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 | 440 | sce | Ex12_4.sce | clc
clear
//Initialization of variables
r=2.5 //in
mf=160 //cfm
rho=1/14
mu=0.0000121
v=14 //ft^3/lbm
g=32.2 //ft/s^2
z=100 //ft
//calculations
A=3.14*(r/12)^2
V=mf/A /60
Re=(2*r/12)*V*rho/mu
disp("From fig 12.4,")
f=0.0225/4
dp=4*f*(rho)*(V/v)^2 /(2*g*(2*r/12)) *z
//dp=2.32
//results
printf("Pressur... |
4ac7972f3f836dfacf5390771c2fbebbdc338573 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/9_06.sci | 40b30d6a4ac4626a6b800159bebad5020a81df53 | [] | 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 | 224 | sci | 9_06.sci | //Diameter of chimney(in m):
D=1;
//Height of chimney(in m):
L=25;
//Speed of wind(in kmph):
s=50;
//Density of air(in kg/m^3):
d=1.23;
//Viscosity of air(in kg/(m-s)):
u=1.79*10^-5;
//Pressure(in kPa):
p=101;
|
ab214cce57c442cc746b26a287df301bab13cd6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2066/CH7/EX7.5/7_5.sce | d5e3f0520a1b655025c9148f916d309350f1f9a8 | [] | 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 | 461 | sce | 7_5.sce | clc
clear
//Initialization of variables
spg=0.84
z=1 //in
gam=62.4
patm=14.7 //psia
T=459.6+85 //R
R=53.3
g=32.2 //ft/s^2
D=3 //ft
mu=3.88e-7 //lb-sec/ft^2
//calculations
dp=spg*z/12 *gam
rho=patm*144/(R*T*g)
umax=sqrt(2*dp/rho)
V=0.8*umax
Nr=V*D*rho/mu
V2=0.875*umax
mass=rho*%pi/4 *D^2 *V2
emf=V2^2... |
33e14e30e45c7efdd11adf09bf51315217e681ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /773/CH9/EX9.10/9_10.sci | 9a7c7cb56646103ffaa0e138e3b0a78d7c32db8b | [] | 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 | 880 | sci | 9_10.sci | //calculates//
s=%s;
printf("1)without controller")
G=64*syslin('c',1/(s*(s+4)));
disp(G,"G(s)=")
H=1;
CL=G/.H;
disp(CL,"C(s)/R(s)=")
//Extracting the denominator of CL
y=denom(CL)
//Extracting the coefficients of the denominator polynomial
z=coeff(y)
//Wn^2=z(1,1) ,comparing the coefficients
Wn=sqrt(z(1,... |
a7f8eef5e8df8b824b29287f7c34fb023d7cf32f | 449d555969bfd7befe906877abab098c6e63a0e8 | /2084/CH14/EX14.3/14_3.sce | 2951c5a7451f26920236aa6c715847f2cbc73dfc | [] | 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 | 586 | sce | 14_3.sce | //developed in windows XP operating system 32bit
//platform Scilab 5.4.1
clc;clear;
//example 14.3
//calculation of the elastic potential energy stored in the stretched steel wire
//given data
l=2//length(in m) of the steel wire
A=4*10^-6//cross sectional area(in m^2) of the steel wire
dl=2*10^-3//increase in... |
ad26f1ee865c8c3279c378fa466885be8b5b9b08 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.17_12.tst | 38b5d4ae63069ce6512a24faa6d2d7b29e5e5b8d | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 5,605 | tst | bow.17_12.tst | 17 25:1.0 47:0.07692307692307693 49:0.4 70:1.5 103:1.0 155:0.5 1104:1.0
17 12:0.6666666666666666 28:0.05263157894736842 31:1.0 38:0.5 49:0.6 56:0.058823529411764705 71:1.0 114:1.0 122:2.0 155:0.5 177:0.4 186:1.0 196:1.0 392:1.0 516:1.0 927:1.0 1235:1.0 1576:1.0
17 8:1.0 9:1.0 21:0.2 28:0.05263157894736842 31:1.0 49:0.2... |
8674d077cb2db47a4736d8fcdb776fd99bc4d570 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH7/EX7.19/7_19.sce | dc293fb97b5505cb8522b3ffd5bf41c0b43c3623 | [] | 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 | 228 | sce | 7_19.sce | clear; clc; close;
Idss = 6*10^(-3);
Vp = -3;
Vdd = 16;
Rd = 3.9*10^(3);
Rs = 1.6*10^(3);
m = abs(Vp)/(Idss*Rs);
Idq = 0.18*Idss;
Vgsq = -0.575*abs(Vp);
disp(Vgsq,'Vgsq(Volts) = ');
disp(Idq,'Idq(Amperes) = ');
|
a63b66b4b58099de40554f255b25b0d2ca5430f2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /42/CH8/EX8.14/sadiku_8_14.sce | 29e271009e1e200154887a7bfec78d31689a68b5 | [] | 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 | 134 | sce | sadiku_8_14.sce | clear;
clc;
p=10*10^-2 ,a=1*10^-2 ,Ur=1000, Uo=4*%pi*10^-7,n=200,phi=.5*10^-3;
U=Uo*Ur;
I=phi*2*%pi*p/(Uo*Ur*n*%pi*a*a);
disp(I); |
5e9f32c087399d95034bf1607e1c68917b2f8283 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2138/CH11/EX11.8/ex_11_8.sce | 2336e331b6905385e0428d94bbaee570d1728eca | [] | 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 | 514 | sce | ex_11_8.sce | //Example 11.8 // inductance and phase angle between voltage and current
clc;
clear;
close;
V=200;//in volts
I=2.5;// in amperes
Vo=250;// in volts
f=50;// in hertz
R=V/I;// in ohms
Z=Vo/I;// in ohms
Xl=sqrt(Z^2-R^2);//inductive reactance in ohms
L=(Xl/(2*%pi*f));//inductance in henry
pf=R/Z;//power factor
phi=acosd(pf... |
c6ff1055a4752c7e27bf66480c9ed5a93e810eb3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH19/EX19.6/ex19_6.sce | ce492370a0debbbc8a064692834fa4c61f7c2c00 | [] | 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 | 152 | sce | ex19_6.sce | clc;
m0=10.07825+10.08665; //in u
delm=160.6/931; //calculating mass eqvi. of 160.6 MeV
disp((m0-delm),"Atomic Mass in u = "); //displaying result |
1eb6c481489089f2d484e2e0ffdbb48de071a3d0 | 3c47dba28e5d43bda9b77dca3b741855c25d4802 | /microdaq/tests/AIO_COMPLEX_TEST/AIO_testbench.sce | 76ba45d7de418222313430211c5601c4d3d8f5d8 | [
"BSD-3-Clause"
] | permissive | microdaq/Scilab | 78dd3b4a891e39ec20ebc4e9b77572fd12c90947 | ce0baa6e6a1b56347c2fda5583fb1ccdb120afaf | refs/heads/master | 2021-09-29T11:55:21.963637 | 2019-10-18T09:47:29 | 2019-10-18T09:47:29 | 35,049,912 | 6 | 3 | BSD-3-Clause | 2019-10-18T09:47:30 | 2015-05-04T17:48:48 | Scilab | UTF-8 | Scilab | false | false | 4,384 | sce | AIO_testbench.sce | clc;
mdaqClose();
if exists("mdaq_ao_test") == 0 then
exec(mdaqToolboxPath() + "tests\AIO_COMPLEX_TEST\mdaq_aio_test_utils.sci");
end
SCRIPT_MODE = 0;
SIM_MODE = 1;
DSP_MODE = 2;
// AI RANGES
AI10_24 = [-10.24 10.24];
AI5_12 = [-5.12 5.12];
AI2_56 = [-2.56 2.56];
AI1_28 = [-1.28 1.28];
AI0_64 = [-0.64 0.64];
AO10 ... |
a5c7d1edab77679fc8035abd74efc1f0ee87c5d8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /181/CH7/EX7.23/example7_23.sce | 6cc98710ed5194e0b3a30b2e26afea942dfc9a1c | [] | 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 | 370 | sce | example7_23.sce | // Find the value of Rs
// Basic Electronics
// By Debashis De
// First Edition, 2010
// Dorling Kindersley Pvt. Ltd. India
// Example 7-23 in page 329
clear; clc; close;
// Given data
Vgs=1.5; // Gate-source voltage in V
Id=2*10^-3; // Drain saturation current in mA
// Calculation
Rs=Vgs/Id;
printf("... |
e3fdcc0c083d48fcf7896c61a38fffeaa567ba2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH17/EX17.6/Ex17_6.sce | 262a8164de6504845f59c472d8f871612fc4f090 | [] | 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 | 566 | sce | Ex17_6.sce |
n=60//no. of slots on armature
c=6//conductors per slot
Z=n*c//total no. of conductors
A=2//no. of parallel paths in armature winding
N=750//speed of rotation
P=4//no. of poles
Eg=230//emf generated on open circuit
phi=60*Eg*A/(P*N*Z)
mprintf("Useful fux per pole=%f Wb\n",phi)
Eg=115//emf to be generated at ... |
2e0d8ac14e42afd1a2eb7103aa8edbe98dc8725e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3557/CH15/EX15.3/Ex15_3.sce | 5599950f2597a976b523803d0bb81214971a2dd8 | [] | 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 | 360 | sce | Ex15_3.sce | //Example 15.3//
pcu=8.93;// g cm^-3 //Density of Copper
a=63.55;//amu //atomic mass of copper
c=10^6;//cm^3/m^3 //given
d=1;//g.atom //given
h=0.6023*10^24;//atoms/g.atom //Avogardo's Number
p=pcu*c*(d/a)*(h)
mprintf("p = %e atoms/m^3",p)
a1=104*10^27;//m^-3 //density of free electrons in copper at room temp... |
77e72ab52b42a8e518848bd3c8c1a480b93a641e | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.6_10.tst | 6d060477e52a4180c1df5aac52e0c49eec09744e | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 7,180 | tst | bow.6_10.tst | 6 9:0.3333333333333333 17:0.1111111111111111 18:1.0 21:0.07142857142857142 25:0.2 32:1.0 48:1.0 83:0.125 185:1.0 221:0.5 242:1.0 368:0.5 593:1.0
6 6:0.6666666666666666 17:0.2222222222222222 21:0.14285714285714285 23:0.3333333333333333 32:1.0 40:0.25 44:0.02702702702702703 59:1.0 66:1.0 78:0.3333333333333333 82:1.0 107:... |
4626e6ff6c1e7ef96e2a2a87c1fd6436404bd3f2 | e16ed2b1e5415e101f10dbee6680d11e6fdb5e6d | /MPages/dcp_mp_acm_worklist/script/mp_dcp_get_patient_delta.tst | 6299d963213880c62ce6de246c2dc1665ff2e612 | [] | no_license | mikeysjob/ccl | 484145533a1e880c9369022c02c9756c86cfdce2 | 2e7b7cbc7a5bad0f035f744e1bab07a19d250f9a | refs/heads/master | 2023-02-09T23:40:06.341187 | 2021-01-06T17:31:02 | 2021-01-06T17:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,865 | tst | mp_dcp_get_patient_delta.tst | declare json = vc go
/* demographics(Age, Sex, Language, Race), case_manager, encounter types, health plan type */
set json = '{"listrequest":{"patient_list_id":16666837.0,"patient_id":0.0,"pos_cd":2192727847.0,\
"arguments":[{"ARGUMENT_NAME":"AGEGREATER","ARGUMENT_VALUE":"30","PARENT_ENTITY_ID":0.0,"PARENT_ENTITY_NA... |
95fe00f8806e6ef97a0eaad916c183af85fedd95 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/signal/dft.sci | 8e4fc14ec61e820ca8eb33528318c45ff1a58a88 | [
"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 | 424 | sci | dft.sci | function [xf]=dft(x,flag);
//xf=dft(x,flag);
//macro which computes dft of vector x
// x :input vector
// flag :indicates dft or idft
// xf :output vector
//!
//author: C. Bunks date: 29 Sept 1988
n=maxi(size(x));
arg=(0:n-1);
am=-2*%pi*%i*arg'*arg/n;
if flag=1 then,
am=-am;
end,
dftm=ma... |
148568b4e9f442d1838e005c306abff6d4b68f76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH21/EX21.6/ex21_6.sce | 6da9488f972239512d879883f6101d85bbec97de | [] | 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 | 229 | sce | ex21_6.sce | clc;
h=6.63*10^-34; //Plancks constant in J.sec
m=9.1*10^-31; //mass in kg
r1=5.3*10^-11; //radius in m
v=h/(2*%pi*m*r1); //calculating velocity in m/sec
disp(v,"Velocity in m/sec = "); //displaying result |
47e4b023ab2abb0ff2243705718b1e5fc983f10b | 53bdf5ec3d505c23a6dbff1555c838c03e7ce670 | /Assignment 2/q1.sce | 5a6dfe16939aa053e93a2175809ca1f0cec59cff | [] | no_license | dishvyas/AI | 6e7fb662a04b99d5fca4380f97ac94eb5b18debe | a0903084fe210faee4b571b4cade5e5d410ad504 | refs/heads/master | 2020-05-22T00:50:06.362841 | 2019-05-12T20:29:20 | 2019-05-12T20:29:20 | 186,180,759 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 344 | sce | q1.sce | function yprim=f(t,y)
yprim(1)=y(2);
yprim(2)=-4*y(1);
endfunction
tmax=5;
t0=0;
t=t0:0.05:tmax;
y0=3;
yprim0=0;
y1=1;
yprim1=1;
y2=4;
yprim2=1;
clf;
y=ode([y0;yprim0],t0,t,f);
subplot(3,1,1)
plot(t,y(1,:))
x=ode([y1;yprim1],t0,t,f);
subplot(3,1,2)
plot(t,x(1,:))
z=ode([y2;yprim2],t0,t,f);
subplot(... |
26033047b8650cf6db0633e25516437ba24d6fa8 | c89c3eb73e1c7b9f26076ad36749b4fd9ee2a69d | /My Implementations/MUX4Way16.tst | 77343131486efaf244db27ba3cc94f9be211de25 | [] | no_license | gvela024/Elements-Of-Computing-Systems | cef0f824a4ca775ff7d2353a49c6510134db83da | 65a2b40979439b0d77e6fab1b3faa4b1a78ddd03 | refs/heads/master | 2021-01-22T03:13:48.244660 | 2015-12-26T00:53:51 | 2015-12-26T00:53:51 | 41,272,979 | 0 | 0 | null | 2015-11-11T22:27:40 | 2015-08-24T00:17:59 | Assembly | UTF-8 | Scilab | false | false | 516 | tst | MUX4Way16.tst | load MUX4Way16.hdl,
output-file MUX4Way16.out,
output-list in0%B1.16.1 in1%B1.16.1 in2%B1.16.1 in3%B1.16.1 select%B1.2.1 out0%B1.16.1;
set in0 %XF000, set in1 %X0F00, set in2 %X00F0, set in3 %X000F, set select %B00, eval, output;
set in0 %XF000, set in1 %X0F00, set in2 %X00F0, set in3 %X000F, set select %B01, eval, ou... |
8df652b39fb40e26f07a9fd82f737d77bc8d0ab5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1280/CH8/EX8.9/8_9.sce | ea6fdfd0f69f6d60c61c756856953914829c6a8a | [] | 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 | 153 | sce | 8_9.sce | clc
//initialisation of variables
Vm= 0.55 //in^3
N= 3400 //rpm
//CALCULATIONS
Q= Vm*N/231
//RESULTS
printf ('effective flow rate = %.2f gpm',Q)
|
fa2092172b78a65f5fb3c8a9dea858550abc8b92 | 9715cbe7e8e57bb70f628b3bd021842f99fbad75 | /ejemplos/02_root_finding/scilab/01_basic/02_open_methods/01_fixed_point/puntofijo.sce | 9654960415bea47b7f795e003271fec6f5e86151 | [] | no_license | UNIVALLE-EISC/numerical-methods | a3e3f432a6dc54a5ba845789ace2bf39db7ac6fe | 3ea9401e281523e15be0525bfe36e48560caf646 | refs/heads/master | 2021-01-10T15:22:36.080955 | 2018-10-02T21:37:42 | 2018-10-02T21:37:42 | 51,824,833 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 224 | sce | puntofijo.sce | function [xrold, xrnew, ea] = puntofijo(niter)
xrnew = 0, niter = 20;
for i = 1:niter
xrold = xrnew;
xrnew = exp(-xrold);
ea = abs((xrnew - xrold)/xrnew)*100
end
endfunction |
096fb875b447695ff5304981e893bdc000ed4bc8 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/net/dhcp/server/dhcpds/test/listsrvr.tst | 8d3b9775d853fe154950732abf516291ea4eb30d | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | Scilab | false | false | 54 | tst | listsrvr.tst | DsServer=VK-TEST
Object=CN=DhcpRoot
EnumServers=
|
6f4da448691a37524b8de32215b31929b140c490 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH8/EX8.4/ex8_4.sce | efacae14721e044faa53b61631bd5e6690cda4d1 | [] | 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 | 694 | sce | ex8_4.sce | // Exa 8.4
clc;
clear;
close;
// Given data
R_f = 1;// in Mohm
R_f = R_f * 10^6;// in ohm
disp("Part (a)")
V1 = 1;// in V
V2 = 2;// in V
V3 = 3;// in V
R1 = 500;// in kohm
R1 = R1 * 10^3;// in ohm
R2 = 1;// in Mohm
R2 = R2 * 10^6;// in ohm
R3 = 1;// in Mohm
R3 = R3 * 10^6;// in ohm
V_o = -(R_f) * ( (V1... |
940bd36ba83cef8e666215621b5eded8a3aa037e | d798d97f3aec3c77fe1b7db97e484616f605aada | /fernando.sce | df3101046327f6ced797d784c04260886325e9ea | [] | no_license | fazedo/modelagem | 2261ddfb394cc0def69eabfd88abe8a1d42a1ea7 | 3b4416c0469448117b9bb7c7a3ac562d871b620b | refs/heads/master | 2020-03-11T15:41:00.712925 | 2018-04-18T18:03:05 | 2018-04-18T18:03:05 | 130,092,684 | 0 | 6 | null | 2018-04-25T14:10:50 | 2018-04-18T16:36:26 | Scilab | UTF-8 | Scilab | false | false | 44 | sce | fernando.sce | // 18/04
x = linspace(0,1,100)
plot(x,x^2)
|
6a41cedc78801b0d870ed1efb994b67b2903d9ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.27/Ex4_27.sce | a5c0d805957a72c0763da837c85f557550f50b1c | [] | 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 | 609 | sce | Ex4_27.sce | //example 27
clear
beta1=99;
stability=5;
vbe=0.2;//volt
colres=2.5*10^3;//ohm
vce=6;//volt
ven=5.5;//volt
vcc=15;//volt
vcn=vce+ven;
colvol=vcc-vcn;//voltage across collector resistance
ic=colvol/colres;
ib=ic/beta1;
colre1=ven/ic;
rb=stability*colre1/(1-(stability/(1+beta1)));//correction in the book ta... |
cbb0f2445393d22c4bc8e94f299270e6b3888875 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2882/CH12/EX12.2/Ex12_2.sce | 69d0aeb309a37d5e01cba1cf0d15bbee2fc1f18e | [] | 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 | Ex12_2.sce | //Tested on Windows 7 Ultimate 32-bit
//Chapter 12 Modulation and Demodulation Pg no. 378 and 379
clear;
clc;
//Given
fc=1000D3;//frequency of carrier wave in hertz
fa1=450;//lowest audio frequency of modulating signal in hertz
fa2=1650;//highest audio frequency of modulating signal in hertz
//Solution
... |
34520e1191bc3ad78db5ce1265d6f4f05bd41247 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH13/EX13.07/13_07.sce | cad81323b8ea4634070ae3b4795c328910b10900 | [] | 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 | 940 | sce | 13_07.sce | //pathname=get_absolute_file_path('13.07.sce')
//filename=pathname+filesep()+'13.07-data.sci'
//exec(filename)
//Power of the turbine(in hp):
P=5000
//Steam required(in kg of steam/hp-hr):
m=P*6/3600
//Efficiency of nozzle:
n=0.90
//Nozzle angle:
a=12
//Pitch(in cm):
p=5
//Thickness(in cm):
t=0.3
//From ... |
69186fcb3461b05b07e999d667f6452ba4e4fe6e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3720/CH12/EX12.16/Ex12_16.sce | f2bb05977c4111419a4dd18fc249d4500926772d | [] | 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,193 | sce | Ex12_16.sce | //Example 12_16
clc;clear;
// Given values
D=3/100;// Diameter in m
P_1=150;// kPa
T_1=300;// K
Ma_1=0.4;// Mach number
// Properties
k=1.4;// Specific heat ratio
C_p=1.005;// kJ/kg.K
R=0.287;// kJ/kg.K
nu=1.58*10^-5;//Kinematic viscosity in m^2/s
// Calculation
c_1=sqrt(k*R*T_1*1000);// m/s
V_1=Ma_1*... |
81e319923dcef3837054f76c491c9151c2032a17 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH13/EX13.1/13_1.sce | 0e1481c7d6382453451f248719269a653118f393 | [] | no_license | apelttom/20-semester_PhD_thesis | edc0b55580bae9d364599932cd73cf32509f4b7a | ff28b115fcf5e121525e08021fa0c02b54a8e143 | refs/heads/master | 2018-12-26T22:03:38.510422 | 2018-12-14T20:04:11 | 2018-12-14T20:04:11 | 106,552,276 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 381 | sce | 13_1.sce | clc;
W=155;
R=0.356;
T=W*R;
disp("N m",T,"Torque is:")
N=2800/60;
bp=2*%pi*N*T/1000;
A=%pi*0.057^2;
L=0.09/4;
n=4;
bmep=bp*2*10^3/(A*L*N*n*10^5)
disp("bar",bmep,"bmep is:")
spc_grv=0.735;
fc=6.74
m=(fc/3600)*spc_grv
Q=44200;
disp(m)
eff_BT=bp/(m*Q)
disp("%",eff_BT*100,"brake thermal efficiency is:");
sfc=m/(bp)*3600... |
fc4b46b0976e9e56d322483bf1e33076edc01c63 | 449d555969bfd7befe906877abab098c6e63a0e8 | /764/CH8/EX8.7.a/data8_7.sci | 894ae80f61a12c53491fb0494afc6fd67282f040 | [] | 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 | 338 | sci | data8_7.sci |
//(Welded and Riveted Joints) Example 8.7
//Refer Fig.8.17 on page 284
//ISA angle dimensions l1 x l2 x h (mm)
l1 = 200
l2 = 100
h = 10
//Static force acting on the angle P (kN)
P = 150
//Permissible shear stress for the weld tau (N/mm2)
tau = 70
//
//Distance of C.G. of weld2 from the C.G. of the angle y2... |
a83b3235243fc2a18a377444da7ec6300ae4ec85 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3862/CH5/EX5.15/Ex5_15.sce | 4eae92a1fac0dc188dddc1cffc6cbf2139b84d78 | [] | 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 | 491 | sce | Ex5_15.sce | clear
//
u=0.3 //coefficient of friction
r=250 //radius of brake drum
l=300 //length of lever arm
M=300000.0 //torque
o=r*3.14/180.0
l2=50.0
//using
//T2 = T1e^(μθ) T1 and T2 are tension
//(T2-T1)r=M
T1=M/(r*(2.71**(u*o)-1))
T2=(2.71**(u*o))*T1
//Consider the lever arm. Takin... |
adcc339ecab01575f1b7aa1005efa73485acd764 | 449d555969bfd7befe906877abab098c6e63a0e8 | /476/CH3/EX3.10/Example_3_10.sce | 13cc916f1cca26a57bba2fcea80dc5219c8ab33e | [] | 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 | 497 | sce | Example_3_10.sce | //A Textbook of Chemical Engineering Thermodynamics
//Chapter 3
//P-V-T Behaviour and Heat Effects
//Example 10
clear;
clc;
//Given:
Ha = -890.94; //standard heat for reaction a (kJ)
Hb = -393.78; //standard heat for reaction b (kJ)
Hc = -286.03; //standard heat for reaction c (kJ)
//To calculate he... |
c946049e7b2cc8bcd11ae412bae0d98714d7aa83 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3836/CH8/EX8.4/Ex8_4.sce | d697f385d05437fabe8b845331f731b87871eccd | [] | 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 | 544 | sce | Ex8_4.sce | clear
//Initialisation
OG=2*10**5 //Open Loop Gain
CG=20 //Closed Loop Gain
OR1=75 //Output Resistance
IR1=2*10**6 //Input Resistance
//Calculation
AB=OG*CG**-1 //factor (1+AB)
OR2=OR1/... |
5fbd4a000289217c22c39cd8326bf3322c0646c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /413/CH6/EX6.13/Example_6_14.sce | 6fd4473866f994513147dc492dfdcccee3bc3bed | [] | 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 | 647 | sce | Example_6_14.sce | //Convert the Matrix A to upper Hessenberg
A=[7,8,6,6;1,6,-1,-2;,1,-2,5,-2;3,4,3,4;]
printf('Matrix A is')
disp(A)
printf('We can create zeros inthe first column and row 3 and 4 by B*A*B(invrse) Where B is')
b3=A(3,1)/A(2,1)
b4=A(4,1)/A(2,1)
B=[1,0,0,0;0,1,0,0;0,-b3,1,0;0,-b4,0,1]
disp(B)
A=B*A*inv(B)
printf(... |
abe940395ba59337cb6cc0def15121f6a03dce1d | 584105ff5b87869494a42f632079668e4c3f82de | /TestCases/calib3d/filterSpeckles/test2.sce | 9e943fd9e08b5367e3df3ba78176d8393a1ef1f5 | [] | no_license | kevgeo/FOSSEE-Computer-Vision | 0ceb1aafb800580498ea7d79982003714d88fb48 | 9ca5ceae56d11d81a178a9dafddc809238e412ba | refs/heads/master | 2021-01-17T21:11:31.309967 | 2016-08-01T14:45:40 | 2016-08-01T14:45:40 | 63,127,286 | 6 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,246 | sce | test2.sce | //Checking if error message pops up when only 3 inputs are given instead of 4
//Reading first stereo image
I1 = imread("stereo1.png");
//Reading second stereo image
I2 = imread("stereo2.png");
// Number of disparities
numofDisparities = 144;
// Minimum of disparity value
minDisparity = 0;
// Matched blocked size
sadwi... |
cbc239aeae7d1cbbfab8a42e3de78bdc007e7f37 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1049/CH4/EX4.11/ch4_11.sce | eb01b8c254e40bb46569622003cdc2c8b02715ce | [] | 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 | 193 | sce | ch4_11.sce | clear;
clc;
f=50; //Hz
I_sb=3000;
t=1/(4*f);
T=1/(2*f);
I=sqrt(I_sb^2*t/T); printf("surge current rating=%.2f A",I);
r=(I_sb/sqrt(2))^2*T; printf("\nI^2*t rating=%.0f A^2.s",r); |
66b64fff248a67ee92e3722f2ba2b9f89752ce73 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/blog/bow/bow.18_14.tst | a6648f186beaaa7f60784ce49f3c852c906eac48 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 3,878 | tst | bow.18_14.tst | 18 3:0.5 8:0.125 15:0.25 199:2.0 839:1.0 1079:0.3333333333333333 1389:1.0 1417:1.0 1486:1.0
18 3:0.5 11:0.0625 17:0.08333333333333333 20:1.0 199:1.0 340:1.0 614:0.16666666666666666 839:1.0 994:1.0 1079:0.3333333333333333 1765:1.0
18 3:0.5 8:0.25 9:0.3333333333333333 13:0.1111111111111111 15:0.5 16:1.0 17:0.083333333333... |
2b486a5531fa00734a36cdea72d5b24bca0252db | 449d555969bfd7befe906877abab098c6e63a0e8 | /1994/CH4/EX4.1/Example4_1.sce | f6c99a69b7c83c81474b56c0f0ddfbb36b54322c | [] | 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 | 664 | sce | Example4_1.sce |
//Chapter-4,Example4_1,pg 4-22
E1mag=[0 3 5 7 9 12 15 18 21]
E1rms=E1mag/sqrt(2)
Erms=5//given
Einrms=(((E1rms)^2)+((Erms)^2))^(1/2)
Eab=(2*sqrt(2).*Einrms)/%pi
xlabel('E1(Volts)','fontsize',5)
ylabel('Eab(Volts)','fontsize',5)
title('Phase Meter','fontsize',5)
printf("E1 mag E1 rms Ein Rms Eab outp... |
ed1b412db22d708b608bd633ca95796ab8363552 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH1/EX1.2/Ex1_2.sce | e78aff5d0df9d33483831b0575463932105531b5 | [] | 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 | 368 | sce | Ex1_2.sce | clc
Rhow=1000 //density of water in ρ(kg/metre cube)
RhoHg=13.6*(10^3) //density of mercury in ρ(kg/metre cube)
g=9.81 //gravitational constant in metre/second square
h=0.2 //in metres
Pdrop=(RhoHg-Rhow)*g*h
mprintf('The pressure drop with water in manometer is%fkPa',Pdrop/1000)//ans may vary due to roundoff er... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.