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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82cfd24018cf56651d69aa03df78bb298c9a2210 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2093/CH1/EX1.3/exa_1_3.sce | 91fab23b29dfd61a95d55f7e13254777545016bf | [] | 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 | 253 | sce | exa_1_3.sce | // Exa 1.3
clc;
clear;
close;
// Given data
G=-10;
Ri= 100;// in kohm
R1= Ri;// in kohm
R1=R1*10^3;// in ohm
// Formula G=-R2/R1
R2= R1*abs(G);// ohm
disp(R1*10^-3,"Value of R1 in kohm is : ")
disp(R2*10^-6,"and value of R2 in Mohm is : ")
|
788713e5acdc3fa56e7b9803502c2ca95464dd76 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3523/CH12/EX12.17.8/Ex12_8.sce | c0b40cb69435eaa4561e39d85e750ec34da6c924 | [] | 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 | 699 | sce | Ex12_8.sce | //Example 8// Ch 12
clc;
clear;
close;
// given data
a=2;
b=5.3;
alpha=(b/a)^0.33;
r1=1.385;//radii of intersheaths in cm
r2=1.92;//radii of intersheaths in cm
r=1;//conductor radius in cm
ri=2.65;//sheath of inside radius in cm
V=66;//voltage in kv
Vpeak=66*sqrt(2)/sqrt(3);//peak voltage
V2=Vpeak/(1+1/a... |
76088b512e2e4f90117b5cc8ef9805a0cda22309 | 449d555969bfd7befe906877abab098c6e63a0e8 | /257/CH11/EX11.11/example_11_11.sce | cb661deb994e911b48a3eb9d1fbe602015fac069 | [] | 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,235 | sce | example_11_11.sce | s=poly(0,'s');
F=syslin('c',[1/((1+s)*s*(0.1*s+1))]) //without k
fmin=0.1; //Min freq in Hz
fmax=20; //Max freq in Hz
scf(1);clf;
bode(F,fmin,fmax); //Plots frequency response of ope... |
8222dbee5980153dab2244c7d4df4962dffff1b3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1358/CH3/EX3.21/Example321.sce | 89dfe9d5af635cab578d7d9066484934b17c0f14 | [] | 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 | 971 | sce | Example321.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Turbomachinery Design and Theory,Rama S. R. Gorla and Aijaz A. Khan, Chapter 3, Example 21")
disp("Hydraulic efficiency, etah, is given by")
disp("etah = Power given to runner/Water Power available")
disp(" = m ... |
0361670bda8869251ee4f7f41186db00cb4581e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1472/CH22/EX22.7/22_7.sce | 258d71a1ed50633a3432d816af5340f83a6063ea | [] | 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 | 22_7.sce | clc
//initialization of varaibles
HV=4344 //B/lb
xC=56 //lb
R=1.986
T=530 //R
MC=56 //g/mol
//calculations
HR=xC*HV
Eb=-HR -R*T*(2-3)
HV=-Eb/MC
//results
printf("COnstant volume heating value = %d B/lb ",HV)
|
72c71dd42f0640e32bea2703a29774544581a0b2 | 0812f3bb6f3cc038b570df68ccee4275da04b11f | /models/complexity_1000/Applied_Thermodynamics_and_Engineering/CH7/EX7.7/7_7.sce | 735781bee9fee1226f78371ac34bc44721bb897c | [] | 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 | 136 | sce | 7_7.sce | clc;
a=1;
c={6.31-2-(2*1.95)}/2
d=0.03+(0.79*30)
tds=a+c+d;
C=a/tds*100
O=c/tds*100
N=d/tds*100
disp(N,O,C,"analysis by volume is:");
|
e1e73b89df0ae6a4af00cf6d2be151a9da4c2248 | 67310b5d7500649b9d53cf62226ec2d23468413c | /tags/archive/TestCaseGenerator-Plugin-OpeningSequenceCoverage/trunk/tests/large-system-tests/inputs/jEdit/ground_truth/OpeningSequenceCoverage/length-1/max-150/t87.tst | 6f3ea140696206f3e145fa51a858ee6d3e83d4c0 | [] | no_license | csnowleopard/guitar | e09cb77b2fe8b7e38d471be99b79eb7a66a5eb02 | 1fa5243fcf4de80286d26057db142b5b2357f614 | refs/heads/master | 2021-01-19T07:53:57.863136 | 2013-06-06T15:26:25 | 2013-06-06T15:26:25 | 10,353,457 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 661 | tst | t87.tst | <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TestCase>
<Step>
<EventId>e50</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e68</EventId>
<ReachingStep>false</ReachingStep>
</Step>
<Step>
<EventId>e75</EventId>
<Reaching... |
184a941ef4eb12e23cc716ba638792f3cd3d95d3 | d6fbbd7ed46c204dc3d43ecf06c59bd29ae570e4 | /tests/ilc.tst | 1b0fe7cc860312c8bd0594af5d9cd063384682cf | [
"Zlib",
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | mstramb/hyperion | 24b368ca3d0c4c7a92cbcb2ac5d9d9dd712352d1 | 7890543f7982b2fa4c426469857c28230288adab | refs/heads/master | 2021-01-15T14:41:32.405500 | 2015-11-10T20:50:34 | 2015-11-10T20:50:34 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 623 | tst | ilc.tst | *Testcase ilc
sysclear
archmode z
r 60=00020000000000000000000000000000
r 70=0002000000000000000000000000DEAD
r 1A0=00000001800000000000000000000200
r 1D0=00000001800000000000000000000220
r 200=41F00C0041200021EB110240002FEB9B
r 210=0248002FAD440000A72C0002B2B20060
r 220=D213F000008C41F0F020D5010... |
05721d7b0d41a10d8e0f9be1982b672e7da9c860 | 449d555969bfd7befe906877abab098c6e63a0e8 | /132/CH5/EX5.2/Example5_2.sce | 6b49079dafd4f8472b8a9689d341a234ed1d21c1 | [] | 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 | 412 | sce | Example5_2.sce | //Example 5.2
//Program to Determine Dynamic Input Resistance of the Transistor at //the point: Ie=0.5 mA and Vcb= -10 V.
clear;
clc ;
close ;
//From the Input Characteristics
dIe=(0.7-0.3)*10^(-3); //A
dVeb=(0.7-0.62); //V
//Calculation
ri=dVeb/dIe; //Dynamic Input Resistance at Vcb= -10 V
//Displaying The... |
26ea6b115b7697806877d8f553d1deb2a429bdf0 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /sci2blif/sci2blif_added_blocks/vdd_i.sce | d1ccfce334e58461654b14f80d37b5b6f96c16f5 | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 221 | sce | vdd_i.sce | //************************** VDD IN Analog *****************************
if(blk_name.entries(bl)=='vdd_i') then
chgnet_dict=[chgnet_dict;'net'+ string(blk(blk_objs(bl),2+numofip))+"_..",'vcc ']
chgnet_tf=%t;
end
|
7f82397e23693f28c9cc36b9abb169c9fa811c26 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.1.1/macros/util/xdialog.sci | b85d0480a73160ca61ffefe8c7a7fad2138c0dcb | [
"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 | 473 | sci | xdialog.sci | function [rep]=xdialog(labels,vali)
//
if typeof(labels)<>'character'; write(%io(2),'First arg must be a string vector');
return;end
if typeof(vali)<>'character'; write(%io(2),'Second arg. must be a string vector');return;end
[m,n]=size(labels);
[m1,n1]=size(vali);
if n<>1, write(%io(2),'First arg. must be a column ve... |
0a4e5e1f5744f6e9d88f0409f7f1b9a7e2b40d8e | 449d555969bfd7befe906877abab098c6e63a0e8 | /3428/CH5/EX1.5.2/Ex1_5_2.sce | 460fbe1bd05d70456bd1ff45688be45582fb234b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 775 | sce | Ex1_5_2.sce | //Section-1,Example-2,Page no.-AC.437
clc;
E_m=3.4
V_m=0.7
E_f=69
V_f=0.3
A_c=250*10^-6
E_c=((E_m*V_m)+(E_f*V_f))
disp (E_c,'longitudinal modulus of elasticity(GPa)')
Q_c=60*10^6
A_c=250*10^-6
P_c=Q_c*A_c //P_c=P_f+P_m
disp(P_c,'Load carried by composite phases(P_c)')
P=((E_f*V_f)/(E_m*V_m))
/... |
f44f4a9681a0cc295293b51f4aeabeb6617b1d14 | 9ba84a7f7b27fc82fdfcfb8dd03498c4cc91f124 | /Parcial 2/DiazAgustin6.sce | 86757978e8bab8f103bdc9d5161008b23379b1c2 | [] | no_license | ignaciolitma/LCC-Metodos-Numericos | 8120eba09ea160e3252542373afc5ddad49a04c9 | e63728e5f15bb469dff205a74901a5b930e1271d | refs/heads/main | 2023-03-12T11:34:36.940908 | 2021-03-01T20:56:12 | 2021-03-01T20:56:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,912 | sce | DiazAgustin6.sce | // Resuelve el sistema lineal Ax=b con el método de gauss_seidel
// comenzando desde x con una tolerancia de eps
// con un máximo de iteraciones maxIter
// Además muestra la cantidad de iteraciones realizadas si se llegó a la condición de parada
function x = gauss_seidel(A, b, x, eps, maxIter)
n = size(A, 1)
xN... |
4bfa41580ee28af8493e7addbada79a3d3a07bcb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3754/CH10/EX10.1/10_1.sce | 80efb21efa8f8fc4cd01766effc4316ffd0ad35f | [] | 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 | 549 | sce | 10_1.sce | clear//
//Variables
R = 1000.0 //Resistance (in ohm)
sig = 5.8 * 10**7 //Conductivity in (Siemen per meter)
d = 10**-3 //diameter (in meter)
E = 10 * 10**-3 //Eletric field (in Volt per meter)
//Calculation
l = R *sig... |
c3d3848adf9ce3b73752f7e878c514ded89aa792 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3775/CH2/EX2.3/Ex2_3.sce | c0ac9e02ff52cc452f42469cf643706cf58e40b6 | [] | 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 | 304 | sce | Ex2_3.sce | //Ex 2.3 page 68
clc;
clear;
close;
m=16;// V/A (gradient)
t_on=4;// us
IG=500;// mA
VS=15;// V
VG=m*IG/1000;// V
//Load line equation
//VG=VS-IG*RS
RS=(VS-VG)/(IG/1000) ;// ohm
Pg=VS*(IG/1000)**2 ; // W
printf('Gate power dissipation = %.f W',Pg)
printf('\n Resistance to be connected = %.f ohm',RS)
|
eed2b8be61761d2b144492e2f7be497d97238370 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1655/CH6/EX6.22.3/Example_6_22_3.sce | 4faec4440c6db704c94550cd19eb0109cd3edf35 | [] | 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 | 479 | sce | Example_6_22_3.sce | // Example 6.22.3 page 6.73
clc;
clear;
beta0=1.85d7;
T=293; //temperature
k=1.38d-23; //Boltzman constant
Ea=0.9*1.6d-19;
theta=0.65; //thershold
betar=beta0*%e^(-Ea/(k*T));
t=-log(theta)/betar;
printf("\nDegradation rate is %.2e per hour.\nOperating lifetime is %.1e hour.",betar,t);
//answe... |
f2dcb6cc15a977bf642b3bf5902281779a981a3d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH8/EX8.6/Ex8_6.sce | 6130d98da909cf34e275b19a9badbcb5a7a848a9 | [] | 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 | 538 | sce | Ex8_6.sce |
// Ex8_6
clc;
// Given:
ma1=3321;// counts in 3 min
mb1=2862;// counts in 2 min
mab1=4798;// counts in 2 min
m=1080;// counts in 30 min
muk1=5126;// counts in 2 min
// Solution:
ma=ma1/3;
mb=mb1/2;
mab=mab1/2;
mbc=m/30;
muk=muk1/2;
t1=(ma+mb-mab-mbc)/(mab^2-ma^2-mb^2);// in min
t2=t1*60;// in seconds
... |
ea4654de1ba4e5d386a3dfb5a495f44cd3ee2212 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH1/EX1.7/Ex1_7.sce | b2a959dfc969d052938323cb80b8634bd4591c39 | [] | 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,349 | sce | Ex1_7.sce | clc,clear
//example 1.7
//To find values of all trigonometric functions for 60 degree
//take an equilateral triangle of side 2 and divide it by half
//all 3 angles of equilateral triangle are same as 60 degree
//the bisector of angle is also the perepndicual bisector of oppsoite side
// Thus, A=60 B=30 C=90 in ... |
74c1c14d6837730f32f479c1f51b9651642d173c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1868/CH6/EX6.8/Ch06Ex8.sce | 87f5842b0c5635636cc30a4d1546397a14bb97d4 | [] | 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 | 987 | sce | Ch06Ex8.sce |
// Scilab code Ex6.8: Pg 211 (2005)
clc; clear;
c = 1; // Assume speed of light to be unity, m/s
L = 0.200; // Width of the potential well, nm
h_cross = 197.3; // Reduced Planck's constant, eV.nm/c^2
m = 511e+03; // Mass of an electron, eV/c^2
U = 100; // Height of potential well, eV
delta... |
dc4eb7980f9f3fcb4586ab39ec7fd73e06d54331 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3440/CH15/EX15.5/Ex15_5.sce | e1f2068be7bb223a4d5ac052d7b0f1634e5a7b29 | [] | 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 | 119 | sce | Ex15_5.sce | clc
epsilonox=3.9
epsilonnitride=7
dnitride=1.5*(epsilonnitride/epsilonox)
disp(dnitride,"dnitride in nm is= ")
|
ed0b07a7786835fee5c9699980f981e5ff1a62be | 1bb72df9a084fe4f8c0ec39f778282eb52750801 | /test/X11S.prev.tst | fe0f8d4435d25baaa8f62cf7d7aa3bf06358af73 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gfis/ramath | 498adfc7a6d353d4775b33020fdf992628e3fbff | b09b48639ddd4709ffb1c729e33f6a4b9ef676b5 | refs/heads/master | 2023-08-17T00:10:37.092379 | 2023-08-04T07:48:00 | 2023-08-04T07:48:00 | 30,116,803 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,037 | tst | X11S.prev.tst | # flat Dutch.X11 - 4*m + 2*m^2 + 42
# flat Dutch.X11 16*m - m^2 + 21
# flat Dutch.X11 16*m + m^2 - 21
# flat Dutch.X11 4*m + 2*m^2 + 42
# merg Dutch.X11 - 4*x_y_z + 2*x_y_z^2 + 42
# merg Dutch.X11 16*x_y_z - x_y_z^2 + 21
# merg Dutch.X11 16*x_y_z + x_y_z^2 - 21
# merg Dutch.X11 4*x_y_z + 2*x_y_z^2 + 42
# orig... |
aafb85ce607234d2957f7a2960528d240c7b168e | 449d555969bfd7befe906877abab098c6e63a0e8 | /569/CH6/EX6.3/6_3.sci | f231b0bb086a91ef91bea875dd68d688af51e2d0 | [] | 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 | 133 | sci | 6_3.sci | // calculating the maximum output voltage
clc;
Sa=10;
disp(Sa, 'saturation voltage=')
Vom=Sa;
disp(Vom,'maximum output voltage') |
6a66655058d07853d3c701b5d10344beea35494c | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH26/EX26.3/26_3.sce | 7d8f7d3736bf02e7793ab3907b414b2d94adc23f | [] | 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 | 26_3.sce | pathname=get_absolute_file_path('26_3.sce')
filename=pathname+filesep()+'26_3data.sci'
exec(filename)
clear
Tr=T*L1/2;
mu=(8*G*t/(A*E*(b+a)))^0.5;
L=L1/2;
k1=((T*(b-a)*10^3)/(8*a*b*G*t));
k2=1/(mu*cosh(mu*L));
k3=((4*(b-a))/(a*b*(b+a)));
k4=(2*T*(10^3)/(a*b*G*t*(b+a)));
function[th]=f(z)
w=(k1*((k2*sinh... |
1f8049e77b8ab281b3bae84c5f08b653fad4d71a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1046/CH8/EX8.2/8_2.sce | 38bcd698bd5c147ffe2cb9e7acb81897252101ea | [] | 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 | 5,960 | sce | 8_2.sce | //Example 8.2
//Page no. 309
//Given
Cp=50 //tpd, plant capacity
T1=135 //C, Temp.
T2=40 //C temp.
T3=30 //C temp.
dt1=(T1-T2) //C hot end temp.
dt2=(T2-T3) //C cold end temp.
//Properties of ethylbenzene
rho1=840 //kg/m^3, density
cp1=2.093 //kj/kg K , ... |
4019e4c7fb02570a647af454ba18b583cedf9227 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.12.1/Ex8_12.sce | 8c7252acdcdec6bef8e9cd3995418c26c1607a45 | [] | 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,145 | sce | Ex8_12.sce | clc
clear
D=0.2;
L=0.3;
Vs=(22/7)*(1/4)*D*D*L;
Vc=0.04*Vs;
V3=Vc;
P2=9;
P1=1;
n=1.3;
V4=V3*[(P2/P1)^(1/n)];
V1=Vs+Vc;
W=[n/(n-1)]*[P1*100]*[V1-V4]*[((P2/P1)^((n-1)/n))-1];
R=0.287;
T1=15+273;
Md=[P1*(V1-V4)*100]/[R*T1];
Wpkg=W/Md;
printf('Word done per kg: %3.2f kJ/kg of air',Wpkg);
printf('\n');
... |
4eadf583c83e63f9fa5c77b149d8c3738b26693a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1226/CH7/EX7.1/EX7_1.sce | 7feefbd03c7a829ead4cd3c7210264cf2193691b | [] | 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 | 550 | sce | EX7_1.sce | clc;funcprot(0);//EXAMPLE 7.1
// Initialisation of Variables
D=20.3;................//Diameter in cm
L=30.5;.................//Length in cm
N=300;................//Engine rpm
eta=78;.................//Efficiency in percentage
afr=4/1;.................//Air Fuel Ratio
//Calculations
StV = ((%pi)/4)*((D/100)^2)... |
724289891c09777dc0e4e1ee629d30ff8af8e0c0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3411/CH15/EX7.4.u2/Ex7_4_u2.sce | 388285311d4f682537cd42f442bf3b99275ff38e | [] | 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 | 511 | sce | Ex7_4_u2.sce | //Example 7_4_u2
clc();
clear;
//To find the charge in the minority carrier concentration
ni=9.65*10^9 //units in cm^-3
nno=10^14 //units in cm^-3
//Before illumination
pno=ni^2/nno //units in cm^-3
//After illumination
tp=2 //units in us
tp=tp*10^-6 //units in sec
gl=(10^13/10... |
cf34bac7005f8914084aae784a1937b7c3ddcb74 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3772/CH10/EX10.1/Ex10_1.sce | 1cc6b94168808b2d201322f6af9467e52c3d3d24 | [] | 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,154 | sce | Ex10_1.sce | // Problem no 10.1,Page No.249
clc;clear;
close;
//Consider Equilibrium of joint A
//As there are no Load applied at A members AC and AB have nothing to Balance
//So they are null members
F_AB=0
F_AC=0
//Consider Equilibrium of joint B
//Applying the summation of horizontal forces we get
F_DB=4*(cos(45*%pi*180**-... |
f9c0474e3b297d5bbb586d26833382b05d14533b | 449d555969bfd7befe906877abab098c6e63a0e8 | /182/CH8/EX8.6/example8_6.sce | 750d58a8f899e4dcac601d09b2533b25b442076b | [] | 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 | sce | example8_6.sce | // To find the resistance R1 and R3 in fig 8-8
// example 8-6 in page 207
clc;
// Given data
R4=5e+3; L1=100e-3; Ls=500e-3; Rs=270; R3=1e+3; // resistances in ohm and inductances in henry
//calculation
printf("R3=%d K-ohm\n",R4*L1/(Ls*1000));
printf("R1=%d ohm",Rs*R3/R4);
//result
//R3=1 K-ohm
//R1=54 ohm |
e68a941d8fa07d86d4b0c6dd8a6db84318bb81fb | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH4/EX4.9/Ex4_9.sce | 30dfb596c4310c8c5dd8d1e4d7bed5b16a65fbed | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,322 | sce | Ex4_9.sce | //chapter 4
//example 4.9
//Show that given angles are successive order of difraction and find spacing constant
//page 79
clear;
clc;
//given
lambda=0.586; // in Angstrom (wavelength of X-rays)
n1=1, n2=2, n3=3; // orders of diffraction
theta1=5+(58/60); // in degree (Glancing angle for first order of diffract... |
3b7cb89cebed81c5cdf5569615504acefd46e1b0 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3784/CH1/EX1.21/Ex1_21.sce | 19f561f419625b6a77ff762059b805553a1a4e76 | [] | 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 | 928 | sce | Ex1_21.sce | clc
// Variable Initialization
Vm=230//Supply Voltage in Volts
Ra=0.75//Combined Field and Armature circuit resistance in Ohm
N=1300 //Motor speed in Rpm
V=210//Rated voltage of motor in Volts
a=45//firing angle in Degree
Kaf=0.03 //Constant in N-m/A^2
Kres=0.075 //Constant in V-s/Rad
//Solution
//For semi... |
5a55435811a22ced83aad20ed0e04d8664a6c2e4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.13/16_13.sce | c6a6665003cf5e0090a9fbaab795d6431d2b1e81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 1,053 | sce | 16_13.sce | //pathname=get_absolute_file_path('16.13.sce')
//filename=pathname+filesep()+'16.13-data.sci'
//exec(filename)
//Pressures(in bar):
p1=1
p10=20
//Temperatures(in K):
T1=300
T5=T1
T9=T1
//Clearance:
C=0.04
//Bore(in m):
D=0.30
//Stroke(in m):
L=0.20
//Index of compression:
n=1.25
//Gas constant(in kJ/k... |
5c62d3805bc0515b3f11a6996c848c7df30348e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH10/EX10.8/10_8.sce | db0510ccade4be53237386ac1d35d30e76d4ccb1 | [] | 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,553 | sce | 10_8.sce | clear;
clc;
printf("\t\t\tExample Number 10.8\n\n\n");
// effects of off-design flow rates for exchanger in example 10-7
// Example 10.8 (page no.-537-538)
// solution
// we did not calculate the oil flow in example 10-7 but can do so now from
q = 193;// [kW]
c_oil = 1.9;// [J/kg degree celsius] heat capac... |
b9458e292f6885e6657d2f389ecb6917f478a829 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH4/EX4.11/ques11.sce | 31a496d87b68a04e01563cd6db287198b25a97d4 | [] | 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 | 310 | sce | ques11.sce | clc
disp('for roles theorem F9x) should be differentiable in (a,b) and f(a)=f(b)');
disp(' Here f(x)=sin(x)/e^x');
disp('');
syms x
y=sin(x)/%e^x;
y1=diff(y,x);
disp(y1);
disp('putting this to zero we get tan(x)=1 ie x=pi/4');
disp('value pi/2 lies b/w 0 and pi. Hence roles theorem is verified');
|
9382f9d380c9e698c0c16f5fe9fd55249cb64f78 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3866/CH5/EX5.2/Ex5_2.sce | e43dc52bace94f88725f489a98865ec9530e71bc | [] | 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 | 434 | sce | Ex5_2.sce | clc; clear; close;
Wn1=400;//in nm
Wp1=400;//in nm
Wn2=200;//in nm
Wp2=800;//in nm
Vdd=1.8;//in volts
Vtp=0.5;//in volts
Vtn=0.5;//in volts
Ep=24;//in volts
En=6;//in volts
X1=sqrt((Wn1*Ep)/(Wp1*En));
Vs1=(Vdd+(X1*Vtn)-Vtp)/(1+X1);
X2=sqrt((Wn2*Ep)/(Wp2*En));
Vs2=(Vdd+(X2*Vtn)-Vtp)/(1+X2);
disp(Vs1,'Vs ... |
2e86c64993e3d5e6c68b7fb67de10829e63277b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1436/CH7/EX7.8/ex7_8.sce | 38350bca21cb94a8aa2d20553fb73f832e778ec0 | [] | 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 | 631 | sce | ex7_8.sce | //Example 7.8, page no-441
clear
clc
D=80
W=66.5
//(a)
printf("(a)\nThe intersection point of DB temperature 80°F and WB temperature 66.5°F \nlines on the relative humidity curve for 50%%.\n RH = 50%% ")
//(b)
printf("\n(b)\nFrom the point of intersection of the dry and wet bulb curves, move left \nhorizontally... |
ccee6dba1e3f12a372466db440db7f723c04355a | 449d555969bfd7befe906877abab098c6e63a0e8 | /551/CH13/EX13.44/44.sce | 89a9f4fe8dea09f56a8173879514704bbd16c3fd | [] | 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 | 44.sce | clc
m_a=20; //kg/s
T1=300; //K
T3=1000; //K
rp=4; //rp=p2/p1
cp=1; //kJ/kg K
y=1.4;
T2=T1*(rp)^((y-1)/y);
T4=T3-T2+T1;
//p5/p4=(p5/p3)*(p3/p4)
//let p3/p4=r1
r1=(T3/T4)^(y/(y-1));
//r2=p5/p4;
r2=1/4*r1;
P_ratio=1/r2; //Pressure ratio of low pressure turbine
disp("Pressure ratio of low pressure turb... |
5f9c6af23f2b619b6ecd4c380e4239f8403b4a9e | 717ddeb7e700373742c617a95e25a2376565112c | /278/CH9/EX9.2/ex_9_2.sce | 8416bfd1c6d52efa049cc1d238899b85feec9ec8 | [] | 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 | 700 | sce | ex_9_2.sce | //find the efficiency of following rivet joints
clc
//solution
//given
t=6//mm
d=20//mm
ft=120//N/mm^2
T=90//N/mm^2
fc=180//N/mm^2
p=50//mm
pi=3.14
Pt=(p-d)*t*ft//N//tearing resistance of plate
Ps=(pi/4)*d^2*T//N//shearing resistance of rivet
Pc=d*t*fc//N//crushing resistance of rivet
P=p*t*ft//N//strengt... |
34506f7862e64fb1c7adbbc6f57617c163dc512c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1962/CH9/EX9.7/example9_7.sce | 7072f5d914d7e8626467c35a4923b2621bdc8735 | [] | 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 | 314 | sce | example9_7.sce |
//example 9.7
//page 320
clc; funcprot(0);
//initialisation of variable
epsilon=0.025;//roughness
L=500;
pi=3.14;
g=9.81;
Q=0.1;
S=5.43/100;
K=Q/sqroot(S);
//solving for D
deff('y=f(D)','y=3.14/4*sqroot(2*9.81)*(2*log10(D/0.025)+1.14)*D^2.5-.3');
[x]=fsolve(0.1,f);
disp(x,"diameter(m):");
clear
|
27b9caa70485330a6777ef5313dd412e5e3f441b | 449d555969bfd7befe906877abab098c6e63a0e8 | /68/CH5/EX5.19/ex19.sce | 14feeed58653d63de1c01056fcee4f016699803e | [] | 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 | 742 | sce | ex19.sce | // Example 5.19 : To select values of capacitance required
R_B=100000; // (ohm)
r_pi=2500; // (ohm)
R_C=8000; // (ohm)
R_L=5000; // (ohm)
R_sig=5000; // (ohm)
B=100; // beta value
g_m=0.04; // (A/V)
r_pi=2500; //(ohm)
f_L=100; // (Hz)
r_e=25; // (ohm)
R_C1=R_B*r_pi/(R_B+r_pi)+R_sig; // Resistance seen by C_C... |
421db7589c768e3b55b2d24f15afd4d3830e8395 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1529/CH8/EX8.3/8_03.sce | 3d6a2f7051ba069b3ac8d0cbf81c6f936ec087e6 | [] | 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 | 560 | sce | 8_03.sce | //Chapter 8, Problem 3
clc;
F=1.92;
l=400*10^-3;
B=1.2;
I=F/(B*l);
printf("Current = %f A\n\n\n",I);
printf("If the current flows downwards, the direction of its");
printf(" magnetic field due to the current alone will be clockwise when viewed from above.\n");
printf("The lines of flux will reinforce (i.e. str... |
fe24b64b2d6532503afb50857dc5e88458fc6111 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1544/CH8/EX8.3/Ch08Ex3.sce | aaf8e482d9798d8d20eb9ef6e8a51a858198c9fb | [] | 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 | 911 | sce | Ch08Ex3.sce | // Scilab code Ex8.3: Pg 258 (2008)
clc; clear;
E = 110; // Value of d.c. voltage supply, volt
L = 1.5; // Inductor value, henry
R = 220; // Value of series resistor, ohm
// Part (a)
di_dt = E/L; // The initial rate of change of current through inductor, H
printf("\nThe initial rate of change of cu... |
29912fb765de4bce0b2938939eb159239cc3f1b6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1898/CH3/EX3.5/Ex3_5.sce | 72a67ec2f41f96deafbb873270f4823341a32593 | [] | 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,077 | sce | Ex3_5.sce | clear all; clc;
disp("Scilab Code Ex 3.5 : ")
//Given:
//Refer to the graph of shear stress-strain of titanium alloy.
x_A = 0.008; //rad - x co-ordinate of A
y_A = 360; //MPa - y co-ordinate of A
height = 50;//mm
l = 75; //mm
b = 100; //mm
//Calculations:
//Shear Modulus:
G = y_A/x_A;
//Proporti... |
d667e3435af0cdce08ab611cb85ab62434f6e8ee | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/mtlb/mtlb_all.sci | a6690e5f505cd07f4a5cf67b55016ce4fb5dd555 | [
"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 | 144 | sci | mtlb_all.sci | function r=mtlb_all(a)
// Copyright INRIA
if type(a)==4 then a=bool2s(a);end
if size(a,1)==1|size(a,2)==1 then
r=and(a)
else
r=and(a,1)
end
|
08051a628cedd77a9b45af084893b8f35f82a3da | 27fecbbeb6c49dcf03b9bddf1b867c31e13a3825 | /Simulações/Relatório 03/tarefa 3.sci | 25737193862a5edd556bc3970cb85d4a178e7ecc | [] | no_license | LucasHattoriCosta/Poli | 42c9fc2d34c31e01336265fbdac3e4921d56e096 | b1ac609c3675539b4e921909c35ea196ffc44df3 | refs/heads/master | 2023-03-15T12:22:03.745943 | 2020-06-29T17:32:48 | 2020-06-29T17:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,584 | sci | tarefa 3.sci | clear
clc
//Lista de exercício 3 - 3º Tarefa
//Dados
pi = %pi
r = 0.001; // raio da esfera em metros
rho = 7850; //densidade do aço em kg/m^3
g = 9.8; //m/s^2
m = (4/3)*pi*(r^3)*7850 // massa em kg
R=1;//Raio da circunferencia geradora
//Condições iniciais
s0 = -1/10;
v0 = 0;
S0 = [s0;v0];
//Espaço de estados
function ... |
2f3f528d59662aa6edb64f0f0dcf5730858dceba | 449d555969bfd7befe906877abab098c6e63a0e8 | /944/CH6/EX6.2/example6_2_TACC.sce | d549c654c2d648b92d7b2b851e1ed3746360d17c | [] | 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 | 444 | sce | example6_2_TACC.sce | //example 6.2
clear;
clc;
//Given:
T=500;//Temperature[K]
P=100;//Pressure[atm]
a=3.61;//van der waals constant for CO2[atm.L^2.mol^-2]
b=0.0429;//van der waals constant for CO2[L.mol^-1]
R=0.082;//Universal gas constant[atm.K-1.mol^-1]
//To find the molar volume of CO2
x=b+(R*T/P);
y=a/P;
z=a*b/P;
p... |
6ba651b95e0c3c41d9f234a26be2b8ec78198c2e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1652/CH12/EX12.6/12_6.sce | b239969edf2392253f402d2d9b75c46fb2f29408 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 183 | sce | 12_6.sce | clc
//Initialization of variables
Hv=539.6 //cal/g
T=273.2+100 //K
//calculations
Kb=1.987*T^2 /(1000*Hv)
//results
printf("Molal elevation constant = %.3f deg /mole /kg",Kb)
|
b64000941bdf04d4fb1517a422d779a3583f23ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /3136/CH2/EX2.8/Ex2_8.sce | 40e54094b0d184136abc82c3de4ed8ee01afa9ac | [] | 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 | 993 | sce | Ex2_8.sce | clear all; clc;
//This numerical is Ex 2_2S,page 30.
//The value given in the book for N_m is 1315,but on calculating the true value is found out to be 1304.35
P_ho=22.4//hydraulic output power
Q=0.14//flow rate at best efficiency point
g=9.8
rho=998
H_p=97.5
N=600
delta_pm=P_ho/Q
printf("Value of dischar... |
4b304f53665b71b7c0a69097d5ab196774490e9b | 449d555969bfd7befe906877abab098c6e63a0e8 | /632/CH9/EX9.13/example9_13.sce | 0e054cf37521c086da2b63ff28284efef6c9b64f | [] | 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 | 881 | sce | example9_13.sce | //clc()
//Ss = solid flow rate,
Pwaterin = 25;//%
Pwaterout = 5;//%
X1 = Pwaterin/(100 - Pwaterin);//kg water/kg dry air
X2 = Pwaterout/(100 - Pwaterout);//kg water/kg dry air
//form humidity chart,
Y2 = 0.015;//kg water/kg dry air
Y1 = 0.035;//kg water/kg dry air
m = 1;//kg of dry air
//Ss * X1 + Y2 = Ss * X... |
b3e1e2462d8d11c10975f6afcf13fba935745122 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH1/EX1.9/1_9.sce | 9c203b5d9bd3603d9746d6878fe5958499e3f568 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 169 | sce | 1_9.sce | clc
//initialisations
ht=65//cm
h0=-5//cm
t=273//c
//CALCULATIONAS
h100=h0+(100*(ht-h0)/t)
l=(1+(t/273))
H=(ht-(h0*l))/(l-1)
printf(' temperature= % 1f cm',H)
|
955bb7d18ff6ba58ba50e053f12db8ea2e020488 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3673/CH6/EX6.a.1/Example_a_6_1.sce | cdbcc450b2b3d681427fbda5d423b4d5fd398549 | [] | 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 | 532 | sce | Example_a_6_1.sce | //Example_a_6_1 page no:233
clc;
Vmag=250;
Vang=100;
Imag=15;
Iang=30;
theta=100-30;
pf=cosd(theta);
active_power=(Vmag/sqrt(2))*(Imag/sqrt(2))*pf;
reactive_power=(Vmag/sqrt(2))*(Imag/sqrt(2))*sind(theta);
apparent_power=(Vmag/sqrt(2))*(Imag/sqrt(2));
disp(pf,"the power factor is ");
disp(active_power,"the ... |
0333d0194579a3557f6ded12478b26a28e925299 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH1/EX1.9/Ch01Ex9.sce | a486fb6a6d3738e63d996c36b0660be249092938 | [] | 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 | 736 | sce | Ch01Ex9.sce | // Scilab code Ex1.9: Pg:21 (2008)
clc;clear;
h = 6.62e-034; // Planck's constant, joule-sec
c = 3e+008; // Velocity of light, m/s
m_0 = 9.1e-031; // Rest mass of an electron, kg
m = 1836*m_0; // Mass of a proton, kg
E = m_0*c^2; // Energy of an electron, joule
// Since (1/2)*m*v^2 = 81.9e-015, s... |
8112c3e49279307d04f03ceedcd9fb88903b663f | 449d555969bfd7befe906877abab098c6e63a0e8 | /767/CH4/EX4.7.4/Ch04Exa4_7_4.sci | b4801fd6dddfe5d21eeb59d4f9bd500d87bbb7e6 | [] | 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 | 614 | sci | Ch04Exa4_7_4.sci | // Scilab code Exa4.7.4: To determine the power produced by 100 milligram of Cf-252 : Page 191 (2011)
N = 6.023e+023/252*0.1; // Number of nuclei in 100mg of Cf-252
t_h = 2.62*365*24*3600; // Half life of Cf-252, s
D_c = log(2)/t_h; // Decay constant, s^-1
F_r = N*D_c; // Fission rate, fissions/s
E = 210*1.6e-01... |
7877f37b91496cc536c9a03ada2f3a48147ab89d | 592b1b7dfaefd62d755737ac7b6e81f44f7786ba | /1a Program for iterative calculation..sce | fedf38576ec3c7f6a7722273f06925e7ef9f1f08 | [] | no_license | muitnet/Numerical-and-Statistical-Methods-sem2-fybscit-mumbai-university | 841143b72d52229c68bcd0666ed10c844c02f507 | 2d1c638b881f3e418a982baa02632effd03ae5fe | refs/heads/master | 2021-01-19T07:23:05.463429 | 2017-04-07T11:54:24 | 2017-04-07T11:54:24 | 87,540,712 | 6 | 5 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | 1a Program for iterative calculation..sce | clear;
n=3;
es=0.5*(10^(2-n));
x=0.5;
f(1)=1; //first estimate f=e^x=1
ft=1.648721; //true value of e^0.5=f
et(1)=(ft-f(1))*100/ft;
ea(1)=100;
i=2;
while ea(i-1)>=es
f(i)=f(i-1)+(x^(i-1)) //(factorial(i-1));
et(i)=(ft-f(i))*100/ft;
ea(i)=(f(i)-f(i-1))*100/f(i);
i=i+1;
end
for j=1:i-1
... |
18053dfdf2648959d0c098f72015b4e61bc5b19e | 87749481136b7b72a47930f587f27667e0c0f97d | /ADC/HW_2.sce | f4f09274479f2258cc0c3f01c7a1738696af419d | [
"MIT"
] | permissive | brooky56/Digital_Signal_Processing | cf15e5ac443a16edcb3efc8d7703cf4746dedcba | f28651e40b0a99b79e9ba27deabc4db8bfc7f08e | refs/heads/master | 2022-06-30T17:59:28.072522 | 2020-05-11T18:58:39 | 2020-05-11T18:58:39 | 242,598,653 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 516 | sce | HW_2.sce | b = chdir('C:\Users\work\OneDrive\Documents\SciLab\lab_v2')
exec('ADC.sce')
n = 1
fs = 22050
quant_levels = linspace(-1, 1, 10)
//Task 1
recorded_data = ADC(n, quant_levels, fs)
f = figure(1) // set figure's number
clf // clear figure
plot(recorded_data)
gca.data_bounds = [0,-2; fs,2]
xlabel('Samples')
ylabel('Amplit... |
9b20984ea764476943f7dcaae56222faf8431c4e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1301/CH2/EX2.17/ex2_17.sce | 8f9f884a3ca95dac3e4d73cd2e7497a9a431d2e9 | [] | 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 | 311 | sce | ex2_17.sce | clc;
h=0.78; //height in m
g=9.8; //gravitational constant in m/sec square
v=0.5; //velocity in m/sec
t=sqrt((2*h)/g); //calculating t
disp(t,"Time required in sec = "); //displaying result
s=v*t; //calculating distance
disp(s,"Horizontal distance in m = "); //displaying result |
bbbf831db16629c0e6601ff8f75b19288112cb32 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3768/CH5/EX5.10/Ex5_10.sce | 33648079250a97af1ae1be3272e693c53b97499e | [] | 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 | 330 | sce | Ex5_10.sce | //Example number 5.10, Page number 88
clc;clear;
close;
//Variable declaration
delta_x=10**-8; //length of box(m)
m=9.1*10**-31; //mass(kg)
h=6.626*10**-34; //plank constant
//Calculation
delta_v=h/(m*delta_x)/10**3; //uncertainity in velocity(km/s)
//Result
printf("uncertainity in velocity is %.1f km/s"... |
74edb1d0fa4c60745228fc1f613689c0cf27952c | 4b3c8d2302d37ad5981adb6f68fae3db1d9820c8 | /getPhoto.sci | bf506fced5b7fbcb06c9568c89924bf010b6414f | [] | no_license | mayank1513/littleBird_RD_ResourceManagementSystem | 002d19579b3b55a314450ec75d2874131741564b | 090d016248164580defc9b4629ba54c9dc362949 | refs/heads/master | 2020-03-15T04:48:31.637752 | 2018-05-03T09:46:53 | 2018-05-03T09:46:53 | 131,970,842 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 289 | sci | getPhoto.sci | function [img, lowResPath, highResPath] = getPhoto(path)
img = imread(path);
f = createWindow();
imdisplay(img,f);
// set(f,'layout','border');
i = uicontrol(f,'style','image','string',path,'position',[20,20,200,200],'scrollable','on');
disp(size(img));
endfunction
|
18959ca20f8619779135c9967d9ba9b7e1414caf | 252afc91ba28b756933a991d31ef55637fe22e1c | /sciptr-draft.sce | 0ce48929ab5524a778e12d360ec8be441a03914a | [] | no_license | vlad-tymoshchyk/scilab-labs | 3006b74ed31bf208b5879c28dfa6d9d95e265924 | b4ad3550c84f84ef6567f54c6c613bb0aad99551 | refs/heads/master | 2020-04-29T15:03:25.425334 | 2019-06-03T04:47:57 | 2019-06-03T04:47:57 | 176,215,564 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,374 | sce | sciptr-draft.sce | function ask(node)
disp(node);
if (node(2) == 'ENDPOINT')
disp('Result: ' + node(1));
else
disp(node(1));
res = input('','string');
if (part(res,1) == 'y')
ask(node(2))
else
ask(node(3))
end
end
endfunction
a = "Does the conflict involve a Warwaw Pact or other Soviet allied ... |
e8144d71fcee11136ac69c03ea6374ad6c88e2b7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH8/EX8.4/8_4.sce | 3e9482445c97c25e8bd0e3de7dad7301985766d0 | [] | 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 | 547 | sce | 8_4.sce | ////
//Varialble Declaration
gama = 71.99e-3 //Surface tension of water, N/m
r = 2e-5 //Radius of xylem, m
theta = 0.0 //Contact angle, rad
rho = 997.0 //Density of water, kg/m3
g = 9.81 //gravitational acceleration, m/s2
H = 100 //Height at top of redwood tree, m
//C... |
30bf79ba4f9a36fbed074179ce1507d9f941ffc0 | eb7eeb04a23a477e06f3c0e3d099889caee468b4 | /src/examples/scilab/test1.sce | 991888fac8077647030ed8fa341462644c661059 | [] | no_license | mikeg64/iome | 55699b7d7b3d5c1b006d9c82efe5136b8c909dfd | cc1c94433133e32776dcf16704ec4ec337b1b4a0 | refs/heads/master | 2020-03-30T15:57:33.056341 | 2016-04-13T09:24:27 | 2016-04-13T09:24:27 | 151,387,236 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 605 | sce | test1.sce | //used under linux
//tdp=getenv('SCILAB_HOME')+'/share/scilab/contrib/iome_toolbox/loader.sce';
tdp='/usr/share/scilab/contrib/iome_toolbox/loader.sce';
//following used under windows
//tdp=getenv('SCILAB_HOME')+'/contrib/iome_toolbox/loader.sce';
exec(tdp);
elist=iome('localhost',8080,0);
addparamdouble('f1',27,elist... |
95bd3396b320070f7a7239a0e779d865020114d5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1979/CH10/EX10.12/Ex10_12.sce | cf2eb48a8761da0b0df18bcaef0d38a2589be914 | [] | 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 | 695 | sce | Ex10_12.sce | //chapter-10 page 490 example 10.12
//==============================================================================
clc;
clear;
D=3;//dimension of a paraboloid in m
f=3*10^9;//frequency (S band) in Hz
c=3*10^8;//Velocity of light in m/sec
//CALCULATION
w=c/f;//wave length in m
BWFN=140*(w/D);//BeamWidth b... |
ad52e44fe23d4273e3fcd4ed936b8ad80cf223fb | 118697027baebb7cec4f981d884eb60ce55b3ebc | /galtonGUI.sce | fb31f6d23a02360ef8837fe88ea3ea75ed250ba5 | [] | no_license | ambirpatel/Simulation-of-Galton-Board-on-Scilab | edf79654f34484578d34be9d64cf710be559c59f | 1ac501f94f06cc0fe62642a19cb48f0df6599226 | refs/heads/master | 2020-09-07T12:52:29.333567 | 2019-11-10T17:11:05 | 2019-11-10T17:11:05 | 220,787,415 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,839 | sce | galtonGUI.sce | // This GUI file is generated by guibuilder version 4.2.1
//////////
f=figure('figure_position',[400,50],'figure_size',[640,480],'auto_resize','on','background',[33],'figure_name','Graphic window number %d','dockable','off','infobar_visible','off','toolbar_visible','off','menubar_visible','off','default_axes','on','vis... |
1a4a419813645f785692067a4feb12ce39cb87c1 | 17dd6e9c9459b72f85b0a71f73e670abf1ca9f4e | /Wiskunde1/cursus/oud/figuren/telproblemen/dollars.sce | e3e8dc3ec1cbcc80bedf872b2b0fcb0092e157c8 | [] | no_license | Woumpousse/KHL | e80c9a00bf71321539b218d8ec047883a9c2fc91 | 066a06c131c617e8be9ec6ac2f4c76b637aba34e | refs/heads/master | 2020-12-24T13:18:20.656259 | 2014-09-29T16:14:00 | 2014-09-29T16:14:00 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 139 | sce | dollars.sce | e=input("Bedrag in euros: ");
t=input("Wisselkoers: ");
d=e*t;
disp("Het bedrag in dollar: "+string(d))
printf("Het bedrag is %f dollar",d) |
fee8d4ea8f88555267634b6c058d13ae3226659b | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH2/EX2.14/Ex2_14.sce | 37cd4e88d6a89cf323d253716df12d8832857e4f | [] | 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 | 73 | sce | Ex2_14.sce | //Ex:2.14
clc;
clear;
close;
printf("Two 100 ohm resistor of 1 W");
|
77d108ef13eb35e1ea38b8caec436a99a0029c72 | 449d555969bfd7befe906877abab098c6e63a0e8 | /24/CH15/EX15.8/Example15_8.sce | 92a6b352003d56cc400099010346699deadd7275 | [] | 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 | 382 | sce | Example15_8.sce | exec('Bernauli.sci', -1)
//Given that
density_Ethanol = 791 //in kg/m^3
A1 = 1.20*10^-3 //in m^2
A2 = A1/2
//Pressure in narrower section is lesser
deltaP = -4120 //in N/m^2
//Sample Problem 15-8
printf("**Sample Problem 15-8**\n")
A = [A1, A2]
density = density_Ethanol
h = 0
V = fsolve([0, 1], Berna... |
4f175bc1c8c97274672189a7fe7a2fb87e833753 | 449d555969bfd7befe906877abab098c6e63a0e8 | /887/CH1/EX1.7/1_7.sce | 0375343eb1f43f48daaf0e95853289fccb752d96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 365 | sce | 1_7.sce | clc
//ex1.7
R_1=10;
R_2=5;
V_R_2=15; //voltage across R_2
a=0.5;
i_y=V_R_2/R_2; //current across R_2
i_x=i_y*2/3; //current across R_1, by applying KCL at the top end of the controlled source
V_x=i_x*R_1; //ohm's law
V_s=V_x+V_R_2; //KVL around the periphery of the circuit
disp(V_s,'... |
207bf7691aae15393fe17e5dca2c635ef592c0d3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /746/DEPENDENCIES/10_12.sce | 6dfe1e93319fda334ddfcb5e5b2d8e1a9250cb25 | [] | 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,364 | sce | 10_12.sce | //Power required//
pathname=get_absolute_file_path('10.12.sce')
filename=pathname+filesep()+'10.12-data.sci'
exec(filename)
//From given graph, for maximum delivery condition, Q=48.5gpm.
//Volume of oil per revolution delivered by the pump(in in^3/rev):
vc=Qe/N*231
//Volumetric Effciency of pump at max flow:
Ef... |
ee3b2341daba032e159eccf29b564b61bd25c980 | 8781912fe931b72e88f06cb03f2a6e1e617f37fe | /scilab/qscatter/qscatter.sce | 33ea39cbe0adf306245b5765064cb6f754fae658 | [] | no_license | mikeg2105/matlab-old | fe216267968984e9fb0a0bdc4b9ab5a7dd6e306e | eac168097f9060b4787ee17e3a97f2099f8182c1 | refs/heads/master | 2021-05-01T07:58:19.274277 | 2018-02-11T22:09:18 | 2018-02-11T22:09:18 | 121,167,118 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 351 | sce | qscatter.sce | //qscatter
exec('v.sce');
exec('f.sce');
exec('u.sce');
exec('tdl.sce');
exec('sigma.sce');
exec('numerov.sce');
//partial wave analysis of scattering
deltah=0.01;
nsteps=200;
global m
global hb
m=938*10^9;
hb=6.59*10^(-13);
//2m/hb^2=6.12meV^-1(sigma)^-2
sig=zeros(nsteps);
for i=1:nsteps
e=i*0.05;
k=sqrt(2*m*... |
7a4b7e8e2d70f46f94df8a47e8d51e46fd21ec54 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1760/CH2/EX2.84/EX2_84.sce | c9382272d55810aa7a6df4d41854dd197ad5cae9 | [] | 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 | 816 | sce | EX2_84.sce | //EXAMPLE 2-84 PG NO 121-122
L=0.01; //Inductance
C=0.04*10^-6; //Capacitor
Fo=1/[2*%pi*(sqrt(L*C))];
disp('i) Resonant Frequency (Fo) is = '+string (Fo) +' Hz ');
Z=50;
R=Z;
V=100;
Io=V/R;
disp('ii) Current (Io) is = '+string... |
d39ab4c1ef62d48ccf35a5ae76f45da132a49a7b | 13c3ed7bef4d80dabd836219bbf4396f07cb934a | /demo.sci | 361d57a6344beb6e0ad1c583500b7b31a4f26d80 | [] | no_license | Mushirahmed/scilab_workspace | 99f489a110a5e295ce9fca9991122d14840018d3 | f58b91b87bb0357fff82dcb97b05541e7e976eca | refs/heads/master | 2021-01-10T15:48:40.576771 | 2016-02-10T10:32:46 | 2016-02-10T10:32:46 | 43,348,489 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 216 | sci | demo.sci | function ydot = f(t,y)
ydot=[a-y(2)*y(2)-1;1 0]*y
endfunction
a=1;y0=[1;0];t0=0;instants = 0:0.02:20;
y=ode(y0,t0,instants,f);
plot2d(y(1,:),y(2,:),style=-1,rect=[-3,-3,3,3],nax=[10,2,10,2])
xtitle('Van der pol') |
c30bdf154730f23582c5ce0fe379a18f73b8f97e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1850/CH5/EX5.2/exa_5_2.sce | 348bbb48c8c290ccce7ea9e6faa51dc733f973de | [] | 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 | 275 | sce | exa_5_2.sce | // Exa 5.2
clc;
clear;
close;
// Given data
Rf= 12;// in k ohm
Rs1= 12;// in k ohm
Rs2= 2;// in k ohm
Rs3= 3;// in k ohm
Vi1= 9;// in volt
Vi2= -3;// in volt
Vi3= -1;// in volt
Vout= -Rf*[Vi1/Rs1+Vi2/Rs2+Vi3/Rs3];// in volt
disp(Vout,"Output voltage in volt");
|
7cc7973b90b04e6df553718ee1af80d890cd83c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3689/CH18/EX18.3/18_3.sce | 3e5794cffc6db08d63b7bf047e12297e99e67dfe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 349 | sce | 18_3.sce | ////
//Variable Declaration
t1by2 = 2.05e4 //Half life for first order decomposition of N2O5, s
x = 60. //percentage decay of N2O5
//Calculations
k = log(2)/t1by2
t = -log(x/100)/k
//REsults
printf("\n Rate constant of the reaction: %4.3e 1/s",k)
printf("\n Timerequire for 60 percent d... |
505906f45d9758d51843a8a69c1ef049e4fdd3f7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH3/EX3.17/Ex3_17.sce | 2623a1f4b55308c693b0e0be5487ed22b23b573b | [] | 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 | 824 | sce | Ex3_17.sce | //===========================================================================
//chapter 3 example 17
clc;
clear all;
//variable declaration
R1 = 500; //resistance in Ω
R2 = 615; //resistance in Ω
R3 = 100; //resistance in Ω
dR1 = 1; //limiting error(dR1/R1) in %
dR2 ... |
b1e3b87e4fd55bcb972f52c7f2d8749152d4caef | 449d555969bfd7befe906877abab098c6e63a0e8 | /2993/CH2/EX2.2/Ex2_2.sce | 18849a30fd88aaa93374152cbc5c1ba22c38fba3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 121 | sce | Ex2_2.sce |
clc;
clear;
//The size of retinal image x :
x = ((17 * 10)/50);
disp(x,'The size of the retinal image (in mm) is ');
|
c8e70f38237c8a6af4b1b04a50e13cef5d1f90d4 | 7d5f639d96c00f6068c51c15df7b40cf8e959f09 | /code/q3a5.sci | 0a6f00892e0997c7d6a4f196f40ec11987a69ddb | [] | no_license | XAMEUS/MN | daf13aac1f92cf5137e55189e8d23bb42fe1a747 | 36e3f0e34c07641cdee4b401a98478822e0dee46 | refs/heads/master | 2021-03-24T11:50:44.826039 | 2017-05-02T19:54:26 | 2017-05-02T19:54:26 | 86,677,617 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,743 | sci | q3a5.sci | // Question 3
function [l, m]=factorisation_cholesky(D, SD)
// arg: la diagonale et la sous-diagonale d’une matrice M symétrique définie
// positive et tridiagonale.
// return: deux vecteurs l (diagonale) et m (sous-diagonale) issus de
// la matrice résultante de la factorisation de cholesky.... |
9e3cd52a9ef76fb64992f4b836eb6310c1c2e182 | 45c1200ec894e793587fc6d8f30253e69ecec19a | /neiro/laba2/bin/Debug/линейно неразделимые 3D.tst | 9136323f5a3de8127ccce3e680d9ae121fdacd03 | [] | no_license | dShadowHS/dShadow | 46c0df8f6715948d2b952de001f1f8748861eb1d | 0b4c4674d137160d09e5bb9092ff0d2253818dd0 | refs/heads/master | 2021-01-11T23:11:28.661559 | 2017-01-10T17:12:41 | 2017-01-10T17:12:41 | 78,555,391 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,032 | tst | линейно неразделимые 3D.tst | 342,088;171,973;74,718;0
354,16;168,431;84,581;0
350,448;172,931;72,805;0
347,242;169,711;79,125;0
347,767;165,262;60,921;0
348,84;169,171;78,651;0
350,192;174,312;77,642;0
340,379;162,446;68,093;0
341,089;173,656;71,622;0
354,351;178,411;71,611;0
350,193;172,047;76,929;0
341,858;161,751;85,515;0
337,029;17... |
4530a51ab2bd614713fd74a989a24877ab928426 | 717ddeb7e700373742c617a95e25a2376565112c | /32/CH3/EX3.17/3_17.sce | 7473d30362f304b5fd2f3c49b7c7246f923e1b45 | [] | 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 | 1,032 | sce | 3_17.sce | //pathname=get_absolute_file_path('3.17.sce')
//filename=pathname+filesep()+'3.17-data.sci'
//exec(filename)
//Initial pressure(in MPa):
pi=0.5
//Initial volume(in m^3):
vi=0.5
//Final pressure(in MPa):
pf=1
//Atmospheric pressure(in Pa):
patm=1.013*10^5
//Adiabatic index of compression for H2:
rH2=CpH2/(Cp... |
0b10a2e4d062e65773f637ac8ad4a19ec97ac117 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2048/CH4/EX4.9/respol5.sce | 146db429cebd67b92f98161201288f93b5041c0d | [] | 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 | 304 | sce | respol5.sce | // Partial fraction expansion for Example 4.29
// 4.9
// z^2 + 2z
// G(z) = --------------------
// (z + 1)^2 (z - 2)
exec('respol.sci',-1);
exec('flip.sci',-1);
num = [1 2 0];
den = convol(convol([1 1],[1 1]),[1 -2]);
[res,pol] = respol(num,den)
|
065eda420e06c8efb971566bb24a6c7cf4df6b69 | fa9b149d7f99d0d638c3cd298a05ffcc611565a3 | /getABCDfunctions.sci | e2f0d1e837c9f7fe996008fe3d2978d54c2d2404 | [] | no_license | kaushikmallick/getStateSpace | d40ef05c74b6f35a0cfb98015f1acabd2012f788 | b62a21c00fb47fa3cacd05b9b16ff5ef9d858f56 | refs/heads/master | 2021-01-10T19:48:46.581957 | 2013-10-28T17:54:33 | 2013-10-28T17:54:33 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,963 | sci | getABCDfunctions.sci | // ReOrderStateEqns > findRow > filt
// MinKer > polyRank
// IpolishLeftAnn > rowcmprI
// gauss > RowManipulatePlusIs
// function that takes first input a vector v1 of indices (assumed distinct integers),
// and second input v2 of what is required from within v1.
// and gives two outputs: one is v1 with just ... |
675468221eac0b2d8f6b2cf02ced990a5fd1527a | 449d555969bfd7befe906877abab098c6e63a0e8 | /564/CH8/EX8.3/8_3.sce | a8e224b3f370e5c849c0caa0a016780aa78aaf0c | [] | 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 | 561 | sce | 8_3.sce | pathname=get_absolute_file_path('8_3.sce')
filename=pathname+filesep()+'8_3data.sci'
exec(filename)
A=t*(2*a +b);
Ixx=2*a*t*(b/2)^2 +(t*b^3)/12;
Iyy=(2*t*a^3)/12;
I0=Ixx+Iyy;
J=(2*a*t^3)/3 +(b*t^3)/3;
tau=(t*a^3 *b^2)/24;
Px=(%pi^2 *E*Ixx/L^2);//PCR(xx)
Py=(%pi^2 *E*Iyy/L^2);//PCR(yy)
Pth=(A/I0)*(G*J +(%pi^2... |
aa53db7129fc9699c35ac0c41f982c28be0643e6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3875/CH11/EX11.4/11_4.sce | ef8cbee83f0d90f011d768f92fe78a3222d40e17 | [] | 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,192 | sce | 11_4.sce | clc;
clear;
lambda=0.180*10^-9 //wavelength in m
R=1.097*10^7 // in m^-1
//calculation
Z_star=sqrt(4/(3*lambda*R))
mprintf("The Z_star is = %d\n",Z_star)
Z=(Z_star+1)
mprintf("Since Z which is the atomic number is = %d,the element is Cobalt",Z)
... |
5fd3fd175b1bd9ac07300c80b557c78af03cc1dd | 3cbee2296fd6b54f80587eead83813d4c878e06a | /sci2blif/sci2blif_added_blocks/Algo_ADC.sce | 047e869c7ffcedc4e9ec53d7a5eb403ca30c04e2 | [] | no_license | nikhil-soraba/rasp30 | 872afa4ad0820b8ca3ea4f232c4168193acbd854 | 936c6438de595f9ac30d5619a887419c5bae2b0f | refs/heads/master | 2021-01-12T15:19:09.899590 | 2016-10-31T03:23:48 | 2016-10-31T03:23:48 | 71,756,442 | 0 | 0 | null | 2016-10-24T05:58:57 | 2016-10-24T05:58:56 | null | UTF-8 | Scilab | false | false | 1,546 | sce | Algo_ADC.sce | //************************* Algorithmic ADC ******************************
if (blk_name.entries(bl) =='Algo_ADC') then
mputl("# Algorithmic ADC ",fd_w);
for ss=1:scs_m.objs(bl).model.ipar(1)
adc_str= ".subckt Algo_ADC in[0]=net"+string(blk(blk_objs(bl),2))+'_'+ string(ss)+" in[1]=clk_A in[2]=clk_R in[3]... |
561d4334d998bf49a9e23d19e9c064856d39c1ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /22/CH2/EX2.5/que2_5.sce | 684bce5017321668d58259b0e0e154dfe430d063 | [] | 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 | 549 | sce | que2_5.sce | //time domain analysis of continuous time systems
//Convolution Integral of input x(t) = (e^-t).u(t)and g(t) =(e^-2*t)u(t)
clear;
close;
clc;
Max_Limit = 10;
t = 0:0.001:10;
for i=1:length(t)
g(i) =(exp(-2*t(i)));
end
x= exp(-(t));
y = convol(x,g)
figure
a=gca();
plot2d(t,g)
xtitle('Impulse Res... |
258fbcf9d25f89be05d221c79d9975e278023362 | 449d555969bfd7befe906877abab098c6e63a0e8 | /62/CH6/EX6.5/ex_6_5.sce | cbad048e5b984e8730109d58e72c2b7df5312f96 | [] | 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 | 350 | sce | ex_6_5.sce | clear;
close;
clc;
T0=4;
w0=%pi/2;
y=[1 0 0 0];
n=-8:7;
x=[];
for i=1:length(n)/T0
x=[x y];
end
plot2d3(n,x);
plot(n,x,'r.');
xtitle('x[n]','n')
for k=-9:9
c(k+10)=0;
for n=0:3
c(k+10)=c(k+10)+ (1/4)*(y(n+1))*(%e)^(%i*w0*k*n);
end
end
k=-9:9;
figure
plot2d3(k,abs(c));
plot... |
bd85a50a7ba80218ac89a00f79bdbaf6737177b9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3544/CH6/EX6.55/Ex6_55.sce | d04aae0baf4698a249fd3bd9a43a49a2222cc909 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 401 | sce | Ex6_55.sce |
//Base-64 encoding mapping table
disp("Base-64 encoding mapping table")
[u,t,n] = file()
n = strcat(n)
file_name = basename(n)+fileext(n)
file_name = strcat(file_name)
ind=strindex(n,file_name)
path = part(n,1:ind-1)
chdir(path)
//Get function to create encoding table
exec("Chapter_6.sci",-1)
enc =... |
875bc90d8769a97f07cba74152e9f1c620fd66dc | 449d555969bfd7befe906877abab098c6e63a0e8 | /3793/CH12/EX12.3/exp_12_3.sce | 72f0e1563d9a1f2f548dae376ebc7f7b542a06aa | [] | 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 | 337 | sce | exp_12_3.sce | clear;
clc;
Pr=.24;
Vr=.55;
del=asind(Pr/Vr);
a=gca();
a.auto_scale="off";
a.data_bounds=[0,0.3;1.5,1];
xlabel("Voltage");
ylabel(" ReactivePower");
V=[0:.01:5];
Q=((V)^2)+(V*cosd(del));
plot(V,Q);
q=.38;
v=.95;
Qr=((220^2)*q)/60;
Vrr=v*220;
mprintf("Critical power = %.3f MVAR and Critical voltage = %.... |
c9e84960a4dabe6bd09b11bd4982b36e1abc095f | 048b7c76423fe27dee2e31a52bae93c95883614e | /macros/idct1.sci | d398e56480a178907ea6997b3bd9009b0bf5d824 | [] | no_license | vu2swz/FOSSEE-Signal-Processing-Toolbox | aa5f283d050be62418dddbf41552f197b9949c4c | d97a4b7e2f0f25fb5cd94bd90a3b822592179d1e | refs/heads/master | 2021-08-19T20:06:19.346872 | 2017-11-27T09:57:21 | 2017-11-27T09:57:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 233 | sci | idct1.sci | function y = idct1(x,n)
funcprot(0);
rhs=argn(2)
if (rhs<1 | rhs>2) then
error("Wrong number of input arguments.")
end
select(rhs)
case 1 then
y=callOctave("idct",x)
case 2 then
y=callOctave("idct",x,n)
end
endfunction
|
b88469c4e38c2b938f81acb45c50461cb3bd364b | 8baa4268cc19995abb706bcc05c80afb319e1669 | /test/rate-no-recipe.tst | 94152d4fb5f1b22a6e888b432ca21bff4487c3ca | [] | no_license | nicoloison/CPSC471-Project | 53c3362e0251f3c37edf0ab9769277d15670dc21 | db0db7d7be776d6d6958d920596bc708d3347e82 | refs/heads/master | 2020-04-18T13:42:30.599190 | 2014-12-26T10:58:19 | 2014-12-26T10:58:19 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | tst | rate-no-recipe.tst | curl "localhost/recipes/rate.php?username=lmitchell&author_name=nloison" |
be60a412fc86eff04b92c3f4c5842210db88e09e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1938/CH3/EX3.2/3_2.sce | 8a6f5e21a4a36f3da056b0feb26c3dff4f1246b4 | [] | 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 | 797 | sce | 3_2.sce | clc,clear
printf('Example 3.2\n\n')
//no load
I_noload=2.5 //No load current
V=440
R_a=1.2,R_sh=550//resistance of armature and shunt field windings
no_load_input=V*I_noload
I_sh=V/R_sh
I_a_noload=I_noload-I_sh
no_load_armature_copper=(I_a_noload^2)*R_a
constant_losses=no_load_input-no_load_armature_coppe... |
522f221f09d8dfb299d5cddd2b2fddf61a836970 | e9d5f5cf984c905c31f197577d633705e835780a | /GED/nonlinear/scilab/nonlin_sw89/jac_flowsheet_residuals.sci | 07a9f0ada80dd0044a6536392fd12e81a00ef632 | [] | no_license | faiz-hub/dr-ged-benchmarks | 1ad57a69ed90fe7595c006efdc262d703e22d6c0 | 98b250db9e9f09d42b3413551ce7a346dd99400c | refs/heads/master | 2021-05-18T23:12:18.631904 | 2020-03-30T21:12:16 | 2020-03-30T21:12:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 4,297 | sci | jac_flowsheet_residuals.sci | function [At, varargout] = jac_flowsheet_residuals(flow_full,temp_full, flow, temp, coef )
//******************************************************************************
// Data Reconciliation Benchmark Problems From Literature Review
// Author: Edson Cordeiro do Valle
// Contact - edsoncv@{gmail.com}{vrtech.com.br}
... |
1bd0b8e84e0cefc9be4fba05694359f520cee969 | 01ecab2f6eeeff384acae2c4861aa9ad1b3f6861 | /xcos_blocks/vmm6x2.sci | 844248924e9627e14b2a6e24860affafa0f92f6c | [] | no_license | jhasler/rasp30 | 9a7c2431d56c879a18b50c2d43e487d413ceccb0 | 3612de44eaa10babd7298d2e0a7cddf4a4b761f6 | refs/heads/master | 2023-05-25T08:21:31.003675 | 2023-05-11T16:19:59 | 2023-05-11T16:19:59 | 62,917,238 | 3 | 3 | null | null | null | null | UTF-8 | Scilab | false | false | 2,503 | sci | vmm6x2.sci | function [x,y,typ]=vmm6x2(job,arg1,arg2)
x=[];y=[];typ=[];
select job
case 'plot' then standard_draw(arg1)
case 'getinputs' then [x,y,typ]=standard_inputs(arg1)
case 'getoutputs' then [x,y,typ]=standard_outputs(arg1)
case 'getorigin' then [x,y]=standard_origin(arg1)
case 'set' then
x... |
9bcc9215a2f5cedfa28b138a801ede94710c4f06 | e8dbcf469ba8a31d6926ba791ebc5dcccd50282b | /Scripts/DML/Consultas/Test/consulta_por_segundo_apellido.tst | 34a7857f67af6ab35892582c4084ca25ae76b274 | [] | 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 | 263 | tst | consulta_por_segundo_apellido.tst | PL/SQL Developer Test script 3.0
5
begin
-- Call the procedure
personas_por_segundo_apellido(psegundo_apellido => :psegundo_apellido,
p_recordset => :p_recordset);
end;
2
psegundo_apellido
1
Marx
5
p_recordset
1
<Cursor>
116
0
|
1112b3c5af250bc1763fe006b97b278d0857b527 | 72bdc6d649588b61192529e7d1420ddc18d1a67a | /tema4/4_optimizacion.sce | 1339a9f50eec61e219fe6f44acc968758e7da2ba | [] | no_license | jgpATs2w/scilab-examples | c3fcff648f720a8e909b2af0ec9ab70fb90dfcd2 | 59522a5ae1abbadf6f62bff16095f4b74c707918 | refs/heads/master | 2020-09-27T23:41:06.927931 | 2020-02-11T08:54:24 | 2020-02-11T08:54:24 | 226,637,785 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 4_optimizacion.sce | function y=banana(x)
y = 100*(x(2)-x(1)^2)^2 + (1-x(1))^2;
endfunction
opt = optimset ( "TolX" , 1.e-2 );
[x , fval , exitflag , output] = fminsearch ( banana , [-1.2 1] , opt ) |
739c7d5af2a402faf96eb83f249a78a9529ec72d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH9/EX9.1/Ch09Ex1.sce | a00ac60891835ccff90c59cfeea33b3111eec6f8 | [] | 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 | Ch09Ex1.sce | // Scilab Code Ex9.1: Page-9.24 ; (2004)
clc;clear;
ni = 2.37e+19; // Carrier concentration at room temperature
mu_e = 0.38; // mobility of electron; m^2V^-1s^-1
e = 1.6e-19; // electronic charge, C
mu_h = 0.18; // mobility of holes; m^2V^-1s^-1
sigma = ni*e*(mu_e+mu_h); // conductivity, mho.m^-1
... |
d31281aee789a5743e814e214adba03ec42effda | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH6/EX6.3/ex_6_3.sce | ea77769e4191de0e3827e64ce4986748549de426 | [] | 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 | 346 | sce | ex_6_3.sce | // example 6.3
// solution to the given IVP
disp('du/dt= A*u');
// u=[u1 u2]';
A=[-3 4 ;-2 3]; // given
B=[1 0;0 1]; // identity matrix;
[x,lam] = geigenvectors(A,B);
// hence;
disp('u=c1*%e^t*x(:,1)+c2*%e^-t*x(:,2)');
disp('u1=c1*%e^t+c2*%e^-t*2')
d... |
8936a105bcebca47272387c54659d941cfd8fcd0 | f542bc49c4d04b47d19c88e7c89d5db60922e34e | /PresentationFiles_Subjects/CONT/ATWM1_Working_Memory_MEG_JC99WDZ_Session1/ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | f0ba4b0d2cc8b7ba4ced05c80622777034ca2d5a | [] | no_license | atwm1/Presentation | 65c674180f731f050aad33beefffb9ba0caa6688 | 9732a004ca091b184b670c56c55f538ff6600c08 | refs/heads/master | 2020-04-15T14:04:41.900640 | 2020-02-14T16:10:11 | 2020-02-14T16:10:11 | 56,771,016 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 49,381 | sce | ATWM1_Working_Memory_MEG_Salient_Cued_Run1.sce | # ATWM1 MEG Experiment
scenario = "ATWM1_Working_Memory_MEG_salient_cued_run1";
#scenario_type = fMRI; # Fuer Scanner
#scenario_type = fMRI_emulation; # Zum Testen
scenario_type = trials; # for MEG
#scan_period = 2000; # TR
#pulses_per_scan = 1;
#pulse_code = 1;
pulse_width=6;
default_monitor... |
f25d2749a4f2a7f5cae48ac9867e831032780132 | 449d555969bfd7befe906877abab098c6e63a0e8 | /405/CH6/EX6.2/6_2.sce | 56aa3a486fc9101f8904c9e83b2ecb94d6c34472 | [] | 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,196 | sce | 6_2.sce | clear;
clc;
printf("\t\t\tExample Number 6.2\n\n\n");
// heating of water in laminar tube flow
// illustration6.2
// solution
Tw = 60;// [degree celsius] temperature of water
d = 0.0254;// [m] diameter of tube
R = 287;// [] gas constant
u = 0.02;// [m/s] velocity of water
Tw = 80;// [degree celsius] tempe... |
7a929548f81778f5dcb98117d622af07b55c2bf9 | 333d6160f9a6d9e23a6bea06cd03e5e8fa8785a9 | /RobotLab2/SciLab/LoadData.sce | 0284e44c6bb61f5e2aeea71ab41183913562ad62 | [
"MIT"
] | permissive | DmitryIo/ROBOTS | 6f6bb12a8e08dd28024136ee1a8a84ea7254da60 | 777f0884a098c4f21d044985c25a8be276334116 | refs/heads/master | 2023-04-30T12:52:54.082977 | 2021-05-17T19:55:34 | 2021-05-17T19:55:34 | 294,091,170 | 3 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 182 | sce | LoadData.sce | fwData = read(get_absolute_file_path("LoadData.sce") + "..\Data\FwElectrical.txt", 10, 2);
rvData = read(get_absolute_file_path("LoadData.sce") + "..\Data\RvElectrical.txt", 10, 2);
|
d0e5c3d5bb58dfa264d2e6583d3d93d6a7b8d005 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1332/CH5/EX5.36/5_36.sce | 0b5f55921e5ba9fe199510bc54afaae56acdf0b8 | [] | 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 | 5_36.sce | //Example 5.36
//Secant Method
//Page no. 204
clc;clear;close;
a=8670;c=10^-8;t2=1.4*10^-4;
deff('x=f(x)','x=-t2+log((1-2*x/a)/(2-x/a))*(a*x*c)/(a+x)')
printf('n\txn\t\tf(xn)\t\tXn+1\t\tf(Xn+1)\t\tXn+2\t\tError\n')
printf('----------------------------------------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.