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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b9c786ec475864cd9d987647ad867763f85aeff7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH13/EX13.19/13_19.sce | 45f649446407db99af198c14568bae521a312d29 | [] | 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,480 | sce | 13_19.sce | //Problem 13.19: Determine by successive conversions between Th´evenin and Norton equivalent networks a Th´evenin equivalent circuit for terminals AB of Figure 13.46(a). Hence determine the current flowing in the 200 ohm resistance.
//initializing the variables:
V1 = 10; // in volts
V2 = 6; // in volts
R1 = 2000;... |
b0c2389feae7cac43e0dc948cffdd93846b3f378 | f8bb2d5287f73944d0ae4a8ddb85a18b420ce288 | /Scilab/example/最適ロバストサーボ.sce | 8fd2648d0384a78489c5bbfc78751d9d96d88b3a | [] | no_license | nishizumi-lab/sample | 1a2eb3baf0139e9db99b0c515ac618eb2ed65ad2 | fcdf07eb6d5c9ad9c6f5ea539046c334afffe8d2 | refs/heads/master | 2023-08-22T15:52:04.998574 | 2023-08-20T04:09:08 | 2023-08-20T04:09:08 | 248,222,555 | 8 | 20 | null | 2023-02-02T09:03:50 | 2020-03-18T12:14:34 | C | SHIFT_JIS | Scilab | false | false | 235 | sce | 最適ロバストサーボ.sce | //最適ロバストサーボ
Ae=[0 1 0;0 -1 1;0 0 0]; be=[0;0;1]; ce=[1 0 0];
re=1; Qe=ce'*ce; Be= inv(re)*be*be';
Pe=ricc(Ae,Be,Qe,'cont'), spec(Pe)
ke=-inv(re)*be'*Pe; Z=[0 1 0;0 -1 1;1 0 0];
k=ke*inv(Z); k1=[k(1) k(2)], k2=k(3)
|
3d116e24fbf8ed11569c410ac593c41466d1dce2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /599/CH5/EX5.1/example5_1.sce | 24ea29eed7c63ff9ffa5657ddab0426894acd909 | [] | 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,387 | sce | example5_1.sce |
clear;
clc;
printf("\t Example 5.1\n");
//dry bulb temperature=50 and wet bulb temperature=35
Tg=50; //dry bulb temperature=50
To=0; //refrence temperature in degree celcius
Mb=28.84; //average molecular weight of air
Ma=18; ... |
c210269f6bd44bb5e110230a9e49dbc338fa5e15 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2192/CH7/EX7.15/7_15.sce | 9d955642aaac01dd281a5016b1a3ed4047b38302 | [] | 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 | 668 | sce | 7_15.sce | clc,clear
printf('Example 7.15\n\n')
diameter_shaft = 14
length_shaft=30
Surface_area_shaft =%pi* length_shaft * diameter_shaft
thickness_coating = 1.5/10
density_Ni= 8.9
Mass_Ni= Surface_area_shaft * thickness_coating*density_Ni
ECE_Ni=0.000304 //gram/C
electricity_required= Mass_Ni/ECE_Ni
printf('Theo... |
5522f4f81d32d76f07f8c6a1118555dd8774416c | 449d555969bfd7befe906877abab098c6e63a0e8 | /28/CH3/EX3.2/ex3_2.sce | 0e04d7c717ce71d30d03bb2b69ab8478deabaf68 | [] | 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 | 222 | sce | ex3_2.sce | syms K;
s=%s;
G=syslin('c',25(s+1)/(s+5));
p=K;
q=s^2+s;
J=p/q;
F=G*J;
T=F/(1+F); // Closed loop transfer function
disp(T,"C(s)/R(s)")
// sensitivity w.r.t K = dT/dK*K/T
S=(diff(T,K))*(K/T)
disp(S,"Sensitivity") |
ba60249e480f8c2994e7dd2b601d246eb240ebb1 | f7e335e2af57c686554eb057f28ddd8d21aab1e4 | /tests/fuzz/c-wsp/0041.tst | 5a063e7605204316a1a5d112a690027d29d12a2c | [
"MIT"
] | permissive | scravy/abnf | 76515bd820b3b9d8e2dbc2cec2a2f845720a6022 | cc4228f403b436cc4e34ff4d6a7def83922174be | refs/heads/master | 2023-01-09T14:30:50.095268 | 2020-06-07T16:18:09 | 2020-06-07T16:18:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5 | tst | 0041.tst | ;I
|
4a96d09eee8d1cd12eb72b3c83f667a444156d1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2453/CH2/EX2.13/2_13.sce | d1ee49b64159eaee23a82127aa4749ac2452c64e | [] | 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 | 518 | sce | 2_13.sce | //To calculate the ratio of the seperation between successive lattice planes
h1 = 1;
k1 = 0;
l1 = 0; //for (100) plane
x1 = sqrt(h1^2+k1^2+l1^2);
h2 = 1;
k2 = 1;
l2 = 0; //for (110) plane
x2 = sqrt(h2^2+k2^2+l2^2);
h3 = 1;
k3 = 1;
l3 = 1; //for (111) plane
x3 = sqrt(h3^2+k3^2+l3^2);
//d = a/sqrt(... |
95bc7b38d12d7674fb17019c2fa0d66525c1d1b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1853/CH4/EX4.25/Ex4_25.sce | 91678121093fa22ea54a1953587a80c3ed928672 | [] | 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 | 190 | sce | Ex4_25.sce |
//determine the inductance of the coil
R=6
V=250;//volts
I=1.5;//amps
Z=V/I;//impedance
f=60;//hetrz
X=sqrt(Z^2-R^2)
L=X/(2*%pi*f)
disp('inductance of coil='+string(L)+ 'henry')
|
b0c6a9eeae943a43a66deefbd49256d30c2ab447 | 449d555969bfd7befe906877abab098c6e63a0e8 | /671/CH10/EX10.3/10_3.sce | e44d8e5471a47c793b1e1e105f42aee932834a54 | [] | 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 | 101 | sce | 10_3.sce | P=5000
Vt=215
n=1000
Ra=0.4
Ia=P/Vt
Eag=Vt+Ra*Ia
Eam=Vt-Ra*Ia
newn=Eam/Eag*n/1.1
disp(newn)
|
5884adc7889905cc95eda06ae6fa7f243b60911e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3311/CH10/EX10.2/Ex10_2.sce | 0c806a74db0a7dfb79df3c8c6e29859b2dbdf998 | [] | 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,266 | sce | Ex10_2.sce | // chapter 10
// example 10.2
// Estimate peak and rms value of load voltage
// page-699-700
clear;
clc;
// given
E=600; // in V (line voltage)
f=50; // in Hz (supply frequency)
Ls=1.46; // in mH (inductance per phase)
I_L=28; // in A (load current)
p=6; // number of pulses
alpha1=0,alpha2=30, alpha3=60; // in degrees ... |
6620e86a689d37d6f996f43be912cd51f8015b4f | f78a758dc17a311b355e12366d1315f7a9c2b763 | /GM/GMW3172 2010/9.2.17 Crank Pulse Capability and Durability 2.tst | f4e251585d06b85d18d3620191ec89312d718cd8 | [] | 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 | 3,604 | tst | 9.2.17 Crank Pulse Capability and Durability 2.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AutoTestC version="2.0.0">
<Pulse>CUSTOM WAVE</Pulse>
<Title>Waveform 3</Title>
<Organization>GM</Organization>
<Standard>GMW3172 2010</Standard>
<Item>9.2.17 Crank Pulse Capability and Durability</Item>
<voltage>14</voltage>
<count>49... |
22f33d118167c2952895458d206bd38c52ec2ef4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH28/EX27.11/EX27_11.sce | d5b5dcca4702aac99997dc12300296a89cf11e33 | [] | 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 | EX27_11.sce | // Grob's Basic Electronics 11e
// Chapter No. 27
// Example No. 27_11
clc; clear;
// If Vz=10 V, calculate Iz.
// Given data
Vin = 25; // Input voltage=25 Volts
Vz = 10; // Zener voltage=10 Volts
Rs = 1*10^3; // Source Resistance=1 kOhms
Iz = (Vin-Vz)/Rs;
disp (Iz,'The Zener Current in ... |
155c3e5d3277a16931b393085e1d5ad366ffee5d | 36822feae330568e74a2a6dae62ba1add204cebb | /ishigami.sce | 78a13f912eda4a1cbe24fa4e7b0f9bcc881770e3 | [] | no_license | Quanteek/link_scilab_cpp_R | db48d7fc0b3369c4d2dab29cc6fb553c5bca413c | d641dec7ff6a21475e6eab18eae291e23a6b2938 | refs/heads/master | 2021-01-20T20:42:27.671345 | 2016-06-21T13:48:27 | 2016-06-21T13:48:27 | 61,637,512 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 94 | sce | ishigami.sce | function [y]=ishigami(x,a,b,c)
y = sin(a) + 7 * sin(b)^2 + 0.1 * c^4 * sin(a)
endfunction
|
2d526a02687de1fecb00bacd4d906d25a0bbc86f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1271/CH1/EX1.3/example1_3.sce | 02c12488f80e2b33899cdb9e8496465f3bbbda9f | [] | 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 | 702 | sce | example1_3.sce | clc
// Given that
lambda = 6.058e-7 // wavelength of light in meter
L = 0.2 // coherence length in meter
// Sample Problem 3 on page no. 1.40
printf("\n # PROBLEM 3 # \n")
printf("\n Standard formula used \n f = c/lambda. \n")
line_width = (lambda ^ 2) / L//calculation for line width
f_spread = (3 * 10 ^ 8) / ... |
39fac1510fb3559067efed2483469968818e15c6 | cea88917b1a7177608e003c8c7c60943569bbd95 | /Scilab Files/cipherReplaceSpecial.sci | b33fd088e1246c547c81ec18748313330c0f596b | [] | no_license | seanpoyner/Zodiac | 0dc763e8e512cbcd9d0411b0da3ec9a8f4680094 | 3808665632d90f71740350dcdbd0e72a6b04e634 | refs/heads/master | 2021-01-01T06:45:40.358770 | 2012-01-05T13:40:04 | 2012-01-05T13:40:04 | 3,059,564 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 246 | sci | cipherReplaceSpecial.sci | function [A] = cipherReplaceSpecial(A)
// Replaces 'a' with 'b' in the cipher A
[m,n] = size(A);
if m < 1
disp('Cipher is empty')
else
for i = 1:m
for j = 1:n
A(i,j) = A(i,j) + 64;
end
end
end
endfunction
|
a54d861c3cb568b5969c995b2d3a0638ad580551 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2204/CH4/EX4.25/ex4_25.sce | 8241e217926b2e0bd8c038743537d6d853f23a4b | [] | 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 | sce | ex4_25.sce | // Exa 4.25
clc;
clear;
close;
// Given data
R_F = 5;// in k ohm
R_G = 1;// in k ohm
R1 = 10;// in k ohm
R2 = 20;// in k ohm
A = (1 + ((2*R_F)/R_G))*(R2/R1);
disp(A,"The gain of instrumentaion amplifier is");
|
a899f1afbca88a069d96dd77c40b106ef1c909ea | 449d555969bfd7befe906877abab098c6e63a0e8 | /587/CH7/EX7.3/example7_3.sce | 647f50b8af6f33211aae8b9e55ed82b47fbec6a9 | [] | 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,502 | sce | example7_3.sce | clear;
clc;
//Example7.3[Cooling of Plastic Sheets by Forced Air]
//Given:-
T_p=95;//Temp of plastic Sheet[degree Celcius]
T_air=25;//Temp of air[degree Celcius]
v=3;//Velocity of flowing air[m/s]
L=0.6;//Length of plastic sheet[m]
w=1.2;//width[m]
k=0.02808;//[W/m.degree Celcius]
Pr=0.7202;//Prandtl Number... |
57d1a8a99bc073d6d5c27565dc0a574ff34f1d87 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3511/CH11/EX11.1/Ex11_1.sce | ad4d88b9cb83bd7c964da2a466516db09de3aa8d | [] | 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 | 765 | sce | Ex11_1.sce | clc;
p02=6; // Inlet pressure in bar
T02=900; // Inlet temperature in kelvin
p0fs=1; // Outlet pressure in bar
eff_isenT=0.85; // insentropic efficiency of turbine
alpha_2=75; // Nozzle outlet angle in degree
u=250; // Mean blade velocity in m/s
Cp=1.15*10^3; // Specific heat in J/ kg K
r=1.333; // Specific hea... |
d6da4d0e8531697eca1e6aff018e4731e8764794 | b23687e2eb02bcb6d0f581b7975f42c496faeda1 | /Line.sce | 3afaf0e6910fefa0f6a0bd7c36267a6815701fe1 | [
"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 | 297 | sce | Line.sce | clc;
clear;
clf;
function y = line(m,c,st,et,dt)
t = st:dt:et;
y = m*t + c;
endfunction
y = line(1,0,0,10,1);
plot2d3(y);
xgrid(2);
xlabel("T", "fontsize", 5);
ylabel("X", "fontsize", 5);
title("Line Function", "fontsize", 4);
//Following code is not important
plot(y)
|
40948c0474c2a2f4a095751534d5d06ca5cfe326 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3753/CH4/EX4.1/Ex4_1.sce | e6676bdef825dfae563a10271208f16ea0525da9 | [] | 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 | 374 | sce | Ex4_1.sce | //Example 4.1, Page number 4.32
clc;clear;close
// variable declaration
r1 = 2; // in radians
r2 = 3; // in radians
d1 = 4; // Converting from mm to radians
d2 = 6; // Converting from mm to radians
// calculations
D = (r2-r1)/(d2*10**3-d1*10**3) // Diverg... |
72bf2b0854dbe9954b7054410bffd2fd8d1d6b79 | 449d555969bfd7befe906877abab098c6e63a0e8 | /69/CH12/EX12.10/12_10.sce | e897cde025d369839c42474d8987ca2a77b4b874 | [] | 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 | 390 | sce | 12_10.sce | clear; clc; close;
Vi_rms = 12;
Rl = 4;
Vcc = 25;
Vi_p = sqrt(2)*Vi_rms;
Vl_p = Vi_p;
Po_ac = (Vl_p^2)/(2*Rl);
Il_p = Vl_p/Rl;
Idc = (2/%pi)*(Il_p);
Pi_dc = Vcc*Idc;
Pq = (Pi_dc-Po_ac)/2;
n = (Po_ac/Pi_dc)*100;
disp(Po_ac,'Output power(Watts) = ');
disp(Pi_dc,'Input power(Watts) = ');
disp(Pq,... |
87e29c5dc3c6e922c0a3d0025903fab3a06824dc | 885ee700356ad98a29fe87d97751e692062de746 | /data/pos_exp/pos_data/arabic.high.tst | 58e21a30f7018d7ef0047ccfa463af50a0998988 | [] | no_license | LINGuistLIU/IGT | 1e58bfea1e7d70bdff507c67fa856c55af5bbdc2 | 8b9ca93189424118a669582ce54192bf441fcc6a | refs/heads/master | 2022-08-31T12:33:23.649666 | 2020-05-28T20:27:18 | 2020-05-28T20:27:18 | 267,152,155 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 59,950 | tst | arabic.high.tst | اِسْتَصْدَرَ تَسْتَصْدِرْنَ V;2;PL;FEM;IPFV;IND;ACT
كِيلُومِتْرٌ كِيلُومِتْرٌ N;SG;NDEF;NOM
الْعَمِيق عُمُقًا ADJ;PL;MASC;NDEF;ACC
اِسْتِقَامَةٌ الِاسْتِقَامَةَ N;SG;DEF;ACC
فِكْرَةٌ الْفِكْرَة N;SG;DEF;INFM
مِعًى أَمْعَاءً N;PL;NDEF;ACC
رَمَادٌ الْأَرْمِدَةِ N;PL;DEF;GEN
ضَاعَ يَضِيعُونَ V;3;PL;MASC;IPFV;IND;ACT
السُّ... |
f8c45131c3d2e55c9fbaf8c4cc4eddc6adb77d12 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2409/CH2/EX2.5/Ex2_5.sce | 13b83ab079e61727094fa73a9cc578303ef187f8 | [] | 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 | 596 | sce | Ex2_5.sce |
//Variable Declaration
i=98.6328 //Angle(degrees)
e=0.0011501 //eccentricity
n=14.23304826 //Mean Motion(1/day)
a=7192.3 //Semimajor axis(km)
K1=66063.1704 //Known constant(km^2)
//Calculation
n0=(2*180*n) //Mean Motion (deg/sec)
K=(n0*K1)/((a**2)*((1-e**2)**2)) //Constant (deg/day)
w=-K*cos(i*3.14... |
19d19f66edc19a419bca114e6108ef709787ca32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3369/CH16/EX16.10/Ex16_10.sce | 486af239386c3d2718e49eeb8e7ac251b09a569a | [] | 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 | 590 | sce | Ex16_10.sce | //Chapter 16,Example 10,page 564
//Determine the from and tail times
clear
clc
n = 12
C1 = 0.125*10^-6/n // micro F
C2 = 0.001*10^-6 // micro F
R1 = 70*n // ohm
R2 = 400*n // ohm
// beased on figure 16.15
theta = sqrt(C1*C2*R1*R2)
neta = 1/(1+R1/R2+C2/C1)
a = R2*C1/(2*theta*neta) // alpha
T2 = 7*theta*10^6
T1 = T2/25
p... |
3cf6dbc2c9f7d41835e910e29822c0fab78c6034 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/util/%r_diag.sci | d128e8bd7b6a2129e41c3aca9dd96f3955b6188f | [
"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 | 366 | sci | %r_diag.sci | function d=%r_diag(a,k)
// %r_diag - implement diag function for rational matrix ,..
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==1 then k=0,end
[m,n]=size(a('num'))
if m<>1&n<>1 then
d=syslin(a('dt'),diag(a('num'),k),diag(a('den'),k))
else
mn=max(m,n)
den=ones(mn,mn)
den=den-diag(diag(den,k))+diag(a('den'),k)... |
5cd041b7517566e6ffaa66053e0c116614df7e8f | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.0/Unix/scilab-2.0/macros/percent/%snr.sci | 0c0f45387470f501b6a8254ece40e7a9b21dcb20 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | 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 | 233 | sci | %snr.sci | //[r]=%snr(l1,l2)
//%snr(l1,l2) correspond a l'operation l1<>l2 ou l1 est une matrice de scalaire
// et l2 une fraction rationnelle
//!
r=degree(l2(2))==0°ree(l2(3))==0
if r then r=coeff(l2(2))./coeff(l2(3))==l1,end
r=~r
//end
|
c4bd804011c905c5694ba9bc0969952fe253c74a | 449d555969bfd7befe906877abab098c6e63a0e8 | /2150/CH7/EX7.12/ex7_12.sce | 7b573411d99c9b0dc3d55305aafd9b079ea5a8c5 | [] | 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 | 254 | sce | ex7_12.sce | // Exa 7.12
clc;
clear;
close;
// Given data
I_D = 500;// in mA
V_GS = 3;// in V
R_DS = 2;// in ohm
V_DD = 20;// in V
R1 = 1;// in kohm
R1 = R1 * 10^3;// in ohm
V_out = (R_DS/(R1+R_DS))*V_DD;// in V
disp(V_out,"The output voltage in V is");
|
24cca5a33c6391f9c02032ad08fb776de4b2fa10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1118/CH1/EX1.2/eg1_2.sce | a14db08df47c52ff4142f96bd1b3378886fd947c | [] | 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,029 | sce | eg1_2.sce | //to calculate the a).diversity factor b).avg load and laod factor of each consumer c).avg load and load factor of combined load.
//postfix 1,2...4 shows the consumers.
clc;
//for consumer1
avg_load1=1; //load in kwatt
max_dem1=5; //demand in kwatt
dem1_at8=5; ... |
af83ea185c9c3a87cd4bb9c004ec1b397ab2c21a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1904/CH9/EX9.2/9_2.sce | 824ecd734a527ad289ea518b77916db6eb23ce5a | [] | 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,001 | sce | 9_2.sce | //To Determine the distance at which the regulator must be located
//Page 472
clc;
clear;
//Terms from previous example
TVDpu=0.0776; //Total Voltage Drop
VRRpu=1.035; //Setting Voltage of Regulator
l=10;//Length of the Feeder
//Primary voltages for various cases
VPpua=1.01;
VPpub=1.00;
s1=poly(0,'s1')... |
32af6d7f16c1fc93d570ed46474b17bae72813af | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.18/ex5_18.sce | e2127f24275ff3d1f04c3fe54958c4ebb0dd5357 | [] | 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 | ex5_18.sce | // Exa 5.18
clc;
clear;
close;
format('v',6)
// Given data
Vo = 36;// in V
Vi = 0.028;// in V
A = Vo/Vi;
Vf = 1.2;
Vo = 100;
Beta = Vf/Vo;
// Gain with feedback
Af = A/(1+(A*Beta));
Vs = Vi;// in V
// Output voltage
Vo =Af*Vs;// in V
disp(Vo,"The output voltage in V is");
//Df =D/(1+(A*Beta));
DbyDf ... |
118d691672c75ce6e0c56c37d983ed62558a1a75 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1958/CH3/EX3.1/Chapter3_example1.sce | ca07a5feca749fafbb6753496d44cb63729664f4 | [] | 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 | 676 | sce | Chapter3_example1.sce | clc
clear
//Input data
m=0.04//Mass of stone in kg
vi=25//Initial velocity in m/s
vf=0//Final velocity in m/s
yi=0//Initial height in m
//Calculations
Ui=(m*9.81*yi)//Initial potential energy in J
Ki=(1/2)*m*vi^2//Initial kinetic energy in J
Etotal=(Ui+Ki)//Total energy in J
h=(Etotal/(m*9.8))//Maximum hei... |
fa13e7571da772f26371ddc531dcacf64e1f2be1 | ed1c05f846a64e6a8308394b3f3a4edbf4801a04 | /raytracer/scenes/cylinders/cylinders.sce | a2857a6eb44d58fbbae30f40d43d119381c8413b | [] | no_license | Gorzen/Computer-Graphics-2019 | e56b85314fa7b4782041977480e4d7b01a854a6c | c17a640342414402a6efe8859cfc9e3aa042960b | refs/heads/master | 2020-04-24T09:39:56.561728 | 2019-05-30T11:41:20 | 2019-05-30T11:41:20 | 171,869,278 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 810 | sce | cylinders.sce | # camera: eye, center, up, fovy, width, height
camera 0 3 8 0 1 0 0 1 0 45 1024 1024
# recursion depth
depth 5
# background color
background 0 0 0
# global ambient light
ambience 0.2 0.2 0.2
# light: position and color
light 20 50 0 0.5 0.5 0.5
light 50 50 50 0.5 0.5 0.5
light -50 50 50 ... |
b9fa591ae6990d6e3ab30d111549635db5043fe0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1793/CH13/EX13.4/13Q4.sce | ad99401817a3a8128e62068a0977782e45f4303b | [] | 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 | 381 | sce | 13Q4.sce | clc
a=30
Ka1=(1-sind(a))/(1+sind(a))
a=35
Ka2=(1-sind(a))/(1+sind(a))
//at z=0 so T0=0
//atz=3
To=3*16
Ta1=Ka1*To
Ta2=Ka2*To
// At z=6
To=3*16+3*(18-9.81)
Ta2=Ka2*To
Pa =(1/2)*3*16+3*13.0+ (1/2)*3*36.1
z= (24 *(3+3/3)+39.0*(3/2)+54.15*(3/3))/Pa
printf('The force per unit length of the wall = %f kN/m\... |
2e7d8e6763ed001516b9811a58c5768bd66f3221 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2783/CH8/EX8.1/Ex8_1.sce | 9d90d8168f6108e137c3d58194117be27f9da31e | [] | 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 | 286 | sce | Ex8_1.sce | clc
//initialization of new variables
clear
sigma=5 //m^2/s
x0=1
y0=1 //(x0,y0) location of source
x=0
y=-1
//calculations
u=sigma/(2*%pi)*(x-x0)/((x-x0)^2+(y-y0)^2)
w=sigma/(2*%pi)*(y-y0)/((x-x0)^2+(y-y0)^2)
//results
printf('u = %.3f m/s',u)
printf('\n w = %.3f m/s',w)
|
d7b4d21b3692adeb3eb61180002b157c2facaf51 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.4/Unix-Windows/scilab-2.4/macros/auto/dbphi.sci | b5f567b447daeac79ff1d52ca7ef013dc87dd354 | [
"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 | 101 | sci | dbphi.sci | function [db,phi]=dbphi(repf)
// Copyright INRIA
phi=phasemag(repf);
db=20*log(abs(repf))/log(10);
|
032fcfcb710688c8e42a0cc8e24789e77768a304 | 449d555969bfd7befe906877abab098c6e63a0e8 | /494/CH9/EX9.3/9_3.sce | 6ccae9da2dc3c23cd774f33c90a07dff24684fa2 | [] | 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 | 642 | sce | 9_3.sce | //All the quantities are expressed in SI units
b = 30*%pi/180; //oblique shock wave angle
M1 = 2.4; //upstream mach number
//from figure 9.9, for these value of M and beta, we have
theta = 6.5*%pi/180;
Mn_1 = M1*sin(b); //upstream mach ... |
c2e7e7fba287855a4f4373bdb907a11c30ba7558 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2345/CH15/EX15.27/Ex15_27.sce | eb528372d711c22e42b33a3bb11420bb93cd9467 | [] | 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 | 805 | sce | Ex15_27.sce | //Finding magnetising current
//Example 15.27(pg. 409)
clc
clear
a=0.01//crosssectional area of ring in m^2
Uo=4*(%pi)*(10^-7)//absolute permeability
lf=1.25//leakage factor
Ur=400//permeability
N=175//no of turns
phig=0.8*(10^-3)//flux through air gap in Wb
Bg=phig/a//Flux density in air gap in Wb/m^2
Hg=Bg... |
eb7344670657d777f62bded02978e0854dca06a5 | 4be0defdbe24271cce8f61cece32e7a4b15c65af | /signal_s1/td1/ylcq.sce | 1a2338cbffe9f9687cfa9ebbd37132112dd99d66 | [] | no_license | imac2018/tds | 2c41830e26435bb2b8c4a40b3700c9f166bba4dc | 8712438b81088d2f2d9c691b3c689e0926c597f5 | refs/heads/master | 2020-05-30T07:19:34.709677 | 2017-05-24T09:42:23 | 2017-05-24T09:42:23 | 69,675,399 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 1,090 | sce | ylcq.sce | funcprot(0)
clf()
f0 = 30
function ret = x(t)
ret = exp(-sigma)*cos(2*%pi*f0*t)
endfunction
function ret = tfx(f)
ret = ((sigma*((sigma^2)+4*(%pi^2)*((f-f0).^2)).^(-1)) + (sigma*((sigma^2)+4*(%pi^2)*((f+f0).^2)).^(-1)))/2
endfunction
t = -100:0.1:100
f = t
// Ex 1.
subplot(411);
sigma = 5
plot(tfx(f), "r")... |
2cbd4177de0769329cdf0045b45a42be85aa1f6e | fb63db2833e0f7dd9ed617a620630a315f0c9ed8 | /algorithms/dynamic_prog_hw_3/brass.tst | cfae37915b345c972844b54aee6a2aa7356374f3 | [] | no_license | samyvilar/masters_assignments | f732d227496a198fb97631600cc30b6f0c3f6c7c | cbae1c3de542cb79da26831f2ce25262fac73c0b | refs/heads/master | 2020-06-06T10:59:56.222004 | 2014-02-26T03:29:33 | 2014-02-26T03:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 437 | tst | brass.tst | [0,600]x[0,400]
S (20,40) (100,50)
S (50,30) (100,200)
S (10,100) (200,70)
S (10,300) (300,370)
S (50,5) (70,290)
S (60,390) (80,100)
S (10,390) (120,250)
S (90,200) (200,220)
S (150, 180) (300,60)
S (100, 70) (290, 80)
S (120,20) (170, 370)
S (160,380) (220, 40)
S (210, 50) (470,20)
S (250,30) (330,330)
S (200,300) (4... |
db5ec79be465061fe04695a0653c670525ed0593 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2702/CH5/EX5.12/Ex_5_12.sce | 296fa25487f4b78be2cd59b79abb78cda0156fa2 | [] | 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 | 613 | sce | Ex_5_12.sce | // Exa 5.12
clc;
clear;
close;
// Given data
gm=75;// in A/V
Rs= 1;// in kohm
Rs= Rs*10^3;// in ohm
R_E= 1;// in kohm
R_E= R_E*10^3;// in ohm
rpi= 1;// in kohm
rpi= rpi*10^3;// in ohm
hie=rpi;
Io= -gm;
Vi= Rs+R_E+rpi;
Gm= Io/Vi;
disp(Gm,"Value of Gm is : ")
Bita=-R_E;
disp(Bita,"Value of Bita is : "... |
4deb933a2bb3df628d1361c3a2c88adeb2a86721 | 9d2c9394c6b6997318b9d04556462c9bba639045 | /Replication 2/Dave_RIFData/Dave_RIFData/Sub21/VP21_OneBack.sce | 5f6cc4c439b6e0b90949c5fb9750d44575f8948c | [] | no_license | rettopnivek/Wimber_et_al_replication_3 | 673b156d8d18d58b92b2f05fedef87976e787089 | 8dbc22329093a61b1e5cb8aac3feca45a5c82d06 | refs/heads/master | 2020-12-31T04:42:39.856717 | 2018-02-01T15:49:15 | 2018-02-01T15:49:15 | 58,006,910 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,885 | sce | VP21_OneBack.sce | array <int> finalSeq[432] = {35,68,57,33,17,25,56,41,23,36,67,67,2,51,13,61,22,12,5,47,47,48,48,49,69,29,2,8,10,5,25,28,11,64,40,13,72,54,7,57,25,38,6,57,31,15,51,51,15,8,8,66,66,8,54,35,35,14,6,6,31,31,27,63,3,1,37,15,26,65,31,47,61,12,33,27,68,28,30,50,50,18,53,3,28,23,9,19,63,45,22,22,66,42,42,7,59,10,41,7,14,66,23,... |
41ee2205b1079b98b7695a07b64d76b44c417afc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH3/EX3.3/Ex3_3.sce | dc0297c6bffcd1767ed871ca412674fed49ad26c | [] | 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 | 441 | sce | Ex3_3.sce |
mu_not=4D-7*%pi
//calculating flux density at centre of coil B=mu_not*I/(2*R)
I=50
R=4D-2
B=mu_not*I/(2*R)
mprintf("Flux density at centre of coil=%f*10^-6 Wb/m^2(Tesla)\n", B*10^6)
//calculating flux density perpendicular to plane of coil at a distance of 10 cm from it
z=10D-2
B=mu_not*I*R^2/(2*(R^2+z^2)^1.5... |
def0a1cdfc8e94bccfda3ae7d7dfe2e7d2cb51a6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /991/CH4/EX4.16/Example4_16.sce | 2adfd7f2696e36423074051a9d9aec86e2fc3d6c | [] | 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 | 281 | sce | Example4_16.sce | //Example 4.16.
clc
format(6)
I=5*10^-3
T=300
disp("Forward resistance of a PN junction diode, rf = (eta*VT)/I where VT = T/11600 and eta = 2 for silicon")
disp("Therefore, rf = 2*(T/11600) / 5*10^-3")
eta=2 //for silicon
rf=600/(11600*5*10^-3)
disp(rf," rf(ohm) = ") |
7698e9b60e64315b6d6e8cd4c2a29cc1696a40dd | 45e5528d6a94c0dc42617db750e62f5f36a2eb5d | /simulated_annealing.sci | ca084c84b006759eb65c2f6f71006bc4537face8 | [] | no_license | larel5000/simulated-anealing | 1575c7a8582ac865a6a370fd2dbdb266364084d6 | 6b11bb57b137487c4566a7becd2ed0f10c204d0c | refs/heads/master | 2020-04-15T00:56:47.818557 | 2019-10-29T18:59:12 | 2019-10-29T18:59:12 | 164,257,715 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,496 | sci | simulated_annealing.sci | //Griewank function
function z=f(x, y)
z = (x^2)/50 + (y^2)/50 - (cos(x)+1)*(cos(y/sqrt(2))+1);
endfunction
//plotting
x = linspace(-15,15,100);
y = linspace(-15,15,100);
z = feval(x,y,f);
surf(x,y,z);
//simulated annealing algo
x = -1.2; y = 1; //initial solution
T = 2.5; //initial temperature
iter... |
982ae4b265dda9c39d34149951b8790233b80028 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2498/CH5/EX5.10/ex5_10.sce | f238f940bf0b72719c7b64f06745b13de9275e51 | [] | 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,116 | sce | ex5_10.sce | // Exa 5.10
clc;
clear;
close;
format('v',6)
// Given data
h_ie = 1.5;// in ohm
h_fe = 100;
h_re = 3 * 10^-4;
h_oe = 25 * 10^-6;// in mho
V_CC = 20;// in V
R1 = 50 * 10^3;// in ohm
R2 = 5 * 10^3;// in ohm
R_C = 5 * 10^3;// in ohm
R_L = 10 * 10^3;// in ohm
R_S = 1;// in k ohm
Ri= 1.4*10^3;// in ohm
R_B... |
d08be5a90f608caa44c920896bd7e906b2b828cf | 449d555969bfd7befe906877abab098c6e63a0e8 | /389/CH7/EX7.12/Example7_12.sce | ca25c5bb8f379fbae17382e0e18e288cf90a1b80 | [] | 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,122 | sce | Example7_12.sce | clear;
clc;
// Illustration 7.12
// Page: 252
printf('Illustration 7.12 - Page: 252\n\n')
// solution
//****Data****//
Tempg1 = 32;// [OC]
Tempw1 = 28;// [OC]
//******//
H1 = 90;// [kJ/kg]
H1_prime = 72;// [kJ/kg dry air]
H2_prime = 163.6;// [kJ/kg dry air]
deff('y = f17(H2)','y = (H2-H1)-(H2_prime... |
98ac9df21fcc3c566ebf9c7882e735f8a300b6c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1931/CH9/EX9.11/11.sce | 8b2715c577bbcd90f856a4a028306e518dc9ad5a | [] | 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 | 505 | sce | 11.sce | clc
clear
//INPUT DATA
Ef=2.1*1.6*10^-19//The fermi energy level in potassium at a particular temperature in J
m=9.11*10^-31//mass of electon in Kg
h=6.625*10^-34//plank's constant in m^2 Kg/sec
//CALCULATION
nc=(((8*m)/(h*h)*Ef)^(3/2)*(3.14/3))/10^28//ThE Number of free electrons per unit volume in potassium ... |
e98be12f70fcc01478eaa0ccee952fddbd3bfe29 | 449d555969bfd7befe906877abab098c6e63a0e8 | /331/CH8/EX8.30/Example_8_30.sce | cd5f18695a4619bce416591325c7c27992443ebf | [] | 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,540 | sce | Example_8_30.sce | //Caption: Tests of Hypotheses Concerning variances
//Two tailed Chi-square Tests Concerning Single Population Variance
//Test 2: Ho: Var >= k and H1: Var <k
//Example8.30
//Page284
clc;
Var = 0.64; //popualtion variance of the weight of the cement bags in Kg
n = 8;// sample size
S2 = 0.36;//sample variance o... |
12657f052ecae596dee774c89092ed945b048353 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.14/Ex19_14.sce | c0b674391e64bbc83c680e5f489b629725a7135d | [] | 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 | 375 | sce | Ex19_14.sce | //Ex19_14 Pg-963
clc
disp("Conversion of decimal number 0.85 base to its octal equivalent ")
a=[0.85] //0.75 value in textbook is wrong
z=modulo(a,1)
d=0
for i=1:10//converting the values after the decimal point into octal
z=z*8
q=floor(z)
d=d+q/(10^i)
if z>=1 then
z=z-q
end
... |
142edde23df1284d3e65a4a4ed56fd5fa3e0b5c9 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /KiboKitchen/SCENARIO/simple.sce | 8d83bf54abeae6c96ee7c6b71ff45d830d66be4b | [] | 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,527 | sce | simple.sce | #************************************************************
# Scenario of garching
#
# date : 2012
#************************************************************
p3d_sel_desc_name P3D_ENV garching
p3d_sel_desc_name P3D_ROBOT human1
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.000000 0.000000 0.00... |
52629e7e5282e87eef3ad3daa2d4fbba7577336b | 8627886261b3eddf8440c0b470cd9ee25c762d97 | /23_lab_rabota.sce | 744637beca12a25967c12944da974c4504823cb5 | [] | no_license | timurzotov/pvis | ba75cf86fae91b6adc8dd3fe9cd2672eea561cca | d60e8e241d6ce0ad3a9b2a75c8771f92a9b039ba | refs/heads/master | 2020-09-08T07:59:31.719500 | 2019-11-11T21:14:13 | 2019-11-11T21:14:13 | 221,070,925 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,038 | sce | 23_lab_rabota.sce |
clc
d=figure('position',[0,0,650,400]);
d.figure_name='Лабораторная работа №23';
set(d,'BackgroundColor',[1,0.9,0.9]);
str1=uicontrol(d,'style','text','position',[25,350,100,30],'string','Введите а:');
edit1=uicontrol(d,'style','edit','position',[25,300,100,30],'string','1');
str2=uicontrol(d,'style','text','positio... |
2861b3682cfa059013dd55d961a7d219907fc18d | 449d555969bfd7befe906877abab098c6e63a0e8 | /323/CH5/EX5.21/ex5_21.sci | 09946ff844ce3d3cac7763b2de402f469e8dc294 | [] | 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 | sci | ex5_21.sci | //Ex5.21,Pg5.23
clc;
//Given x=1 and pf=1 we obtain the first equation
//With x=0.5 and pf=1 we obtain the second equation
A=[1 1;1 0.25]
B=[52.2;26.1]
W=A\B
printf("\n Copper loss=%.1f kW \n",W(2))
printf("\n Iron loss=%.1f kW \n",W(1))
//Now if x=0.6 and pf=1
n= (0.6*600*1/((0.6*600*1)+W(1)+((0.6^2)*W(2))))... |
abfb84b0eff63d79e553daeec8db43cf1f4a138c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH5/EX5.9/Ch05Ex9.sce | d4006b928574d2f62d912d216d402d613b77ac11 | [] | 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 | Ch05Ex9.sce | // Scilab code Ex5.9: Pg:218 (2008)
clc;clear;
Lambda = 5000; // Wavelength of spectral line, Angstorm
theta = 30; // Direction of principal maxima, degree
d_theta = 0.01; // Angular separation between two wavelengths, radians
d_Lambda = Lambda*cotd(theta)*d_theta; // Difference in two wavelengths, ang... |
6987f1638b5ebc88737b587c2e9394ef2c6bbc47 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2252/CH1/EX1.5/Ex1_5.sce | 5853d31aef75a0f54905a16c3ff707a11d4548fa | [] | 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 | 245 | sce | Ex1_5.sce |
//refer Fig.1.11 in the textbook
//applying KVL over loops ABEFA and BCDEB, I2=3.5*I1; -2*I1+7*I2=10
a=[3.5 -1;-2 7]
b=[0;10]
i=inv(a)*b
I1=i(1,1)
I2=i(2,1)
I=I2-I1
mprintf("Current through 8 ohm resistance=%f A from E to B", I)
|
ed76ff1c9946151a82c765cc092ba870bbd99065 | 858e87eba2421990e4bb02ee2ac7070276bc0259 | /experiments/single-axis.sci | 2941c45f12e134c483111b7071a0317112054644 | [
"LicenseRef-scancode-public-domain"
] | permissive | MyFreertosLab/sdrone_test | c649e737128db26ee0902d2b9beca883c0ef5f2a | 919ff6dd3e5d495102f0b16243873f3cb7b4640b | refs/heads/master | 2023-06-15T05:10:19.052455 | 2021-07-16T07:10:39 | 2021-07-16T07:10:39 | 359,063,905 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,154 | sci | single-axis.sci | // Questo modello si riferisce ad un asse vincolato
// con fulcro al centro.
// L'ingresso è l'angolo Teta desiderato
// Lo stato è dato da Angolo, Velocità angolare e Accelerazione angolare
A=[
-1,0,0;
-1,-1,0;
-1,-1,-1
];
B=[1;1;1];
n=100;
T=[0:n-1];
IN=T./n;
Teta(1:n)=20;
//Teta=10*sin(T*(2*%pi/250));
X0... |
6245a4c16fadd83c43435d8cdfa78cba3965b104 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1964/CH1/EX1.2/ex1_2.sce | 8ac9225817b94d5a36c5188056111e1cb5a3de77 | [] | 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 | 701 | sce | ex1_2.sce | //Chapter-1, Example 1.2, Page 18
//=============================================================================
clc;
clear;
//INPUT DATA
l1=20;//length in cm for first case
l2=0.4;//length in cm for second case
w=0.1;//width in cm
t=0.4;//thickness in cm
p=1.7*10^-6//resistivity of copper in ohm cm
a1=0.1*0... |
755ce9480f87ad9aee4c5d0ec81842bde071759f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1373/CH5/EX5.15/Chapter5_Example15.sce | 0ee8fb4d201b980cbcd7008a8fa8b55235b3c0f8 | [] | 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 | 854 | sce | Chapter5_Example15.sce | //Chapter-5, Example 5.15, Page 192
//=============================================================================
clc
clear
//INPUT DATA
Ti=250;//Temperature of aluminium slab in degree C
Tc=50;//Convective environment temperature in degree C
h=500;//Heat transfer coefficient in W/m^2.K
x=0.05;//Depth of ... |
90131a68b458b4326adc12d5ad4f44cae70cf636 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3012/CH8/EX8.4/Ex8_4.sce | 2dea42b69c8486295f030d101a0968b3ceb04b5d | [] | 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,209 | sce | Ex8_4.sce | // Given :-
// Part (a)
etat = 0.85 // given efficiency
// From the solution to Example 8.3, the following specific enthalpy values are known, in kJ/kg
h1 = 3348.4
h2s = 2741.8
h3 = 3353.3
h4s = 2428.5
h5 = 173.88
h6 = 181.94
// Calculations
h2 = h1... |
cdeb8463caaaf52e8d573ac10eb35dc12850bc1e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH6/EX6.5/Exa6_5.sce | ce75c4a5d402d698fd489e6861dbcd635fbfc258 | [] | 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 | 445 | sce | Exa6_5.sce | //Exa 6.5
clc;
clear;
close;
//Given Data:
f=10;//in GHz
f=f*10^9;//in Hz
BWFN=10;//in degree
c=3*10^8;//Speed of light in m/s
lambda=c/f;//in meter
//Part (a):
d=140*lambda/BWFN;//in meter
disp(d,"Diameter of a parabolic Antenna in meter : ");
//Part (b):
HPBW=58*lambda/d;//in degree
disp(HPBW,"3-dB Bea... |
6d034ae7525a77290a0a9ebc6d6ae93ee0383557 | 1a00eb132340e145c8a7d8fd0ef79a02b24605a2 | /macros/post_xcos_simulate.sci | 56666ff73a5d4e438b86681b280200a75b7bb009 | [] | no_license | manasdas17/Scilab-Arduino-Toolbox | e848d75dc810cb0700df34b1e5c606802631ada4 | 2a6c9d3f9f2e656e1f201cecccd4adfe737175e7 | refs/heads/master | 2018-12-28T15:51:35.378091 | 2015-08-06T07:22:15 | 2015-08-06T07:22:15 | 37,854,821 | 3 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 2,780 | sci | post_xcos_simulate.sci | //
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2011-2011 - DIGITEO - Bruno JOFRET
//
// This file must be used under the terms of the CeCILL.
// This source file is licensed as described in the file COPYING, which
// you should have received as part of this distribution. The ter... |
64bb3c35dcaa06f76944ead4298b87289f32a063 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1523/CH6/EX6.10/ex6_10.sce | 01015e15d75eb46bf5ff7c4f57d4e5f7661a6f57 | [] | 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 | 730 | sce | ex6_10.sce | // Three-Phase Circuits :example 6.10 :(pg 6.16)
P=1500*10^3;
pf=0.85;
VL=2.2*10^3;
phi=acosd(pf);
IL=P/(sqrt(3)*VL*pf);
Iph=IL/sqrt(3);
AC=Iph*pf;
RC=Iph*sind(phi);
IAC=IL*pf;
IRC=IL*sind(phi);
printf("\nP=1500kW \npf=0.85 (lagging) \nVL=2.2kV");
//For Delta-connected load
printf("\nP=sqrt(3)*VL*IL*cos(ph... |
6652757c0334f9b693682edeee325bc33c065f2b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3845/CH28/EX28.1/Ex28_1.sce | 3720ce5868b137077b48e2901d06dca6ec67c567 | [] | 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 | 427 | sce | Ex28_1.sce | //Example 28.1
delta_t_0=1.52*10^-6;//Proper time for life of the muon (s)
c=3*10^8;//Speed of light (m/s)
v=0.950*c;//Velocity of muon (m/s)
Gamma=1/sqrt(1-v^2/c^2);
delta_t=Gamma*delta_t_0;//Elasped time as measured by Earth-bound observer (t)
printf('Life of the muon as measured by Earth-bound observer = %0.2e... |
2f6ded5fb656d33ee59750d0c581d844559f2061 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH6/EX6.4/Ex6_4.sce | 957b0a35d5baf6ad4b0d15a84d31985b43839597 | [] | 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,127 | sce | Ex6_4.sce | clc
kBT=0.026
disp("kBT = "+string(kBT)+"eV") //initializing value of multiplication of boltzmann constant and 300K temperature
mo = 9.1*10^-31
disp("mo = "+string(mo)+"kg") //initializing value of mass of electron
m=0.08*mo
disp("m = "+string(m)+"kg") //initializing value of mass of electron in InAlAs
T = 300
... |
8cfa4fee78101fffe89548c28995c6142901d057 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2075/CH5/EX5.6/pe5_6.sce | 0fbc03340e4cdf6d5836eed2a8c12e99cc6a2481 | [] | 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 | 272 | sce | pe5_6.sce | //example 5.6
clc; funcprot(0);
// Initialization of Variable
R1=22;//resistance
V1=56;//voltage
V2=2;//voltage
//calculation
I=(V1-V2)/R1;
disp(I,"current in mA")
R2=V2/I;
disp(R2*1000,"resistance2 in ohm:")
printf('pick R2=R3=820ohm R1=R4=22 kohm')
clear()
|
f6323b497c12a82062daec2fd997a4b5408a843b | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_ciudad.tst | 97f003f2833614535220ed0d33fb48a399c55d2d | [] | no_license | bryanjimenezchacon/bryanjimenezchacon.github.io | 5f2a0f1dbfbc584a65dece48f98b1c13d755512f | 7062d1860934808265c05491007c83f69da1112a | refs/heads/master | 2021-01-23T17:20:11.542585 | 2015-10-10T05:52:52 | 2015-10-10T05:52:52 | 41,244,377 | 2 | 0 | null | 2015-08-26T15:46:04 | 2015-08-23T09:52:06 | JavaScript | UTF-8 | Scilab | false | false | 216 | tst | consulta_por_ciudad.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_ciudad(pciudad => :pciudad,
p_recordset => :p_recordset);
end;
2
pciudad
1
Heredia
5
p_recordset
1
<Cursor>
116
0
|
204c4f957fe4ac8d0679256e9e2100bc6117d037 | fbbb71d2bcc53a32840e4621a4ebd7600c7cd041 | /out/production/tmp.tst | 8aa7b3b61ea2f96a866d58efe9f90113a2d55249 | [] | no_license | Belonogov95/javaHomeWork | 5c3c3466fb3a682d7eb43b5c690e611764cf9a08 | d8e4a6996d975cb6505656dc6b90b2c6aa869433 | refs/heads/master | 2020-07-03T14:17:19.795266 | 2015-05-19T06:22:40 | 2015-05-19T06:22:40 | 32,786,446 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 17,419 | tst | tmp.tst | 1032 cd ..
1033 ls
1034 ls -a
1035 cd .git/
1036 ls
1037 cd ..
1038 ls
1039 cat HW7.iml
1040 ls
1041 rm HW7.iml
1042 ls
1043 ls -a
1044 cd .idea/
1045 ls
1046 cd ..
1047 ls
1048 ls -a
1049 rm HW7.iml
1050 ls
1051 rm -rf .idea
1052 ls
1053 ls -a
1054 ls
1055 git add --a... |
2f6ab6369a0507fda20e415cf19803cfcd98fb1c | bbdc72de6d7eef74128eaf52b1f040053943de38 | /Code/TP3/Exo_pre.sce | ca4bb51a7d460d7cd5f7fecdf4c88d75a1bcc83a | [] | no_license | Abdel-BHPC/Numerical-analysis | 46bb4dbcd26e00d6c4f405fe59a1ba433b8b72e0 | 2bcdb80d9ab8890d036eac3cce92b595abb88784 | refs/heads/main | 2023-03-02T14:11:06.939206 | 2021-02-08T08:40:07 | 2021-02-08T08:40:07 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 523 | sce | Exo_pre.sce | /*
Code à vérifier le résultat dans un fichier .sce
*/
funcprot(0);
exec(fullpath(pwd() + '\Exo_pre.sci'),-1);
T = [0,1,3,4];
cc = [1 2 1;4 1 -1;1 -4 1];
clf();
[t1,z1] = trace(10,T,cc);
subplot(2,2,1);
plot(t1,z1);
xtitle("Figure1 N=10");
[t2,z2] = trace(100,T,cc);
subplot(2,2,2);
plot(t2,z2);
xt... |
d31c458aa2f45d918f9caa8e658a35fef908ccab | 449d555969bfd7befe906877abab098c6e63a0e8 | /2135/CH2/EX2.38/Exa_2_38.sce | 597e3c0264e8e030d3d009ea31ed5191188b2186 | [] | 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 | 543 | sce | Exa_2_38.sce | //Exa 2.38
clc;
clear;
close;
format('v',7);
//Given Data :
mdot=0.5;//kg/s
p1=1.4;//bar
rho1=2.5;//kg/m^3
u1=920;//kJ/kg
C1=200;//m/s
p2=5.6;//bar
rho2=5;//kg/m^3
u2=720;//kJ/kg
C2=180;//m/s
Qdot=-60;//kW
Z21=60;//m
g=9.81;//gravity constant
h21=u2-u1+(p2*10^5/(rho2*1000)-p1*10^5/(rho1*1000));//kJ... |
3e8bafd01a3fa3504d0acf1ca2729d491aa0a22d | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.2/macros/scicos/standard_origin.sci | e57b2754f93d464555e9c00c6d17cd167bd0d27a | [
"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 | 91 | sci | standard_origin.sci | function [x,y]=standard_origin(o)
graphics=arg1(2);
orig=graphics(1)
x=orig(1);y=orig(2);
|
c635d159b78452a660bee5f225d15b7a7ac6a258 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH1/EX1.2/Example1_2.sce | eeb65ab4c47abfe82fd821412e7b21fdfbe627a7 | [] | 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 | 677 | sce | Example1_2.sce | //Example 1.2
//Program to find Range of a Resistor so as to satisfy manufacturer's Tolerances
//Colour Band Sequence: GRAY, BLUE, GOLD, GOLD
clear;
clc ;
close ;
A=8;//NUMERICAL CODE FOR BAND GRAY
B=6;//NUMERICAL CODE FOR BAND BLUE
C=-1;//NUMERICAL CODE FOR BAND GOLD
D=5;//TOLERANCE VALUE FOR BAND GOLD i.e. 5... |
4c63f6f13c73485d7be424f6821320e4f8356506 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1247/CH4/EX4.7/example4_7.sce | 4fa2bbcd351f8e3b4e5d8a3adc3f4782fbeb3928 | [] | 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 | 377 | sce | example4_7.sce | clear;
clc;
// Stoichiometry
// Chapter 4
// Material Balances involving Chemical Reaction
// Example 4.7
// Page 123
printf("Example 4.7, Page 123 \n \n");
// solution
m = 100//[kg] Tallow
m1 = 3*403*m/890 // [kg]
m2 = 92*m/890
printf("(a) \n \n NaOH required = "+string(m1)+" kg \n \n \n(b) \n \n... |
9196f8bff0b803892ef1d118b036b9c4d255cf5e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1697/CH1/EX1.18/Exa1_18.sce | 47e5f18e194d94c3be3963a7801f9974ff9de998 | [] | 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 | 234 | sce | Exa1_18.sce | //Exa 1.18
clc;
clear;
close;
//given data :
f=20;//in MHz
f=f*10^6;//in Hz
le=100;//in m
c=3*10^8;//speed of light in m/s
lambda=c/f;//in m
Rr=160*(%pi*le/lambda)^2;//in ohm
disp(Rr/1000,"Radiation Resistance in KOhm : "); |
dfae931d24707123ebffab6938e578f17ac51caa | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set4/s_Design_With_Operational_Amplifiers_And_Analog_Integrated_Circuits_S._Franco_929.zip/Design_With_Operational_Amplifiers_And_Analog_Integrated_Circuits_S._Franco_929/CH2/EX2.5.c/Example2_5_c.sce | c8b228091b1eea78ab8b8187778afa7164db1249 | [] | 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 | 236 | sce | Example2_5_c.sce | errcatch(-1,"stop");mode(2);//Example 2.5(c)
;
;
R1=15*10^3;//From the result of Example 2.4
Romin=50*10^6;
emax=R1/Romin;
p=emax/4;
pper=p*100;
printf("Resistance tolerance Required=%.5f percent",pper);
exit();
|
a90561471d4e0ccd0ea50b62310d45c94cc5b1ae | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/percent/%r_i_r.sci | fe10ad8481087b46249bb7ae9d3549813de44d87 | [
"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 | 426 | sci | %r_i_r.sci | function s1=%r_i_r(i,j,s1,s2)
// %r_i_r(i,j,s1,s2) insertion s2(i,j)=s1
//!
// Copyright INRIA
[lhs,rhs]=argn(0)
if rhs==3 then
[s1,s2]=sysconv(j,s1)
[n1,n2]=size(s2('den'))
n=s2('num');n(i)=s1('num'),
d=ones(n);d(1:n1,1:n2)=s2('den');d(i)=s1('den')
else
[s1,s2]=sysconv(s1,s2)
[n1,n2]=size(s2('den'))
n=s... |
5f9792d4cdfb6108df33f93727f06ce5171407fc | 27c8131743b503e49c4a4c184b396e4576d47b31 | /Week3/week3.sce | 1c37cfac779b08396755ec2a09152fc10c985fa9 | [] | no_license | tienanh-1999/DigitalSignalProcessing-Scilab | c4f9e506bd1877a915646d1f35b4b93bbcbdd09c | 7f91b44b74f31e690f301bdc04efcc3076ed37df | refs/heads/master | 2020-08-03T16:44:15.659180 | 2019-10-22T08:54:04 | 2019-10-22T08:54:04 | 211,817,238 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,930 | sce | week3.sce | clc
clf
// --------- PLOT SIGNAL --------
function plot_signal(x, n, pos, name, dotColor)
subplot(3,2, pos)
indice = linspace(0, length(x) - 1, length(x))
indice = indice - n + 1;
plot2d3(indice, x)
config = gca()
config.x_location = "origin";
config.data_bounds = [ -5 -5; 5 10];
... |
5c128854726a28d39d64a7473100398d5f4b41d6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3507/CH13/EX13.15/Ex13_15.sce | 7a7a1a7a052cf68ac5b43f458bfa99593f1b3500 | [] | 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 | 706 | sce | Ex13_15.sce | //chapter13
//example13.15
//page289
printf("i) Class A amplifier means that it raises voltage level of signal and its \nmode of operation is such that collector current flows for whole input signal. \n \n")
printf("ii) Audio voltage amplifier means it raises voltage level of audio signal \nand its mode of operat... |
bca3c40a6558a8682a6ffae487d44fdfb1554f09 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH15/EX15.1/ex15_1.sce | 50d8eb32a2d51992b70f4acf9693585c93860312 | [] | 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 | ex15_1.sce | clc;
clear all;
Eg = 1.8*1.609e-19; // Bandwidth of given LED
h = 6.626e-34; // Planck's Constant
c = 3e8;
lambda = ((h*c)/Eg)*1e6;
disp('um',lambda,'The wavelength of light emitted from LED is')
|
337d4b265290409a4c1719868a3943e25df7880a | 3b9a879e67cbab4a5a4a5081e2e9c38b3e27a8cc | /Área 1/Aula 5/Questao_10.sce | 4073727858d57537e25acfbc24f6ece5ab311508 | [
"MIT"
] | permissive | JPedroSilveira/numerical-calculus-with-scilab | 32e04e9b1234a0a82275f86aa2d6416198fa6c81 | 190bc816dfaa73ec2efe289c34baf21191944a53 | refs/heads/master | 2023-05-10T22:39:02.550321 | 2021-05-11T17:17:09 | 2021-05-11T17:17:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 88 | sce | Questao_10.sce | s=0
C = 0
M = eye(295,295)
for k=1:295;
s=s+M(k,1:k)*M(1:k,k);
C = C + (k - 1)
end
|
8bcf9fa3aef89cd565eb10a28093e70e1953cf02 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH1/EX1.2/EX1_2.sce | d727de114edb82712b2da451952a9f685bd981e5 | [] | 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 | 302 | sce | EX1_2.sce | //EXAMPLE 1-2 PG NO 18
R=0.69; //RESISTANCE
P=2.83*10^-8; //PRO
L=60; //LENGTH OF CABLE
a=(P*L)/R;
disp('i) a = '+string (a)+' m^2');
D=[(4*a)/%pi]^0.5; //DIAMETER
disp('i) DIAMETER = '+string (D)+' mm');
|
833448c001b3c67a4337acac0db73fc483781bda | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH2/EX2.2/Ex2_2.sce | 09dd94353ebca7956498960c5265db056c1e0c4a | [] | 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 | 307 | sce | Ex2_2.sce | clc
//Initialization of variables
h1 = 36/12 //ft
h2 = 6/12 //ft
h3 = 9/12 //ft
SgOIL = 0.9
SgHg = 13.6
yH2O = 62.4 // lb/ft^3
// Calculations
Dair = -(SgOIL)*(yH2O)*(h1+h2) + (SgHg)*(yH2O)*(h3)
Pgage = Dair/144 // psi
//results
printf("the pressure reading in the gauge is %.2f psi",Pgage)
|
fe9a25827d7f7ff8695b110dc0eb3195a0fb8729 | b2675f983fedb79e5e6f1940962373bda0570ec4 | /intsv/Tests/rrp1.tst | bfcf73e7c8e6229d6dc938f134e9c954552b2379 | [] | no_license | Meena92/Projects | b854c40b91515bb429c9e13fb0cbc95c03e0a9d6 | 06361e24bf51883ff4140db5c37c3f40836a5752 | refs/heads/master | 2020-03-29T01:45:03.726432 | 2019-06-11T05:26:08 | 2019-06-11T05:26:08 | 149,404,524 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,368 | tst | rrp1.tst | <?xml version="1.0" ?>
<TestCase name="rrp1" version="5">
<meta>
<create version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/09/2017" host="inbasdpc10722" />
<lastEdited version="10.0.0" buildNumber="10.0.0.431" author="admin" date="11/09/2017" host="inbasdpc10722" />
</meta>
<id>1CCCE6DFC52D11E7... |
ad6be95199bf8e66de2349f402926b868aee5dba | 449d555969bfd7befe906877abab098c6e63a0e8 | /2333/CH2/EX2.16/16.sce | a91fc7d49c7a87ce82785885326b00ce81780bbb | [] | 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 | 394 | sce | 16.sce | clc
// Given that
lambda = 5450 // Wavelength in angstrom
mu = 1.5 // Refractive index of material
n = 3 // order of fringe
// Sample Problem 16 on page no. 100
printf("\n # PROBLEM 16 # \n")
printf("\n Standard formula used \n (mu - 1)*t = n*lambda\n")
t = n*lambda*1e-10/(mu-1) // Calculation of thickness o... |
532aa12ce4ff2208c5bf2e58eed9fe63b71d7672 | 527c41bcbfe7e4743e0e8897b058eaaf206558c7 | /Positive_Negative_test/Netezza-Base-StatisticalFunctions/FLManhattanDist-NZ-01.tst | 9ca24044bafa643bee27e76ef9468b76b7470639 | [] | no_license | kamleshm/intern_fuzzy | c2dd079bf08bede6bca79af898036d7a538ab4e2 | aaef3c9dc9edf3759ef0b981597746d411d05d34 | refs/heads/master | 2021-01-23T06:25:46.162332 | 2017-07-12T07:12:25 | 2017-07-12T07:12:25 | 93,021,923 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,762 | tst | FLManhattanDist-NZ-01.tst | -- Fuzzy Logix, LLC: Functional Testing Script for DB Lytix functions on Netezza
--
-- Copyright (c): 2014 Fuzzy Logix, LLC
--
-- NOTICE: All information contained herein is, and remains the property of Fuzzy Logix, LLC.
-- The intellectual and technical concepts contained herein are proprietary to Fuzzy Logix, LLC.
-... |
681b66806626418b5fb41580ba22946d86a89af4 | aa4a21b8e929fd24f3158d9c283f1b1c58d78bec | /shape.sce | 358ac69ccf3395e6280251e06c64f88ee3a324d9 | [] | no_license | KiruthigaRagu/Application-of-F-distribution-on-Fisher-s-Iris-Data | 9ac0036bfbc18bb6aebb918571056c103fc767e3 | 32e43530283215af62bbecf58861b68f49b8cedb | refs/heads/master | 2020-04-16T07:47:58.424501 | 2019-01-12T15:55:58 | 2019-01-12T15:55:58 | 165,399,997 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | shape.sce | k=input("Enter the number of cases:")
function y=f(x)
y=((gamma(n/2+d/2)*n)*((n/d)*x)^((n/2-1))/((gamma(n/2)*gamma(d/2)*d)*(1+(n/d)*x)^(n/2)+d/2))
endfunction
for i=1:k
d=input('Enter the d value:')
n=input('Enter the n value:')
x=1:2:100;
y=feval(x,f)
xlabel('N')
ylabel('D')
title("GRAPH OF F-DISTRIBUTION")... |
b68856341748250890fff14b9cc0aaba98aba193 | 1573c4954e822b3538692bce853eb35e55f1bb3b | /DSP Functions/allpasslp2lp/test_5.sce | da46ab2d3a4786386527cca78168b7d01da0708c | [] | no_license | shreniknambiar/FOSSEE-DSP-Toolbox | 1f498499c1bb18b626b77ff037905e51eee9b601 | aec8e1cea8d49e75686743bb5b7d814d3ca38801 | refs/heads/master | 2020-12-10T03:28:37.484363 | 2017-06-27T17:47:15 | 2017-06-27T17:47:15 | 95,582,974 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 251 | sce | test_5.sce | // Test # 4 : Input Argument #2 is of complex type
exec('./allpasslp2mb.sci',-1);
[n,d]=allpasslp2lp(0.3,%i);
//!--error 10000
//Wo must be real ,numeric and scalar
//at line 37 of function allpasslp2lp called by :
//[n,d]=allpasslp2lp(0.3,%i)
|
6d92d5c94ec9f82530c7fbf4a462a325ec50e465 | 449d555969bfd7befe906877abab098c6e63a0e8 | /55/CH7/EX7.1/7ex1.sci | 67caf6f11933a329e8e7713b5491f2f4982c5b2d | [] | 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,345 | sci | 7ex1.sci | S=[1,2,3,4,5,6]; //sample space for the rolling of a die
A=[2,4,6]; //event that an even number occurs
B=[1,3,5]; //event that an odd number occurs
C=[2,3,5]; //event that a prime number occurs
disp(union(A,C),'sample space for the event that an even or a prime number occurs')... |
6fdfa0e15c2a198b89989bb4743c08ae47dcf3b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2441/CH5/EX5.13/Ex5_13.sce | e15752a36a4fab8afae899b629c8e820d272aebb | [] | 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 | 615 | sce | Ex5_13.sce | //Example 5.13
clc;clear;close;
format('v',5);
G=4000;//MW
R=2;//Hz/p.u.MW////Speed regulation constant
H=5;//sec
C=600;//MW//Capacity
theta=40;//degree///Power angle
f=50;//Hz
disp("Part(a)");
T=C/G*cosd(theta);//sec
omega0=sqrt([2*%pi*f*T/H-(f/4/R/H)^2]);//radian/sec
disp(omega0,"Frequency of oscillation(... |
bac9471482b488b76c08209071b25214f25f5adf | 449d555969bfd7befe906877abab098c6e63a0e8 | /2732/CH10/EX10.8/Ex10_8.sce | ff10e034a673e2628f2a09ba1fea5bd39c14baa6 | [] | 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 | 723 | sce | Ex10_8.sce | clc
//initialization of variables
clear
w=64 //kg
H=60 //cm
b=40 //cm
h=5 //cm
E=0.12*10^6 //kg/cm^2
Es=2*10^6 //kg/cm^2
// for part (a) and (b)
I=b*h^3/12
del=4*w*120^3/(E*I)
P=w*(1+sqrt(1+(2*H/del)))
str=P*240*6/(b*h^2)
printf('part (a) and (b)')
printf('\n Maximum stress in wood = %d kg/cm^2',str)
pr... |
e072bac23c58ee224457f0ed385f93face5232d7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1922/CH9/EX9.10.b/9_10b.sce | d27c6bd4b3b7b84a1ec05f92b85bbb7090cdf5c6 | [] | 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 | 995 | sce | 9_10b.sce | clc
clear
//Initialization of variables
kp=1.09
kp2=0.154
feed=[ 1 5 0 0 0 ]
//calculations
x=poly(0,"x")
vec=roots(kp/4^4 /4 *(1-x)*(5-2*x)^2 *(6+2*x)^2 -x^5)
x=vec(5)
pro=feed- [x 2*x -x -4*x 0]
y=poly(0,"y")
vec2=roots(kp2*(0.273-y)*(0.727-y)*(7.454+2*y)^2 - 4*y^2 *(2.908+2*y)^2 *4)
y=vec2(4)
pro2=pro-... |
1f9f9552d43e2cbc55455085b2fb324817c376a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3640/CH4/EX4.7/Ex4_7.sce | d3181f4c86b55b85e85f850c5c47be2c1e6cc9dc | [] | 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 | 3,543 | sce | Ex4_7.sce | clc
//code uses userdefined function complexstring
function s=complexstring(a)
if imag(a)>=0 then
s=sprintf('%g+%gi',real(a),imag(a))
else
s=sprintf('%g%gi',real(a),imag(a))
end
funcprot(0)
endfunction
//dc test
Vdc=13.8 //dc voltage in volts
Idc=13 //di... |
21fd3f8495466ba2d73329f8d6c559cb3b80287f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1808/CH3/EX3.23/Chapter3_Exampl23.sce | 13274156ad90c7d0141909f5bf290e7a054601d0 | [] | 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,362 | sce | Chapter3_Exampl23.sce | clc
clear
//INPUT DATA
l=20;//Stroke in cm
d=15;//Bore in cm
N=400;//speed in rpm
Rc=22;//compression ratio
p1=101.325;//Pressure in kN/m^2
t1=303;//temperature in K
n1=1.3;//no of cycles
n2=1.35;//no of cycles
g=1.4;//constant
cp=1.005;//specific pressure
cv=0.718;//specific volume
R=0.287;//gas constnat... |
abb3918df3cbaa15a72207be819f8d3e33ef8414 | 993c10f7706af779d36ea4b5254792a34da554c1 | /ann/practice/Perceptron/perceptron.sci | 81628bde4f006555b4bcf079055b069edec90dbf | [] | no_license | francislz/college_codes | e1c113a29fcb704a243e5a942bf2c629157d315a | 41bbefbe13135eb2654815aeb546a44462847b87 | refs/heads/master | 2022-01-29T11:15:15.597217 | 2018-11-01T22:40:13 | 2018-11-01T22:40:13 | 155,784,263 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 149 | sci | perceptron.sci | // perceptron: function description
function y = perceptron(W, b, X)
u = W * X + b;
u(u >= 0) = 1;
u(u < 0) = 0;
y = u;
endfunction
|
6cab45e8502b9cfde2d18dd9435ec4c037a1c360 | 449d555969bfd7befe906877abab098c6e63a0e8 | /443/CH17/EX17.7/17_7.sce | a894d76be72aa0f7c934d15a560bdbcf578b390e | [] | 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 | 408 | sce | 17_7.sce | pathname=get_absolute_file_path('17_7.sce')
filename=pathname+filesep()+'17_7_data.sci'
exec(filename)
//Brake mean effecive pressure(D and L remain same as previous problem)
pbm=(P*60000)/(0.25*%pi*D^2*L*N*0.5)*10^-5
//Torque developed by the engine
T=(P*60000)/(2*%pi*N)
printf("\n\nRESULTS\n\n")
printf("\nBra... |
4669f74258a13d32c3dc381a1ef0fcc9c1d0d6bc | 449d555969bfd7befe906877abab098c6e63a0e8 | /2780/CH12/EX12.11/Ex12_11.sce | 520fe1f7eba812ed739cd503ba3874c37d202c67 | [] | 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 | 219 | sce | Ex12_11.sce | clc
//to calculate skin depth
f=10^8 //frequency
sigma=3*10^7 //conductivity of the medium
muo=4*%pi*10^-7 //permeability of free space
del=sqrt(2/(2*%pi*f*sigma*muo))
disp("skin depth is del="+string(del)+"m")
|
2d952b86ac7a5975897d25508f1ac9d0fb27467a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1727/CH2/EX2.16/2_16.sce | 0e732a8b89c37e2ba41ae0f731f56bf65a9867f8 | [] | 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 | 213 | sce | 2_16.sce | clc
//Initialization of variables
x=poly(0,"x")
//calculations
y=6*x^2 -6*x+1
z=roots(y)
//results
printf("For stability, s must be greater than %.2f and less than %.2f and must be less than 1",z(1),z(2))
|
70e44e3b884347022fa4bb411140b79e64c547c2 | 8217f7986187902617ad1bf89cb789618a90dd0a | /browsable_source/2.3/Unix-Windows/scilab-2.3/macros/percent/%rxr.sci | 37ef85b26c83fd6728d1cb3572812084d47188ff | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain",
"MIT"
] | 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 | 182 | sci | %rxr.sci | function f=%rxr(s1,s2)
// %rxr(r1,r2)=r1.*r2 r1,r2 rationals
//!
[s1,s2]=sysconv(s1,s2)
[num,den]=simp(s1(2).*s2(2),s1(3).*s2(3))
f=tlist(['r','num','den','dt'],num,den,s1(4))
|
bba2bcd5152bbe2356bfdfcb69b2cea978422363 | 0c7d100cb0cf4ca584a252d56aef57d8692e87bd | /Automatique/TP4/TP.sce | a813f584abd825a72cea7b20eecc37e171d76701 | [] | no_license | MacBootglass/insa | 1957913df94ce0742e19ec400e258fec032a3619 | 612acee69e8195f3202aede45fede79fabf47d01 | refs/heads/master | 2021-01-10T22:36:39.551539 | 2017-04-26T09:23:02 | 2017-04-26T09:23:02 | 54,901,623 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 5,540 | sce | TP.sce | clear;
clc();
xdel(winsid());
function [tm, tmBis, tr5, depassement] = cara(y, t, K)
tr5 = max([t(max(find(y>=(1.05*K)))), t(max(find(y<=(0.95*K))))]);
tm = t(min(find(y>=0.9*max(y))))- t(max(find(y<=0.1*max(y))));
tmBis = t(min(find(y>=K)));
depassement = ((max(y)-K)/K)*100;
endfunction
function [wc0... |
9da7f52ea350d10f8324fc3871d2f7897b2cdb17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3782/CH3/EX3.20/Ex3_20.sce | cf59899d11d7e8c822ba073f9c99a5e11b428ec1 | [] | 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,241 | sce | Ex3_20.sce |
//
//given
BB_AB=248+(15/60)
BB_BC=326+(15/60)
BB_CD=46+(0/60)
BB_DE=38+(15/60)
BB_EA=147+(45/60)
FB_AB=68+(15/60)
FB_BC=148+(45/60)
FB_CD=224+(30/60)
FB_DE=217+(15/60)
FB_EA=327+(45/60)
//(a)
includedA=-FB_AB+BB_EA
includedB=-FB_BC+BB_AB
includedC=BB_BC-FB_CD
includedD=360-(171+(15/60))
exteriorD=FB_DE-BB_CD
exte... |
830a7a89fbacf2141f336fe623ec1337a4437831 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2825/CH19/EX19.6/Ex19_6.sce | ccf84a3f33d1bcb7ba199e9c9c25e03fa6dc2431 | [] | 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 | 131 | sce | Ex19_6.sce | //Ex19_6 Pg-959
clc
dec=9 //decimal input
bin=dec2bin(dec) //binary output
disp("The binary equivalent of 9 is")
disp(bin)
|
16cb4dbd7e054d84182bc64091ece18bf50c5a5b | d8cab241a02c8d06f859a4adbf2748d68c08d385 | /Jacobi.sce | 06d67503f441924a7d8f6db5b86f72f8f058a8a4 | [] | no_license | eluire/CN | 6327b9619a6e00d2870912830393def2ca82b856 | e2027e0d20c549bb1a79ce830c6affcf4cbe1149 | refs/heads/master | 2021-09-16T07:13:23.367948 | 2018-06-18T10:51:21 | 2018-06-18T10:51:21 | 126,038,180 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 354 | sce | Jacobi.sce | clc
xold=zeros(4,1);
xnew=zeros(4,1);
p=5
i=0
while(1)
xnew(1)=((0.3*xold(2)+0.6*xold(3)+1.8)/3)
xnew(2)=((0.6*xold(1)+0.6*xold(3)+10.8)/6)
xnew(3)=((1.6*xold(2)+6.4*xold(4)-8)/8)
xnew(4)=((0.2*xold(1)+0.6*xold(2)-0.4*xold(3)+3)/2)
erro_rel=(max(abs(xnew-xold)))/(max(abs(xnew)));
xold=xnew
i=i+1
if(erro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.