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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0039afb16de5d637108cf184adeaeee2fbd517ef | 449d555969bfd7befe906877abab098c6e63a0e8 | /752/CH18/EX18.2.1/18_2_1.sce | ef64b0e9e95eea345fe1e7393327aaa01c6e9386 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 268 | sce | 18_2_1.sce | clc;
// page no 671
// prob no 18_2_1
//A drum of facsimile machine with diameter=70.4mm & scanning pitch=0.2mm/scan
D=70.4;P=0.2;
//Determination of index of co-operation
IOC_CCITT=D/P;
IOC_IEEE=IOC_CCITT*(%pi);
disp(IOC_IEEE,'The index of co-operation is'); |
e2794d6cb48c3c44427819d102648becba3cde9e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH13/EX13.4/Ch13Ex4.sce | 40851b708ab391fab525b705e8699e2eb8a608c6 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 537 | sce | Ch13Ex4.sce | // Scilab Code Ex13.4:Page-649 (2011)
clc;clear;
eps = 1.46e-10;....// Electric permittivity, C-square/n-meter-square
eps_0 = 8.85e-12;....// Permittivity in free space, C-squre/N-meter-square
K = (eps/eps_0);
printf("\nThe dielectric constant = %4.1f ", K);
chi_e = eps_0*(K-1);....// Susceptability,in C-square/... |
e5d04d1311b1bfc83eb043840674ab4d81d180b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3835/CH3/EX3.10/Ex3_10.sce | 7af48aec2ce34421ae7e71e79b79cea8ca7cbebe | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex3_10.sce | clear
//
//given
n=2000 //number of turns
flux=0.05*10**-3 //Wb
i=10 //A
lx=(n*flux)/i //self inductance in X
printf("\n lx= %0.5f H",lx)
//since coils are identical self inductance in Y=self inductance in x
fluxlinkingX=0.75*0.05*10**-3 //Wb flux linking due to current in coil X
fluxlinkingY=2000*0.05*0.75*10**-3 ... |
5c4a5871dec195d76b78f173c77ce1c374e7a56d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2792/CH11/EX11.9/Ex11_9.sce | 7b25baeb0e754547b93d88ba16f510b803f1b75a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,906 | sce | Ex11_9.sce | clc
h=1.05*10^-34
disp("h = "+string(h)+"Js") //initializing value of reduced plancks constant or dirac constant or h-bar
mo = 9.1*10^-31
disp("mo = "+string(mo)+"kg") //initializing value of mass of electron
me = 0.067*9.1*10^-31
disp("me* = "+string(me)+"kg") //initializing value of electron mass of InAs
kbT =... |
198a96262bb31d45ee67f0654082cdcfe1c679a9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /50/CH2/EX2.17/ex_17.sce | f818a0af8c81ca8b2bc7bae7f66ae4b02ba99ab5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,203 | sce | ex_17.sce | // The equation cos(x)-x*%e^x==0 has real roots.
// the graph of this function can be observed here.
xset('window',8);
x=-1:.001:2; // defining the range of x.
deff('... |
059eabb5bbbda759ed0f34dcb7e6b7a6b789c63b | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set9/s_Engineering_Mechancis-schaum_Series_Mclean_3137.zip/Engineering_Mechancis-schaum_Series_Mclean_3137/CH16/EX16.61/Ex16_61.sce | 94cf05c4e981a9d1934370dca60a888c8eb746ec | [] | 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 | 283 | sce | Ex16_61.sce | errcatch(-1,"stop");mode(2);//Initilization of variables
r=15/12 //ft
W=600 //lb
theta=25 //degrees
//calculations
ax=(r*W*sind(theta))/((1/r)*14.5+r*18.6) //ft/s^2
F=(W*sind(theta))-18.6*9.09 //lb
//Result
printf('The solution is F=%f lb and ax=%f ft/s^2',F,ax)
exit();
|
370ca756a8d8e26311b285ac0a9196aa702ebad5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /32/CH16/EX16.17/16_17.sce | d85408c1b0189896da09af980b862a52c6dd97c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 667 | sce | 16_17.sce | //pathname=get_absolute_file_path('16.17.sce')
//filename=pathname+filesep()+'16.17-data.sci'
//exec(filename)
//Temperature(in K):
T0=300
//Velocity(in m/s):
V1=50
//Mass flow rate(in kg/min):
m=18
//Specifc heat(in kJ/kg.K):
Cp=1.0032
//Mechanical efficiency:
nm=0.90
//Isentropic efficiency:
ni=0.75
//... |
9d1cfb95e5adc65dfd7f03ddb6143f8754691ba3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3802/CH4/EX4.14/Ex4_14.sce | 7e3611832a0576f6d5f69497572329fa6e1e4918 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 329 | sce | Ex4_14.sce | //Book Name:Fundamentals of Electrical Engineering
//Author:Rajendra Prasad
//Publisher: PHI Learning Private Limited
//Edition:Third ,2014
//Ex4_14.sce.
clc;
clear;
V=100;
epsilon_not=8.854e-12;
r=10e-2;
q=4*%pi*epsilon_not*r*V;
printf("\n Magnitude value of isolated positive charge=%1.2g*10^-9 coulomb"... |
ab03ff12e62be64023663f073f9d73b2993b8a82 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2873/CH8/EX8.5/Ex8_5.sce | 6e28fe5aa3c8c6b583a2f28edec282ec43166db2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,233 | sce | Ex8_5.sce | // Display mode
mode(0);
// Display warning for floating point exception
ieee(1);
clear;
clc;
disp("Engineering Thermodynamics by Onkar Singh Chapter 8 Example 5")
P=50*10^3;//output of plant in KW
Cpw=4.18;//specific heat of water in KJ/kg K
Tw_in=15;//cooling water entering condenser temperature in degree ce... |
14f757d4a14a9d786af2674b261d8e10a7a46dcd | 449d555969bfd7befe906877abab098c6e63a0e8 | /1691/CH3/EX3.2/exp3_2.sce | 5e0bffa610c476c248237c21e0f8940e0d1cafcc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,127 | sce | exp3_2.sce | //Example 3.2
clc
disp("Assume that the transistor Q1 is cut-off and the transistor Q2 is in saturation. Let us draw again the equivalent circuit from the base of Q1 to the collector of Q2")
disp("This is shown in the fig. 3.8")
disp("Another equivalent circuit from collector of Q1 to base of Q2 is shown in the fig... |
a8c38c313648dfd81683151acb9660f973ad190b | 449d555969bfd7befe906877abab098c6e63a0e8 | /3020/CH5/EX5.5/ex5_5.sce | 1f8e17e3257b27b206e1f42c703411646d14e185 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 217 | sce | ex5_5.sce | clc;
clear all;
u = 5000; // Velocity of sound in steel in meters per second
f = 50e3; // Difference between two adjacent frequency in Hertz
d = u/(2*f);//Thickness of plate
disp('m',d,'Thickness of plate is')
|
b54dd92c43769b78f594aed807909f828dca8351 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2240/CH32/EX31.1/EX31_1.sce | c7a7132f61cb89c571476afbbafdb0203c6955e2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | EX31_1.sce | // Grob's Basic Electronics 11e
// Chapter No. 31
// Example No. 31_1
clear; clc;
// Calculate the following dc quantities Icq, Vceq, Pd, Ic(sat) and Vce(off). Also draw the dc load line
// Given Data
R1 = 18*10^3; // Resistor 1=18k Ohms
R2 = 2.7*10^3; // Resistor 2=2.7k Ohms
Vcc = 20; ... |
f52e49e263b8d76e847244b1e299e9833f5b8796 | 843ddfc1f1137ace0ddbffdc051fb2b2a3e2ba6b | /P3/P306.sce | 82e6790f7bda9f0cb7f1999998ef34a88da8a746 | [] | no_license | aguadix/SIMCON | 8169169577fc5e69257f6dc91558b7b320974161 | 5f83003937740a730c4593c241309c9da7693ddf | refs/heads/master | 2022-10-27T00:34:29.074871 | 2022-10-24T11:24:08 | 2022-10-24T11:24:08 | 53,549,792 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,532 | sce | P306.sce | clear; clc;
// P306.sce
s = syslin('c',%s,1);
// Sistema de segundo orden sobreamortiguado con numerado
K = 1; T1 = 4; T2 = 1; Tn = 8;
G = K*(Tn*s+1)/((T1*s+1)*(T2*s+1))
fmin = 1E-3; fmax = 1E1; f = logspace(log10(fmin),log10(fmax),1E4); // Frecuencia
repf = repfreq(G,f); // Respuesta compleja
[dB,phi] = dbphi(rep... |
0a8aaf48bafce642c6832c044d903d24e34f474d | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH8/EX8.12/Example_8_12.sce | eeb845a05f32142e49d409da7f3ae3cee445e31a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 583 | sce | Example_8_12.sce | //Scilab Code for Example 8.12 of Signals and systems by
//P.Ramakrishna Rao
//Second Order LSI system
z = %z;
s = %s;
X=z^-1/(0.7*z^-2-3.7*z^-1+3);
[A]=pfss(z^-1/(0.7*z^-2-3.7*z^-1+3))
x1 = horner(A(1),z)
x2 = horner(A(2),z)
q=denom(X);
a=roots(q)
H=[x1 x2 z/3];
disp(H,'(a) H(z)=');
clear z;
syms z n;
F... |
96fb1fc035adeab52d95d11696b1b3a656061ac8 | f5d94d2f88130233ece1072e7c1bddbd6c3f39b4 | /allmargin.sci | c146d9fb251428567305c990f283d693254f3ad1 | [] | no_license | yeoleparesh/fosseecode | 4fa6de7c4a37233239744c530bfe1093ae8f3c09 | a68c15a0ea89e61db13bd870adc30c175a253976 | refs/heads/master | 2021-01-21T04:55:29.193728 | 2016-07-02T08:36:21 | 2016-07-02T08:36:21 | 55,388,885 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 748 | sci | allmargin.sci | function[]=allmargin(h)
[Gain_Margin,GM_freq]=g_margin(h);
[Phase_Margin,PM_freq]=p_margin(h);
Gain_Margin=10^(Gain_Margin/20);
GM_freq=2*%pi*GM_freq;
PM_freq=2*%pi*PM_freq;
Delay_Margin=abs(Phase_Margin*(1/PM_freq)*(%pi/180));
DM_freq=PM_freq;
stable=1;
if(Phase_Margin < 0 | ... |
336da7f2ff9977a3111a88511c5e46128c554c6e | 4a1949be12fbe9a81d9308381b34c611e65877ca | /tests/syntaxicaux/1.tst | c34ccbe09c2b24406ae9a832797f500ab2572b1d | [] | no_license | ng88/trad | 26439d8fe2284ece19d6fbfaa397d3f6f0d13e78 | e4d3d4d56928539144d30c5c49e01e65c9b8729c | refs/heads/master | 2020-12-05T07:31:25.854231 | 2008-02-29T10:15:34 | 2008-02-29T10:15:34 | 67,351,952 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | tst | 1.tst | /*
Fichier de test 1
*/
class MaClasse
private integer a, b, c;
private string d, e;
public MaClasse test;
public MaClasse() {}
public void main()
prints(print());
public integer addition(integer a, integer b)
return (a + b);
private string print()... |
a1171c2b7093220b92c4ec3154a5f3c892ed8b89 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2858/CH1/EX1.6/Ex1_6.sce | 363bdcfb51ee29ca2482338448b520a224d45f42 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 376 | sce | Ex1_6.sce | //example 1.6
clc; funcprot(0);
Gammad=14.5;
Gammasat=17.2;
Gammaw=9.81;
printf("Point \t Sigma(kN/m^2)\t u(kN/m^2)\t sigmadash=sigma-u (kN/m^2)\n");
printf(" A\t %d\t \t %d\t\t %d \n",0,0,0);
printf(" B\t%.2f\t \t%.2f\t\t %.2f \n",4*Gammad,0,4*Gammad-0);
printf(" C\t%.2f\t \t%.2f\t\t %.2f \n",4*Gamma... |
b329542bb50b03992677a7332f426cca6aabedc5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2915/CH2/EX2.11/Ex2_11.sce | b4f0bf0364b63211c5966311a608c6c779cbcdf2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 595 | sce | Ex2_11.sce | //Example 2.11
//To check the solution of triangle using Mollweide equation
clc,clear
c=6.09 //side oposite to vertex C
a=5 //side opposite to vertex A
b=3 //side opposite to vertex B
A=54.7 //angle at vertex A
B=29.3 //angle at vertex B
C=96 //angle at vertex C
LHS = (a-b)/c
RHS = sind((A-B)/2)/cosd(C/... |
67ab784f7d7fcded65cbbcfc12a33ef38a4aa704 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3869/CH6/EX6.30/Ex6_30.sce | e02954d66e18100ea2a055f06a59d5ce2939f562 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 835 | sce | Ex6_30.sce | clear
//
//
//
//Variable declaration
h=1
k=1
l=1 //miller indices
lamda=0.152 //wavelength(nm)
D=0.2552 //diameter(nm)
theta1=21*%pi/180 //angle(radian)
theta2=(21+(23/60))*%pi/180 //angle(radian)
//Calculation
a=D*sqrt(2) //lattice parameter for regular c... |
ca58472f225be349ac4aa919b957ff8a5b0c62ff | 449d555969bfd7befe906877abab098c6e63a0e8 | /3648/CH2/EX2.3/Ex2_3.sce | 12b765c15aa1e0a1fc611507669524af80ec44a2 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 480 | sce | Ex2_3.sce | //Example 2_3
clc();
clear;
//To find the weight and the Tension in the cords
//As Sigma(Fx)=0
theta1=53 //units in degrees
theta2=37 //units in degrees
F1=100 //units in Newtons
F=F1/cos(theta1*%pi/180) //units in Newtons
W=cos(theta2*%pi/180)*F //units in Newtons
printf("The Weight W=%d N\n",W... |
e08b32a8bade23a0bd24b2c8cbaaa4fa25952f7c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1184/CH7/EX7.3/Ex7_3.sce | be43d503c699566a5e0c5caaa3ae609cad67dd52 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 257 | sce | Ex7_3.sce | //Example 7-3, Page No - 225
clear
clc
N =12
SINAD1=78
SINAD2 = 6.02*N + 1.76
ENOB =(SINAD1 -1.76)/6.02
printf('The SINAD for 12 bit convertre is %d dB',SINAD2)
printf('\n The ENOB for the converter with SINAD of 78 dB is %.2f bits',ENOB)
|
a7b5413d727d44bebeedb503457af59887253f17 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2762/CH2/EX2.3.1/2_3_1.sce | 5aa486b81ade91e67c8cff08c16d120177ce6598 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 519 | sce | 2_3_1.sce | //Transport Processes and Seperation Process Principles
//Chapter 2
//Example 2.3-1
//Principles of Momentum Transfer and Overall Balances
//given data
//a)
del=0.013;//diffusivity
T1=1.37e-2;//concn at pt1 amt of prop/m3
T2=0.72e-2;//concn at pt2
z2=0.4;
z1=0;
shi1=(del*(T1-T2))/(z2-z1);
mprintf("%f amt of... |
e974affce88efb4600fde778f59ec387f18ac6f4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2198/CH2/EX2.11.4/Ex2_11_4.sce | 1aba886f3b7049a7f32e87c6ca5e047f4d8dc31d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 704 | sce | Ex2_11_4.sce | //Ex 2.11.4
clc;clear;close;
format('v',8);
//Given :
T=300;//K
m_Si=1.5;//for Si
m_Ge=1.5;//for Ge
EGO_Si=1.21;//volt
EGO_Ge=0.785;//volt
Eta_Si=2;
Eta_Ge=1;
VT=26/1000;//V
disp("Part(i) : ");
d_logIoBYdt_Ge=m_Ge/T+EGO_Ge/(Eta_Ge*T*VT);//per degree C
disp(d_logIoBYdt_Ge,"d(log(Io))/dt for Ge (per degr... |
b352f6895b7037898f997ca91cd7d45555d24b22 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2024/CH11/EX11.6/11_6.sce | 4b0d0dae74b3435e617bdd2efedb2e9cf82dc652 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 206 | sce | 11_6.sce | clc
//Initialization of variables
n1=2 //moles
n2=10.52 //moles
P=14.7 //psia
//calculations
pp=n1/n2 *P
disp("from s=psychrometric charts,")
dew=139 //F
//results
printf("dew point = %d F",dew)
|
b5f09b39d83f1d888111a86d5c776f496ee63ad6 | 449d555969bfd7befe906877abab098c6e63a0e8 | /343/CH2/EX2.66/ex2_66.sce | bcbef99ba7b962c3aa84d97146798734a3f9968a | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 265 | sce | ex2_66.sce | clc
L1=0.0191 //Assigning values to parameters
f=50;
Xl1=2*%pi*f*L1;
C=398*10^-6;
Xc=1/(2*%pi*f*C);
L3=0.0318
Xl3=2*%pi*f*L3;
Z1=2+%i*Xl1;
Z2=7-%i*Xc;
Z3=8+%i*Xl3;
Zeq=((Z1*Z2)/(Z1+Z2))+Z3;
disp("Ohms",Zeq,polar(Zeq),"Equivalent Impedance"); |
4a01d18cb8c940df71949590b4482362b60d7c17 | 494b677053e1199325a80808377463794e1003e5 | /experiments/irprop-c/irprop-c/results/Ignore-MV.iRProp+-C.vehicle/result5s0.tst | bac2775e932644ce8991b13bf69b9097f31339f9 | [] | no_license | kylecblyth/IIS-Project | 92fb0770addced8022817470f974bf5191bfe05d | abf66fd98d9b6c7c3a0fbc254ef4026641338489 | refs/heads/master | 2020-06-12T19:41:02.430510 | 2016-12-07T10:35:31 | 2016-12-07T10:35:31 | 75,764,815 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,573 | tst | result5s0.tst | @relation vehicle
@attribute COMPACTNESS integer[73,119]
@attribute CIRCULARITY integer[33,59]
@attribute DISTANCECIRCULARITY integer[40,112]
@attribute RADIUSRATIO integer[104,333]
@attribute PRAXISASPECTRATIO integer[47,138]
@attribute MAXLENGTHASPECTRATIO integer[2,55]
@attribute SCATTERRATIO integer[112,265]
@attri... |
8b36a9743e06725ca4c42dc0b9355478a9cdecf4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2912/CH4/EX4.7/Ex4_7.sce | b272215cc5571720448e48d75713692ccd598860 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 798 | sce | Ex4_7.sce | //chapter 4
//example 4.7
//calculate interpalanr spacing
//page 77-78
clear;
clc;
//given
V=344; // in V (accelerating voltage)
theta=60; // in degree (glancing angle)
m=9.1E-31; // in Kg (mass of electron)
h=6.625e-34; // in J-s (Plank's constant)
n=1; //order
e=1.6E-19; // charge on electron
//calculate... |
6059a9f5b639a65acc420fc5505d18ea23324034 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3825/CH7/EX7.14/Ex7_14.sce | 1120a49a0f349b67cee9376a8bcb50f2cdc61ddd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 305 | sce | Ex7_14.sce | clc
YA=0.5//mole fraction of oxygen
YB=0.5//mole fraction of nitrogen
R=8.314//universal gas constant
deltasMix=-R*((YA*log(YA))+(YB*log(YB)))//molar entropy change associated with mixing of non identical gases
mprintf("deltasMix=%fper mol of mixture",deltasMix)//ans vary due to roundoff error
|
548b3c6ba595212319d365575cd2732689ba5b65 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1580/CH11/EX11.1/Ch11Ex1.sce | 9b25b4f3703fcd9726bfdee49523e791e17bde7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 621 | sce | Ch11Ex1.sce | // Scilab Code Ex11.1: Page-11.5(2004)
clc;clear;
h = 6.626e-034; // Planck's constant, Js
c = 3e+08; // Speed of light in free space, m/s
k = 8.61e-5; // Boltzmann constant, J/K
T = 300; // Temperature at absolute scale, K
lambda = 6943e-10; // Wavelength of visible light, m
E = h*c/(lambda*1.6e... |
cb6bdce765736f0cfea7cdafdc80aabfcab30165 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH7/EX7.9/7_9.sce | 42b0db143d1612673258ab62e6a7d40e52a59333 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | 7_9.sce | // example:-7.9,page no.-376.
// program to derive an expression for the change in resonant frequency.
syms Ey Hx Hz A Zte n a pi x z d j eo c wo w b l ro;
Ey=A*sin((pi*x)/a)*sin((pi*z)/d);
Hx=((-j*A)/Zte)*sin((pi*x)/a)*cos((pi*z)/d);
Hz=((j*pi*A)/(k*n*a))*cos((pi*x)/a)*sin((pi*z)/d);
Ey=A;// at x=a/2,y,z=d/2;
H... |
441d72f7afafb5a95e21107a0de6e9f36a814556 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2159/CH2/EX2.6/26.sce | 1eddcb602656aea5b2dff25cf4b6836221bd1d8d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 223 | sce | 26.sce | // problem 2.6
a=0.25
s1=11.5
s2=1
z=9810
v1=a*a*a*0.5
wc=v1*z
h=0.016
// by archimede's principle
v2=(a*0.5+h)*a*a // volume of cube submergerd
v=(v2-v1)/(s1-s2)
wl=v*s1*z
disp(wl,"weight of lead attached")
|
45ab81af496bc43a4ca62ed7a910215adc5acd00 | efe59cd4cca137aba9af447e8040b1eac3738006 | /examples/functions/exemplo3_funcao_soma.sce | bbb6f7af5db2d466660788becf5b04984ab01987 | [] | no_license | thejefecomp/scilab-codes | fd13f6aa666135c0fb08989e25b0ca1354c58b51 | 6eefce6eed8af0b54f2d6172f6e2b05513327184 | refs/heads/master | 2023-07-31T13:23:50.467306 | 2021-09-23T09:00:49 | 2021-09-23T12:04:06 | 287,115,880 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,052 | sce | exemplo3_funcao_soma.sce | /*Este programa especifica um exemplo de declaração e invocação de uma função de soma com sintaxe simples,
a qual recebe dois argumentos de entrada [operando1,operando2], realiza a soma desses argumentos,
e devolve o valor do resultado, juntamente com os valores dos argumentos de entrada, por meio de três
variáv... |
be3dd3a0aa9a1d7c057e6e926e8e050255a6caf3 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1703/CH11/EX11.8/11_8.sce | c18f1789bf5245505ffe94d61706d668921269f3 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 179 | sce | 11_8.sce |
clc
//initialisation of variables
r= 5
//CALCULATIONS
sr= r^2
sr1= r^2/r
//RESULTS
printf ('Corresponding ratio = %.f ',sr)
printf ('\n Corresponding ratio = %.f ',sr1)
|
16708eac2fbd88f81a11ab64b47dcd174a0ff639 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH2/EX2.23/Ex2_23.sce | 0009f420b2323191481029ec011cc06ec6779f68 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex2_23.sce | //pagenumber 116 example 23
clear
area12=1*10^-8;//metre square
volre1=-1;//reverse voltage
capac1=5*10^-12;//farad
volbu1=0.9;//volt
voltag=0.5;//volt
i1=10*10^-3;//ampere
durmin=1*10^-6;//ssecond
//(1) capacitance
capac1=capac1*sqrt((volre1-volbu1)/(voltag-volbu1));
disp("depletion capacitance = "+stri... |
f27c939291463cc095aa30109c61c44edd3a3b21 | 0aa3d58d6b3308711c70075597949168988ab13f | /Scripts.sci | cf9753b33785accf035983aff5ab25257d1118ee | [] | no_license | Julien-mazzia/Developpement-info | 1df1ed712d1da68fd26be096687e26b80bc8c91f | af1e98d60728a7e05c30bb1ea0078b7a7e97aae7 | refs/heads/master | 2021-01-22T19:44:44.854980 | 2017-03-16T21:58:03 | 2017-03-16T21:58:03 | 85,236,931 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,763 | sci | Scripts.sci | function A1()
img=readpbm('Encelade_surface.pbm')
maxPx = max(img) //On cherche la valeur de nuance de gris maximale dans l'image
[y, x] = size(img) //On récupére la taille de la matrice
for i =1:x
for j=1:y
//Si la valeur maximale est trouvé on affiche les coordonnées du pixel ... |
99a1b4fecc61b71e2fd421900bad8d3ba962ab20 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3871/CH12/EX12.7/Ex12_7.sce | 5bbde399b35f8263fe5c0e891ba4f8befda41a94 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 638 | sce | Ex12_7.sce | //===============================================================================
//Chapter 12 Example 7
clc;clear all;
//variable declaration
R2 = 1000; //resistance of arm in Ω
R3 = 500; //resistance of arm in Ω
R4 = 1000; //resistance of arm in Ω
C4 = 3*10**-6; ... |
59b643216201f253eab5a75a96aa4b05b7f31778 | 449d555969bfd7befe906877abab098c6e63a0e8 | /608/CH33/EX33.02/33_02.sce | 7742fc3ccf7e3189db7bf66e76c5da703d34ac9f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 961 | sce | 33_02.sce | //Problem 33.02: Determine, for the network shown in Figure 33.16, the value of current I. Each of the voltage sources has a frequency of 2 kHz.
//initializing the variables:
V1 = 20; // in volts
V2 = 10; // in volts
R1 = 2; // in ohm
R2 = 1.5; // in ohm
L = 235E-6; // in Henry
R4 = 3; // in ohm
f = 2000; // ... |
9a654058ab6994a79fa047c779aa7a47bc39ab6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2006/CH3/EX3.2/ex3_2.sce | d33501fba176fc5417c8b4077beba01057b2c895 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,402 | sce | ex3_2.sce | clc;
// (a) Ammonia 26 oC and 0.074 m^3/kg
// From saturation table of ammonia at 26 oC
v=0.074; // specific volume of ammonia in m^3/kg
vf=0.001663; vg=0.1245; // specific volume of ammonia in m^3/kg
x=(v-vf)/(vg-vf); // Quality of vapour since v<vg
disp (x,"The Quality of ammonia = ","(a) Ammonia 26 oC and 0... |
48633d608a16a9a2e3cd51410de7f3aecdef463f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1457/CH10/EX10.7/10_7.sce | 363fed0baa44f855fdf00ffa7e21a48654f3a4c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 348 | sce | 10_7.sce | clc
//Initialization of variables
n=90 //rpm
R=2
rho=0.0765/32.2
B=25
U=120 //fps
//calculations
vt=2*%pi*R*n/60
T=2*%pi*R*vt
Fl=rho*B*U*T
theta=asind(-T/(4*%pi*R*U))
//results
printf("Value of circulation = %d ft62/s",T)
printf("\n Transverse or lift force = %d lb",Fl)
printf("\n Position of stagnation... |
997c2b4ba227e610e20d572e850eb76c8404b325 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1571/CH3/EX3.16/Chapter3_Example16.sce | ac816744601fbae04796d0011b98b06218947c96 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 487 | sce | Chapter3_Example16.sce | clc
clear
//INPUT DATA
//continous flow calorimeter
r=120/60;//rate of flow of water in gm/sec
T1=27.30;//temperature at initial in deg.C
T2=33.75;//temperature at final in deg.C
v=12.64;//potential drop in volts
s=1;//specific heat of water in kj/kg-K
i=4.35;//current through the heating element in amp
... |
c9ca245c2f17dd0511db445b92f643c0229e7a14 | 51c4c028f490213495b3a6df77e94afcfa03c254 | /scara/InverseKinem.sci | 537d967973667b07a9e794f231ace87794b4d057 | [] | no_license | dgerod/robotics-utils | d8b130290ba77a3aa2fbe9502c39cfba78f40609 | 5d5d6c4c426de3bf859303b56c431ecd4b203d86 | refs/heads/master | 2020-05-17T08:31:03.702958 | 2016-08-20T11:14:57 | 2016-08-20T11:14:57 | 32,637,117 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,647 | sci | InverseKinem.sci | // =================================================================================
// InverseKinem.sci
// =================================================================================
function [Ret, Joints] = scrInvKinem (KinemParams, TCP0)
//
// DESCRIPTION
// Solves the Inverse Kinematics problem of a Scara-R... |
d43eab1b1f0f26d07e4992413b2d510c02348fc8 | e82d1909ffc4f200b5f6d16cffb9868f3b695f2a | /Lista 4/Thirdquestion.sce | adf23613224b4079f8d5faa6190bb703c4949ecf | [] | no_license | AugustoCam95/Computational-Linear-Algebra | eb14307dd3b45ccc79617efe74d1faca639c36c5 | 99b1a1f9499fbc4343bd5c878444e9e281952774 | refs/heads/master | 2020-03-30T22:26:23.790763 | 2018-10-05T03:34:06 | 2018-10-05T03:34:06 | 151,666,289 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,099 | sce | Thirdquestion.sce |
function B=ThridQuestion(A)
[l, c] = size(A);
t=2*l
r=2*c
//Inica H como uma matriz de zeros
H=zeros(t,r)
//Insere A' na matriz H
for i=1:l
for j=1:c
H(i,j)=A(j,i)
end
end
//Antirotaciona H
B=H;
//Variável para guardar... |
904aa33871e0d5351184c6f6957ac4be9f15a701 | 6813325b126713766d9778d7665c10b5ba67227b | /Chapter7/Ch_7_Eg_7.2.sce | e0dee050077fe45f5e1c1abfee2066aecc0f3065 | [] | no_license | arvindrachna/Introduction_to_Scilab | 955b2063b3faa33a855d18ac41ed7e0e3ab6bd1f | 9ca5d6be99e0536ba1c08a7a1bf4ba64620ec140 | refs/heads/master | 2020-03-15T19:26:52.964755 | 2018-05-31T04:49:57 | 2018-05-31T04:49:57 | 132,308,878 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,213 | sce | Ch_7_Eg_7.2.sce | //A program to implement the false position method
//Input:
// f = The function handle of the equation (written as x0 Scilab function) whose root is to be found.
// (x0, x1) = The initial interval in which the root is to be found.
// epsilon = The desired accuracy level of the root.
// maxit = ... |
4bd3f686915f4513436609921b7b40798656ad98 | 717ddeb7e700373742c617a95e25a2376565112c | /3424/CH6/EX6.6/Ex6_6.sce | 655a0c4fa2fd4e2d4ca6753b6996dbe7cafa39ae | [] | 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 | 449 | sce | Ex6_6.sce | clc
// Intialization of variables
U = 40*5280/3600 // ft/s
b = 200 // ft
D = 0.00238 // slugs/ft^3
// calculations
V2 = (((U^2)*(1 + (4)/(%pi)^2)))^0.5// ft/s
y2 = b/2 // ft
Df = (D*(V2^2 - U^2)/(2) + D*(y2 - 0)*32.2)/144
// results
printf("the magnitude of velocity at point directly above origin is %.1f ft/... |
c19da0161d1513e9f81bbbc8dd6cfb2ce619ffc9 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1871/CH3/EX3.6/Ch03Ex6.sce | 4a0a725ded7c9498f3b3826cbde02be0dba6d8ba | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,636 | sce | Ch03Ex6.sce | // Scilab code Ex3.6 : Pg:101 (2008)
clc;clear;
F = 12; // Focal length of the eye-piece, cm
// For Huygen's eye-piece
// As F = f1*f2/(f1 + f2 - d) and f1 = 3*f; f2 = f; d = 2*f, solving for f
f = poly(0, 'f');
f = roots(3*f*f-F*(3*f+f-2*f)); // Focal length of the eye-lens, cm
d = 2*f(1); // Distance ... |
98dfea1ab43580dfc9584100d99e7c40c9b43033 | 05b2bd67239938195f6ea021fd482c06f69c9145 | /p8.sci | 4f76c90537ae865b7b2f8117a55b206611652ef4 | [] | no_license | ZimmSebas/Metodos | 213aa8af793726409cf0346c3315663aa59ae835 | 5fb6f28413064194ae8f625da48914b471bb50f7 | refs/heads/master | 2020-03-31T15:18:35.349807 | 2019-12-21T23:19:21 | 2019-12-21T23:19:21 | 152,331,779 | 5 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 3,168 | sci | p8.sci | //reglaTrapecio(fn,a,b). Aplica método del trapecio a una función fn de a hasta b.
function y = reglaTrapecio(fn, a, b)
h = b-a;
y = h/2 * (fn(a) + fn(b));
endfunction
//reglaSimpson(fn,a,b). Aplica método del Simpson a una función fn de a hasta b.
function y = reglaSimpson(fn, a, b)
h = (b-a)/2;
med =... |
de755f31af9e6297531ff86149cb1a0327ffdf1c | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH8/EX8.5/8_5.sce | 634a89dd0057489c379bd85c8c1424befbe04a3e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 300 | sce | 8_5.sce | clc
//initialisation of variables
m= 0.1 //kg
p= 3 //bar
p1= 10 //bar
h1= 2964.3 //kJ/kg
v1=0.2378
s2= 7.1619 //kJ/k
s1= 6.9641 //kJ/k
//CALCULATIONS
h2= h1+(p-p1)*10^5*v1*10^-3
S= m*(s2-s1)
//RESULTS
printf (' enthalpy = %.1f kJ/kg',h2)
printf (' \n change in entropy = %.5f kJ/K',S)
|
f89c5dd0b81b1e01399951221fcba316cb474822 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2276/CH11/EX11.4/chapter11_ex4.sce | 8617d9ac3be6fc26052608d6df5492e1614fa157 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,265 | sce | chapter11_ex4.sce | clc
clear
//input
vht=100;//higher threshold voltage in volts
rl1=5;//resistance of load in kiloohms
rl2=10;//load resistance in kiloohms
//calculations
//for rl1
//when va=0
ia1=vht/rl1;//anode current in milliamperes
//when va=100
ia2=0;//since va=vht
//for rl2
//when va=0
ia3=vht/rl2;//anode curren... |
2d2c715f15c60dcde5d19e77b39beda9bc20154f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1415/CH1/EX1.3.2/ex2.sce | 83d591c121eafa5cacadfea679af3b9f90c41935 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,598 | sce | ex2.sce | //Example 2 Page 81
clc
clear
disp('a)')
disp('two write the equation we need the two values one is the slope m and other is y intercept b')
disp('the given points are')
disp('(1,2),(3,-1)')
y2=-1;//assigning the values
y1=2;//assigning the values
x1=1;//assigning the values
x2=3;//assigning the values
m=(y2... |
148da47f36c7ca1d774b5b0a8f125eb13dd5e582 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.42/Ex4_42.sce | 31d066b38ca4feac2f632593364de99dd799715b | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Ex4_42.sce | //pagenumber 226 example 42
clear
beta1=50;
vb=0.6;//volt
vcc=18;//volt
colres=4.3*10^3;//ohm
ic=1.5*10^-3;//ampere
vce=10;//volt
stability=4;
r1=(vcc-vce)/ic;
re=r1-colres;
w=(beta1+1)*(stability)*re/(1+beta1-stability);
disp("re = "+string((re))+"ohm");
disp("rb = "+string((w))+"ohm");//correctio... |
63a86b484e0ebaa556af16fba24b4713e2fa7e05 | 449d555969bfd7befe906877abab098c6e63a0e8 | /25/CH6/EX6.9/6_9.sce | 36370461933e7556b297dbb7c50e16a9e9c28884 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 215 | sce | 6_9.sce | //example:-6.9,page no.-323.
//program to designa triangular taper and a klopfenstein taper.
taom=0.02;Zl=50;Zo=100;
tao_o=0.5*log(Zl/Zo);
A=acosh(tao_o/taom);
A=real(A);
disp(tao_o,'tao_o = ')
disp(A,'A = ') |
61c07b971e038c19be9cdb246e6f18a9d3b12a88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1238/CH1/EX1.8.a/8_a.sce | 14f4191af43cf799c9d56366510cbf508dbd649c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 209 | sce | 8_a.sce | //decimal to binary conversion//
//example 8.a//
clc
//clears command window //
clear
//clears//
//decimal to binary conversion//
x=1996
a=dec2bin(1996)
disp('the result in binary form is')
disp(a)
|
9437f9a217f06e756dcb74c579028bb9ff0dec7f | 39c201c777151f939341e8f8150242bcde5a111b | /CH3/EX3.8/example8.sce | c885f9c1e979d16ffa02a0db66a782ea9d9ff018 | [] | no_license | nidhimj22/Scilab_Project- | 925a5883384736e79f1e600535461c6c9f06de40 | 4a9d1db96787ba0ea4e996349523a0b84bdacae3 | refs/heads/master | 2021-01-20T05:49:48.811688 | 2014-02-06T10:03:52 | 2014-02-06T10:03:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 713 | sce | example8.sce | // to find the load voltage, load current,diode power
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 3-8, page 69`
clear;clc; close;
// Given data
Rl=10;// load resistance in ohms
Rb=0.23;// bulk resistance in ohms
// diode drop=0.7 volts
// ... |
b2d36f19a996da5e1d972daf12f1b11f152bdc6a | 449d555969bfd7befe906877abab098c6e63a0e8 | /1592/CH9/EX9.10/example_9_10.sce | 6bc1c9ce74626d6d19ca7773ff412fba8b0deebc | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 247 | sce | example_9_10.sce | //Scilab Code for Example 9.10 of Signals and systems by
//P.Ramakrishna Rao
//Maximum Value of Auto-Correlation Function
clc;
clear;
disp('Maximum Value of ACF=Rxx(0)');
x=200*integrate('exp(-2*t)','t',0,1000);
disp(x,'Energy in x(t)=');
|
af3ce19bfa9a5d58d4611f6dbc85fc47f01058ac | 449d555969bfd7befe906877abab098c6e63a0e8 | /2939/CH2/EX2.18/Ex2_18.sce | 724a6345bc6b0965e9e6da004e81c3a98224cd81 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 236 | sce | Ex2_18.sce |
// Ex2_18
clc;
//Given:
// 1 ev=8065 cm^-1
E=14.4*10^3;// in eV
// Solution:
f1=E*8065;// frequency in cm^-1
printf("\n The frequency in cm^-1 is = %f",f1)
fr=f1*3*10^8*100;
printf("\n The frequency in Hz is = %f",fr)
|
1e68ef7660fd78d4d3ab51309b9b62057ff92f9b | 7fa099e9d565bee9cdd572755843852769c99498 | /tests/PERZAD.tst | 542adc5dd75f7f9ecc2d48a334de7dfcfe752247 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive",
"BSD-2-Clause"
] | permissive | Peter-J-Jansen/SDL-hyperion | 0d2a16f1d837fa27b8f0aaa927dc84a8ebdb44f6 | 58578601d7a34fc11f050b0ac4fd425a4c0422eb | refs/heads/master | 2023-04-27T03:42:18.421272 | 2022-11-27T00:16:06 | 2022-11-27T00:16:06 | 238,422,138 | 2 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 132 | tst | PERZAD.tst | *Testcase PERZAD: Quick PER Zero-Address Detection test
sysclear
archlvl z/Arch
loadcore "$(testpath)/PERZAD.core"
runtest .2
*Done
|
6c1ef45e4419b887d475f2d05893b1252572f7b8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1646/CH17/EX17.18/Ch017Ex18.sce | 9a4e782e4e6660b0e597a54f48662550803d9b6d | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 422 | sce | Ch017Ex18.sce | // Scilab code Ex17.18 : Pg:898 (2011)
clc;clear;
count_err = 1e-03; // Fractional error in counting
m = 3; // Plateau slope
delta_V = count_err*100/m*100; // Maximum permissible voltage fluctuation in a GM counter, volt
printf("\nThe maximum permissible voltage fluctuation in a GM counter = %3.1f volts",... |
f06cf9ce69c7935ceae7d133113e96f036b47cc3 | 814f1fb7876c113556c8a80e257bc16eb7cdf530 | /old stuff/file_test.sce | 967e7c8c555e019ee2950be27d8102d943bf9ab2 | [] | no_license | jamiepg1/Vorbis_decoder | 10d6847120efce98684092ad1d4c812290faf9e1 | 6cabd547539ac607e625f90e1f72023526de0672 | refs/heads/master | 2018-05-12T18:54:09.244192 | 2013-07-30T21:51:27 | 2013-07-30T21:51:27 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 361 | sce | file_test.sce |
printf('start file load');
filename = "sample.ogg";
[FILE, err] = mopen(filename, 'rb');
if(err)
printf('Error fopen\n');
end;
i = 1;
while(~meof(FILE))
tmp = mget(1000,'uc',FILE);
tmp_length = length(tmp) - 1;
source(i:i+tmp_length) = tmp;
i = i + tmp_length;
end;
err = mclose(FILE);
printf(... |
7f03f34c6e69962f42d768be78e7032b56105a4c | f04d3d47f893de08cd99a31b4870112915b80d5b | /Datasets/vehicle/data8.tst | 69c16cb92b7e7163fd9d6920d6471019d1125cac | [] | no_license | MesumRaza/MyWorkInPython | f5364b8514943e44c7200123653da9f4551251b1 | bd8c9b3ca2fb02ae6d2b626054fa3cd32c28b330 | refs/heads/master | 2021-08-19T21:46:41.412995 | 2017-11-27T13:37:52 | 2017-11-27T13:37:52 | 111,728,604 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 15,143 | tst | data8.tst | 0.391304 0.230769 0.513889 0.213974 0.131868 0.113208 0.176471 0.628571 0.0833333 0.3 0.152632 0.125899 0.0880503 0.0394737 0.363636 0.414634 0.833333 0.933333 class0
0.5 0.653846 0.75 0.484716 0.21978 0.132075 0.490196 0.257143 0.416667 0.571429 0.442105 0.408873 0.660377 0.105263 0.363636 0.146341 0.566667 0.666667 c... |
b2e88a644a890d9411f33d7e06881c49ee39f73b | 1544f7e5edde1bbccc24cba258a347fc31869b08 | /BalanceoDeEcuacionesQuimicas.sce | 179b5a189dbbfa2198c146a87cb65c37aad09269 | [] | no_license | lilvedaes/ProyectoMateIII | c3b01dd35332908280ec0b10d4241b9400ee260c | bef016ddf1379feefec287212af0353a7e0ecae0 | refs/heads/master | 2020-03-19T19:45:54.353626 | 2018-07-02T19:45:28 | 2018-07-02T19:45:28 | 136,872,829 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 694 | sce | BalanceoDeEcuacionesQuimicas.sce | clc
A=[15 -0.2 -0.4 0;-2 8.22 -0.02 0;5 -0.02 8.44 -0.02;0 0 -0.02 8.02];
x=[0,0,0,0];
b=[15;0;0;0];
f=0;
t=0.00001;
[m,n]=size(A);
o=1;
R=1;
f(1,1:m+1)=[0 x];
o=o+1;
while R>t
for i=1:m;
sum=0;
for j=1:m
if j<=i-1
sum=sum+A(i,j)*f(o,j+1);
els... |
ac1e18564c5c866ebae61a126139e816ab6cb9f2 | 5887829f5a0a005033807cf7dc4fb7231eb280ec | /Listing/chapter 6/Listing6212.sce | 06cc67acc0b5dfbef4cf043988d30c1e8f04992f | [] | no_license | joaolrneto/learning_scilab | 78ecc0019f167b57bc35647c4ac785ece01e443e | 9624c9a6736860a8a836b0f801256b6224756585 | refs/heads/main | 2023-03-17T22:17:51.853368 | 2021-03-15T20:58:34 | 2021-03-15T20:58:34 | 344,478,059 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 92 | sce | Listing6212.sce | clc
clear
clf()
a = rand(10,10);
imwrite(a, 'rand.png');
b = imread('rand.png');
imshow(b);
|
1b1335d0065594b34711be4920147662cd7dddb4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2045/CH4/EX4.37/Ex4_37.sce | 21b92bf09988f2c04d45332904aca66215da59c1 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 443 | sce | Ex4_37.sce | //example 37
clear
beta1=160;
vb=-0.8;//volt
re=2.5*10^3;//ohm
vcc=10;//volt
for q=[160 80]
ib=(vcc-vb)*10^2/((re)*(1+q)*400);
ic=q*ib;
colres=1.5*10^3;//ohm
disp("collector current at beta "+string((q))+" = "+string((ic))+"ampere");//correction in the book
ie=(1+beta1)*ib;
vce=-... |
e69192f6bd804ac11f23d6a5bbf484a6f18cfc58 | f42e0a9f61003756d40b8c09ebfe5dd926081407 | /TP6/newtonBDF.sci | 322592de41fbaaefc40e6ddcc233ed46a5a744d0 | [] | no_license | BenFradet/MT09 | 04fe085afaef9f8c8d419a3824c633adae0c007a | d37451249f2df09932777e2fd64d43462e3d6931 | refs/heads/master | 2020-04-14T02:47:55.441807 | 2014-12-22T17:34:50 | 2014-12-22T17:34:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 237 | sci | newtonBDF.sci | function[x, k] = newtonBDF(f, dfdx, tol, Kmax, x0, h, theta, U, V)
if Kmax - floor(Kmax) ~= 0 | Kmax < 0
error('Kmax must be an int');
end
if tol < 0 | abs(tol) < %eps
error('wrong tol');
end
endfunction
|
0e8bebac35a9fb147225d48f2bf852ee0cd63d03 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1484/CH4/EX4.17/4_17.sce | a6bf40a2dd70139aa4de513c7a0c864a265bda7e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 280 | sce | 4_17.sce | clc
//initialisation of variables
HL= 12.5 //ft
H1= 10.5 //ft
Cd= 0.62
h= 4 //ft
l= 3 //ft
n= 2
t= 5 //min
g= 32.2 //ft/sec^2
//CALCULATIONS
a1= n*l*l
A= t*60*(Cd*a1*sqrt(2*g)+Cd*a1*sqrt(2*g*H1))/((HL-H1)+(HL-H1)*sqrt(H1))/4
//RESULTS
printf ('Area= %.f sq ft',A)
|
49c653ef59763078ee1872dac687d3da92311a86 | 449d555969bfd7befe906877abab098c6e63a0e8 | /647/CH2/EX2.16/Example2_16.sce | 55e48cfd50b68ac7bd9fce610949cfdbc0c0bfbf | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,905 | sce | Example2_16.sce | clear;
clc;
// Example: 2.16
// Page: 62
printf("Example: 2.16 - Page: 62\n\n");
// Solution
//*****Data*****//
P1 = 1;// [bar]
T1 = 300;//[K]
V1 = 24.92;// [cubic m/kmol]
P2 = 10;// [bar]
T2 = 300;// [K]
Cp = 29.10;// [kJ/kmol K]
Cv = 20.78;// [kJ/kmol K]
R = 8.314;// [J/mol K]
//**************/... |
630d126d48408f3de70322b52742614b7d66f803 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1286/CH14/EX14.10/14_10.sce | 490be34113a92bb274fa7abfc879353118a94c6c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 220 | sce | 14_10.sce | clc
//initialisations
r=15*10^10//m
R=7*10^8//m
si=6.72*10^-8//j m^-2 sec^-1 deg^-4
s=81350 //j m^-2 min^-1
//CALCULATIONS
t=(r*r*s)/(R*R*si*60)
T=t^0.25
//results
printf(' \n value of temperature= % 1f k',T)
|
6d997ec45ed60461f107841372bb1ce2ba5913e8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /509/CH3/EX3.4/3_4.sci | 73d81dbd0d3fe67c337068f5ba85e98d48cf4132 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,628 | sci | 3_4.sci | // Chapter 3 Example 4//
clc
clear
//base powers of generators be m1,m2,m3 and base voltages be v1,v2,v3,secondary voltage=v//
v=132;
m1=100;// in MVA//
v1=11; // in kV//
m2=150;
v2=16;
m3=200;
v3=21;
//reactance of generator 1,2,3 are x1,x2,x3 respectively and X1,X2,X3 are the new reactances//
x1=0.25// in... |
d13e9b99053598830f78c5b2f264431d7dd86f00 | ebd4548d44d72b237371e08dd7feffa1739dbd92 | /solve_qp.sci | 5c33106fc4f1aca56567099d98933e1aa1b9b4b2 | [] | no_license | JeroenDM/scilab | 23a44dec9fa47956f0ec64396f82943f4efeac8f | 2b05ae5a05023a1d6e4c6c357fb20b5bc6250156 | refs/heads/master | 2021-01-11T15:44:28.911399 | 2017-01-24T14:31:46 | 2017-01-24T14:31:46 | 79,917,765 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 427 | sci | solve_qp.sci | function [x, mu] = solve_qp(P, q, A, b)
// solve a quadric program with linear equality constraints and P > 0
n = size(A, 2); // number of variables
m = size(A, 1); // number of equality constrains
// construct kkt matrix
KKT = [P A'; A zeros(m, m)];
// Solve KKT system
sol = KKT \... |
52140f952e63e58d4324ac3f83551cfdc5fd38cb | 449d555969bfd7befe906877abab098c6e63a0e8 | /770/CH4/EX4.9/4_9.sce | dd442825c311169ef44aff6036134ebdaf3b19ac | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,301 | sce | 4_9.sce | clear;
clc;
//Example - 4.9
//Page number - 160
printf("Example - 4.9 and Page number - 160\n\n");
//Given
P_1 = 1;//[MPa] - Initial pressure
T_1 = 200 + 273.15;//[K] - Initial temperature
P_2 = 8;//[MPa] - Final pressure
Y = 1.4;// Index of expansion of gas
R = 8.314;//[J/mol-K] - Universal gas constant
... |
0cef7b6fb21d3223c7825a81fe30712b5b87ca88 | 449d555969bfd7befe906877abab098c6e63a0e8 | /199/CH3/EX3.3/Example_3_3.sce | 0d25b25ea873d30a975ea436ce5b3027e19311d5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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,114 | sce | Example_3_3.sce | // Chapter3
// Page.No-86, Figure.No-3.8
// Example_3_3
// Parameters of voltage-shunt feedback amplifier
// Given
clear;clc;
R1=470;Rf=4.7*10^3;
A=200000; // Open-loop voltage gain
Ri=2*10^6;// Input resistance without feedback
Ro=75; // Output resistance without feedback
fo=5; // Break frequency of an Op-a... |
9802703ebcdd2e696d2358e2a40d27c5839030b9 | c7c0836420b1440812466e25f2fb15dc41ae6e3c | /macros/SOCKET_pause.sci | e04231f9997d973a03d8ebff14257f82cb5c6c03 | [] | no_license | sengupta/scilab-socket | b13ba613a88e334ec1e2a35fed320d8908de1399 | 3da2794dc38caa2593928cac0a734ad3ea9f3b19 | refs/heads/master | 2016-09-03T06:54:50.197439 | 2012-04-03T11:25:22 | 2012-04-03T11:25:22 | 3,917,275 | 2 | 2 | null | null | null | null | UTF-8 | Scilab | false | false | 226 | sci | SOCKET_pause.sci | // path=SCI+"/contrib/SOCKET/help/";
// txt = help_skeleton("SOCKET_pause",path)
function SOCKET_pause(delay_s)
my_delay=0;
u=timer();
while(my_delay<delay_s) then,
my_delay=my_delay+timer();
end;
endfunction |
433ffe14315fbe06edef645ef49d5f42ba038024 | 449d555969bfd7befe906877abab098c6e63a0e8 | /67/CH8/EX8.8/example88.sce | 1891ea27c89b62d5578b858abd4eeda6b0cd9643 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 141 | sce | example88.sce | //Example 8.8
//Compute 4-point DFT of the sequence x[n]=cos(n*pi/4)
clc;
n=0:3;
pi=22/7;
x=cos(n*pi/4);
X=fft(x,-1);
disp(X,'X[k]='); |
5cbbe48b465bf09cf055476e9e79982136b6d1d6 | 84e4405f182c8a71ed4737063cc0474c432149f1 | /Labovi/LV3/zad3.sce | e24b2939286ea2811f7af76ab7b12a2852cef0c8 | [] | no_license | Leon-Zhaohw/NA | 0f8080fcc4958af4ebf5daced11a6d01c27e3ece | 0f1d30cfe13d5447b775698a93cf01cc1c8d15ac | refs/heads/master | 2021-06-15T11:20:41.484070 | 2017-01-29T01:10:43 | 2017-01-29T01:10:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 298 | sce | zad3.sce | xdata1 = linspace(0, 2 * %pi, 10);
ydata1 = sin(xdata1);
xx1 = linspace(0, 2 * %pi, 50);
= splin(xdata1, ydata1, "clamped", -cos(x));
res1 = splin(xdata1, ydata1, "not_a_knot");
[yy1] = interp(xx1, xdata1, ydata1, d);
subplot(2, 2, 1);
plot(x1, y1);
//subplot(2, 2, 2);
//subplot(2, 2, 3);
|
2828a7b30476432a301d34b1e1e69222ca561deb | 449d555969bfd7befe906877abab098c6e63a0e8 | /3250/CH4/EX4.5/Ex4_5.sce | 497435ea5feac0ed9ca354ad226e759d9e617241 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 653 | sce | Ex4_5.sce | clc
// Given that
t1 = 0.25 // Uncut thickness in mm
w = 2.5 // Width of cut in mm
U_0 = 1.4 // In J/mm^3
alpha = 0 // Rake angle in degree
mu = 0.5 // Cofficient of the friction
T_s = 400 // Shear stress in N/mm^2
// Sample Problem 5 on page no. 196
printf("\n # PROBLEM 4.5 # \n")
lambda = atand(mu)
Fc = 1000*(t1*w*U... |
b754d2c185a213796c9f09257c5dfbca8b94349f | 449d555969bfd7befe906877abab098c6e63a0e8 | /1802/CH3/EX3.1/Exa3_1.sce | 3daaa258b392f19179e3fd2b1a831914b967ebe5 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 459 | sce | Exa3_1.sce | //Exa 3.1
clc;
clear;
close;
//Given Data :
format('v',6);
m=1/10;//unitless
EL=66;//in KV
E=EL/sqrt(3);//in KV
//Formula : E=E1+(11/10)*E1+(131/100)*E1+(1651/1000)*E1=(5061/1000)*E1
E1=E*(1000/5061);//in KV
disp(E1,"E1(in KV) :");
E2=E1*(11/10);//in KV
disp(E2,"E1(in KV) :");
E3=E1*(131/100);//in KV
dis... |
c575d3fedf787bfda132f4dd868eaaf8e2dbff1a | 7ad0d60cf81a6a597c854f34eb8e4d0f0238449f | /Controle/T1/Código/V1/csim.sce | bbecf5b9be4d769dcc3de7685724dae441703314 | [] | no_license | Lucas-Okamura/Poli-USP | 83c5bf59a8d1f04215db1caeb3898a2394c0797c | 2875cd8e0f3a2549f0461d0256cf5e8cc24d204c | refs/heads/master | 2023-06-07T21:29:13.123960 | 2021-06-23T21:59:01 | 2021-06-23T21:59:01 | 304,692,746 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,150 | sce | csim.sce | // Definição das condições iniciais
x0 = [5;5;5;5]
// Definição do intervalo de tempo
t0 = 0
tf = 200
n = 1000
t = linspace(t0,tf,n)
// Sistema linear
C = [[1,0,0,0];
[0,1,0,0];
[0,0,1,0];
[0,0,0,1]]
D = [[0,0];
[0,0];
[0,0];
[0,0]]
sl = syslin('c',A,B,C,D)
h = ss2tf(sl)
scf(4)
plzr(sl)
... |
2052582c2ae1ded87e8b8265bd12c823a1baa4b5 | 449d555969bfd7befe906877abab098c6e63a0e8 | /149/CH22/EX22.3/ques3.sce | 82c73a6e62e4c4cff0f35cfbd7b55d52d16de4cd | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 208 | sce | ques3.sce | //error
//ques3
disp('To find the fourier transform of given function ');
syms x s
F=integ(exp(%i*s*x)*(1-x^2),x,-1,1);
disp(F);
//produces error->
F1=integ((x*cos(x)-sin(x))/x^3*cos(x/2),x,0,%inf);
|
5f3bfab3806170d7e55f3cf241f23fcab70ba81e | 449d555969bfd7befe906877abab098c6e63a0e8 | /1739/CH3/EX3.16/Exa3_16.sce | 4c54a58c95a44b89b86cf85516115c81a798fc6f | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 258 | sce | Exa3_16.sce | //Exa 3.16
clc;
clear;
close;
//Given data :
n1=1.46;//unitless
n2=1.45;//unitless
Rcm=84;//in um
Rcm=Rcm*10^-6;//in meter
lambda=Rcm*4*%pi*(n1^2-n2^2)^(3/2)/(3*n1^2);//in meter
disp(lambda*10^6,"Wavelength of transmitted light in micro meter : "); |
7c2b342350571effbf4e8a61da8d20f473a6cc48 | 449d555969bfd7befe906877abab098c6e63a0e8 | /995/CH3/EX3.1/Ex3_1.sce | 977b21d06168bbcb596fd01bb3c62007c8efff44 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 165 | sce | Ex3_1.sce | //Ex:3.1
clc;
clear;
close;
i1=1.5;
i2=2.7;//in amp.s
i5=i1+i2;
i4=3.3;
i3=i4+i5;
printf("Current b/w A & B = %f A",i5);
printf("\n Current I3 = %f A",i3); |
5079b5bb89822b8f01d04853e5024037acc84c6c | 449d555969bfd7befe906877abab098c6e63a0e8 | /2339/CH8/EX8.31.1/Ex8_31.sce | ac48187d0d18d7a8176988027d33489a7ea47e5c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 429 | sce | Ex8_31.sce | clc
clear
D=0.15;
L=0.3;
P1=1;
T1=27+273;
P2=8;
N=120;
G=1.4;
R=0.287;
Vs=(22/7)*(1/4)*D*D*L;
m=[P1*100*Vs]/[R*T1];
printf('Mass of air compressed per cycle: %3.4f kJ/cycle ',m);
printf('\n');
W=[G/(G-1)]*[P1*100*Vs]*[((P2/P1)^((G-1)/G))-1];
printf('Work required per cycle: %3.3f kJ/cycle ',W);
pr... |
fafc8138b2fa8890a75a664844d1a5fcf184dff2 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3681/CH8/EX8.2/Ex8_2.sce | 215ef0c875b8857c1bdd2bc1dcd5fe2bf3ffd4fb | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 771 | sce | Ex8_2.sce | // Calculating the stress on the ring
clc;
disp('Example 8.2, Page No. = 8.8')
// Given Data
rpm = 3000;// Speed in r.p.m.
Rm = 0.35;// Radius of overhang (in meter)
Rmr = 0.49;// Radius of ring (in meter)
G = 300;// Weight of copper winding (in kg)
gr = 7800;// Density of ring material (in kg per meter cube)
... |
eea5890466cbd329df90e5b0c6234fed40d1f564 | 217afc33663ba0533cf6775c45d12223f5616fc0 | /Scilab/OracleDG.sci | aa559b01f54bbdf64654928e0ff64237d1335ac8 | [] | no_license | VIsh76/Optimisation | b30fd593006cdd89f1d0510f9f9123a3fb5db1eb | 29e8ee916e53fcc5b6244de837982b8d258e531b | refs/heads/master | 2021-01-18T16:02:22.233606 | 2017-05-11T14:33:43 | 2017-05-11T14:33:43 | 84,542,502 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 387 | sci | OracleDG.sci | function [F,G,ind]=OracleDG(lambda,ind)
F=0;
G=0;
x = Ar'*pr+Ad'*lambda
q = sign(-x./r).*sqrt(abs(x./r))
y = r.*q.*abs(q);
z = Ar'*pr+Ad'*lambda;
if ind==2 then
F= -( (1/3)*q'*y+(q'*z)-fd'*lambda);
elseif ind==3 then
G= -Ad*q+fd;
elseif ind==4 then
F= -( (1/3)... |
1a7ea8a5dd23be154f51cf0a255c6355566391a7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /650/CH7/EX7.7/7.sce | 6a6f60710eacdaa15966bad113c8de726523014e | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 170 | sce | 7.sce | clc;
Cd=0.56;
B=1.2; // m
g=9.8; // m/s^2
H=0.018; // m
Q=2/3*Cd*B*sqrt(2*g)*H^(3/2);
disp("The rate of flow of liquid over the weir is ")
disp(Q)
disp("m^3/h") |
274d311766bfe109a1348c17dbeab8a903ecc82d | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.7_12.tst | fa98be868f978bcdd841694103f7d68a036c97da | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 27,015 | tst | bow.7_12.tst | 7 4:0.1 12:0.3333333333333333 13:0.16666666666666666 18:0.6666666666666666 22:0.1 26:0.5 27:1.0 30:1.0 32:0.3333333333333333 44:1.0 49:0.3333333333333333 52:1.0 65:0.037037037037037035 66:1.0 78:0.6666666666666666 86:1.0 143:1.0 145:1.0 198:1.0 241:1.0 242:0.058823529411764705 249:0.2857142857142857 260:1.0 286:2.0 296... |
2519fc390216e5ed200a11fc3dacc69678345f07 | 449d555969bfd7befe906877abab098c6e63a0e8 | /52/CH5/EX5.6/Example5_6.sce | 0c8717271a1f8622036bb1ac6c262776706d18c7 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 290 | sce | Example5_6.sce | //Example 5.6
//To Find out the order of the Filter using Chebyshev Approximation
clear;
clc ;
close ;
ap=3;//db
as=16;//db
fp=1000;//Hz
fs=2000;//Hz
op=2*%pi*fp;
os=2*%pi*fs;
N=acosh(sqrt((10^(0.1*as)-1)/(10^(0.1*ap)-1)))/acosh(os/op);
disp(ceil(N),'Order of the filter, N ='); |
1cd63e7c601f9fb37e8a3cfb4dbb284f7b536c10 | 449d555969bfd7befe906877abab098c6e63a0e8 | /3472/CH17/EX17.22/Example17_22.sce | e3c2ce1aac0ab66bc1d759299546db20702d718c | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | Example17_22.sce | // A Texbook on POWER SYSTEM ENGINEERING
// A.Chakrabarti, M.L.Soni, P.V.Gupta, U.S.Bhatnagar
// DHANPAT RAI & Co.
// SECOND EDITION
// PART II : TRANSMISSION AND DISTRIBUTION
// CHAPTER 10: POWER SYSTEM STABILITY
// EXAMPLE : 10.22 :
// Page number 306
clear ; clc ; close ; // Clear the work space and con... |
be5787ccd4b007959f5de8472ab5417e719ac0c7 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1997/CH2/EX2.2/example2.sce | 29e6da81baf3dc62d087f9df7b66710a122c27c0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 887 | sce | example2.sce | //Chapter-2 example 2.2
//=============================================================================
clc;
clear;
Pt=5000; //Peak tx power in watts
Pav=1000; //Average Power
PRF1 = 10; //Pulse repetition frequency in khz
PRF2 = 20; //Pulse repetition frequency in khz
//Calculations
D=Pav/Pt;//Duty cyc... |
d77b181bc551e3a057ffcef835da731854121602 | 39c5c468df5e2bde0147a30cf092fc8da3e7ed3e | /UFRGS/calcNumerico/area2/P2_numerico_oberdan/M8 - Minimos_Quadrados/M8-Q6 - minimos-quadrados-kx.sce | 884a00ba3e0cb6c3e6ac7851cee357c75969ff57 | [] | no_license | andredxc/Files | 9dffc9fe5f7e923b83035d794dfa15c930cdb898 | e32309b9ab548b829b04be66c2776cf9c9c6656e | refs/heads/master | 2021-06-03T10:44:01.606242 | 2020-09-21T15:39:48 | 2020-09-21T15:39:48 | 107,410,076 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 72 | sce | M8-Q6 - minimos-quadrados-kx.sce | clear //q6
x=[-2:0.1:2]'
b=exp(x/12)-1
A=[x^1]
k=(A'*A)\(A'*b)
disp(k)
|
25214b7fcb6c607c8a883cf60861c4005d0440b1 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1784/CH35/EX35.1/example1.sce | ef1cccfc020e721d1964a0b7e69da2498611a1a0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 604 | sce | example1.sce | //chapter 35
//example1
clc
//given
l=1.0 //length of solenoid in meter
r=3*10^-2 //radius of solenoid in meter
n=200*10^2 //number of turns in solenoid per meter
u0=4*%pi*10^-7 //in weber/amp-m
i=1.5 //current in amp
N=100 //no.of turns in a close packed coil placed at the center of solenoid
d=2*10^-2 //diam... |
e9ab3e4e9b8e7a4670eb7bf58ef75c060221676d | 449d555969bfd7befe906877abab098c6e63a0e8 | /2132/CH3/EX3.22/Example3_22.sce | 6ff9e701da879dad70d54daf464e2bfcd6a1f613 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 455 | sce | Example3_22.sce | //Example 3.22
clc;
clear;
close;
format('v',7);
//Given data :
A=2*1;//m^2
xbar=2+2/2;//meter
w=9.81;//kN/m^2
PH=w*A*xbar;//kN
disp(PH,"Horizontal component of resultant Pressure in kN : ");
PV=w*[2*2+2*2-%pi*2^2/4]*1;//kN
disp(PV,"Verticalal component of resultant Pressure in kN : ");
P=sqrt(PH^2+PV^2);/... |
b4d63d7011816cb7bf3e1b1fbd3f176bbf337648 | 8217f7986187902617ad1bf89cb789618a90dd0a | /source/2.5/macros/scicos/do_SaveAs.sci | c0970b87ef0dd595bd18f9ca22203ff2f5862158 | [
"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 | 1,852 | sci | do_SaveAs.sci | function [scs_m,edited]=do_SaveAs()
//
// Copyright INRIA
tit=['For saving in binary file use .cos extension,';
'for saving in ascii file use .cosf extension']
fname=xgetfile('*.cos*',emptystr(),tit)
if fname==emptystr() then return,end
[path,name,ext]=splitfilepath(fname)
select ext
case 'cos' then
ok=%t
frmt... |
c1ee9c9fec108aa8962aa4e3f9ec5a29006e6218 | 0ae5ae9c08787d2f7c6b2c038618e152e157f553 | /Scripts/InsertHalfYear.tst | e350efb1bd96157100bc5b6332eb1494ab68cc74 | [] | no_license | piltatnik/CustomReports | ba8507d929adb23d8f3820d70f095f15802401fc | 2019cdc49bdf56b7beb46df9db3d76df142a1827 | refs/heads/master | 2021-09-13T14:48:10.824111 | 2018-05-01T11:45:23 | 2018-05-01T11:45:23 | 107,878,933 | 0 | 0 | null | null | null | null | WINDOWS-1251 | Scilab | false | false | 3,148 | tst | InsertHalfYear.tst | PL/SQL Developer Test script 3.0
78
DECLARE pPassBeginDate DATE := to_date('30.11.2017 3:00:00', 'dd.mm.yyyy HH24:MI:SS');
pPassEndDate DATE := to_date('01.12.2017 3:00:00', 'dd.mm.yyyy HH24:MI:SS');
BEGIN
/*DROP TABLE tmp$cptt_buffer_halfyear;
CREATE TABLE tmp$cptt_buffer_halfyear(ID NUMBER(38),
... |
5fa22af8a78c616eeb83b6fcebf214eed3c10793 | dc1af20bca10db33d1adcbf61d5fe874eb6eab07 | /large_vcm/large_vcm/environment/TEST0293/TEST0293.tst | 4e9bf5b26344d0e9e2818f367d8317eb742ca72b | [] | no_license | TimSVector/PointOfSales_v2 | 2d1130516cfc5d77f2e5d0f60adcde96374f6fc2 | ef630f05850715568725cf94cc0e497146a049d4 | refs/heads/master | 2023-08-04T10:51:50.031346 | 2023-08-03T20:50:28 | 2023-08-03T20:50:28 | 133,404,783 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 62,630 | tst | TEST0293.tst | -- VectorCAST 22.sp8 (01/31/23)
-- Test Case Script
--
-- Environment : TEST0293
-- Unit(s) Under Test: manager
--
-- Script Features
TEST.SCRIPT_FEATURE:C_DIRECT_ARRAY_INDEXING
TEST.SCRIPT_FEATURE:CPP_CLASS_OBJECT_REVISION
TEST.SCRIPT_FEATURE:MULTIPLE_UUT_SUPPORT
TEST.SCRIPT_FEATURE:REMOVED_CL_PREFIX
TEST.SCRIPT_FE... |
9859f8d64eda6f3cd54b7fcdda2b274ad75c7426 | 089894a36ef33cb3d0f697541716c9b6cd8dcc43 | /NLP_Project/test/tweet/bow/bow.10_11.tst | 36d32b9e8c003580e23243b6cf5fecf01babb0c1 | [] | no_license | mandar15/NLP_Project | 3142cda82d49ba0ea30b580c46bdd0e0348fe3ec | 1dcb70a199a0f7ab8c72825bfd5b8146e75b7ec2 | refs/heads/master | 2020-05-20T13:36:05.842840 | 2013-07-31T06:53:59 | 2013-07-31T06:53:59 | 6,534,406 | 0 | 1 | null | null | null | null | UTF-8 | Scilab | false | false | 15,789 | tst | bow.10_11.tst | 10 26:0.2 101:0.14285714285714285 130:0.25 445:1.0 763:1.0 1156:1.0
10 30:1.0 47:1.0 48:1.0 101:0.14285714285714285 191:0.25 239:1.0 313:1.0 605:0.5 653:1.0 654:1.0 660:1.0 2066:1.0
10 5:0.5 46:0.16666666666666666 73:0.2 101:0.14285714285714285 220:0.5 925:1.0
10 39:0.09090909090909091 48:1.0 72:2.0 191:0.5 2233:1.0
10... |
d7dffca7100f3bf9ad23df07a7d588697e15a87d | a62e0da056102916ac0fe63d8475e3c4114f86b1 | /set7/s_Electronic_Measurements_And_Instrumentation_P._Sharma_876.zip/Electronic_Measurements_And_Instrumentation_P._Sharma_876/CH7/EX7.1/Ex7_1.sce | 19b16937a80b35a180f8e76172d445e72ef45ecb | [] | 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 | 157 | sce | Ex7_1.sce | errcatch(-1,"stop");mode(2);//caption:convert 1101 into decimal
//Ex7.1
decimal=1*2^3+1*2^2+0*2^1+1*2^0
disp(decimal,'decimal conversion=')
exit();
|
70215b0d2d72de6329d1d0272a741ab25bdff7d4 | 449d555969bfd7befe906877abab098c6e63a0e8 | /1442/CH4/EX4.5/4_5.sce | 00c3fb0628a9c1a33d074ea3eecb12145f8cadd8 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 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 | 4_5.sce | clc
//initialisation of variables
vf= 0.001404 //m^3/kg
x= 0.8
vg= 0.02167 //m^3/kg
uf= 1332 //kJ/kg
ug= 1231 //kJ/kg
hf= 1344 //kJ/kg
hg= 1404.9 //kJ/kg
//CALCULATIONS
v= vf+x*(vg-vf)
u= uf+x*ug
h= hf+x*hg
//RESULTS
printf ('volume = %.5f m^3/kg',v)
printf ('\n internal energy = %.1f kJ/kg',u)
printf (... |
7720e53e1b2ce43c58fa05a8b1ae866d04777adf | a8392820bef2e8fe1ff5fb93c9bdb6b782f6a970 | /Assignment 1/Code/blocking probability.sce | d6aa531200a4b8f31924aaf32de736609de520d0 | [] | no_license | debarnab-mitra/Wireless-and-Mobile-communication | 0704c8bd7a6f752d13e263f1a2e8f67394a5a01a | 49d305f7f70ff1cec2d8b6394a66ca8e97da1b3e | refs/heads/master | 2020-04-02T20:48:34.115870 | 2018-10-26T05:06:27 | 2018-10-26T05:06:27 | 154,779,847 | 0 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 1,960 | sce | blocking probability.sce | //Defining system parameters
lambda = 1;
mu = 1/120;
block_prob = [0,0,0,0,0,0,0];
N = [80,90,100,110,120,130,140];
for num_of_N = 1:7
block_count = 0;
//As the arrival is a Poisson process of parameter(lamda) the
//interarrival times are exponential with parameter lamda
//Thus genrating the inter a... |
3489500d0cdef3a544eb345185a21cfcf1cba790 | 9bc415d58bf063a1bca303fea640e644333dbdbd | /Scilab/Sinais_e_Sistemas/Trans_bilinear.sci | 29ccd663bd64b5635b0aafa45e8f7646905ea09a | [] | no_license | Roast-Lord/SMGcodes | 36e55be6c1cc17af91ab2e3f5117c78684f20604 | b75107be829fb4373dc1bc4b8696fe4b9cec437a | refs/heads/main | 2023-07-05T05:25:50.557705 | 2021-08-17T17:46:25 | 2021-08-17T17:46:25 | 301,012,145 | 1 | 0 | null | null | null | null | UTF-8 | Scilab | false | false | 2,221 | sci | Trans_bilinear.sci | function Hq=Trans_bilinear(f0,Q,fs)
N=1024;
Ts=1/fs;
s=poly(0,'s');
z=poly(0,'z');
q=poly(0,'q');
f0d=f0/fs;
w0d=2*%pi*f0d;
wa=2/Ts*tan(w0d/2)
fa=wa/(2*%pi);
a = wa/(2*Q);
b = sqrt(wa^2-a^2);
Hs=wa^2/(s^2+(2*a)*s+wa^2);
[Hw fw]=Resposta_Frequencia_Hs(H... |
11489cd1e026bd0852588abb3c51e9884181c6e8 | 9cb37875b74a713c93c09fa50ccc70ac0f71ecdb | /CostHriFunction/Adero/ADERO_Scenarii/First.sce | 44f3c85a3170a407495889667428d69f980ba5bc | [] | 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 | 5,731 | sce | First.sce | #************************************************************
# Scenario of Ikea
#
# date : Mon Oct 4 17:51:12 2010
#************************************************************
p3d_sel_desc_name P3D_ENV Ikea
p3d_sel_desc_name P3D_ROBOT HUMAN_ACHILE
p3d_set_robot_steering_method Linear
p3d_set_robot_current 0.00... |
8716c39aba97ac540c7ab324071ed4ec893d5bc8 | 449d555969bfd7befe906877abab098c6e63a0e8 | /2216/CH10/EX10.3/ex_10_3.sce | 1a6b4f47721a5e7f70ea1ed83f0254b178889ac0 | [] | no_license | FOSSEE/Scilab-TBC-Uploads | 948e5d1126d46bdd2f89a44c54ba62b0f0a1f5e1 | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df | refs/heads/master | 2020-04-09T02:43:26.499817 | 2018-02-03T05:31:52 | 2018-02-03T05:31:52 | 37,975,407 | 3 | 12 | null | null | null | null | UTF-8 | Scilab | false | false | 586 | sce | ex_10_3.sce | //Example 10.3;output signal power and overall gain
clc;
clear;
close;
format('v',6)
disp("part (a)")
psin=1*10^-6;//in watts
ppin=1;//in watts
gr=5*10^-14;//mW^-1
ap1=60*10^-12;//m^2
l=2000;//meter
asdb=0.15;//dB/km
as=3.39*10^-5;//m^-1
apdb=0.20;//db/km
ap=4.50*10^-5;//m^-1
z=(1-exp(-ap*l))/ap;//
y=(gr/ap1);//
y1=z*y... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.